Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2004 21:21:03 +0300
From:      "Lenar D. Tukhvatullin" <blackv@netroad.ru>
To:        Mike Tancsa <mike@sentex.net>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: Yes it did the trick - Re[3]: Re[2]: em0, VLAN and bpf(?) trouble w/RELENG_5
Message-ID:  <20041113182103.GA43222@proxy.netroad.ru>
In-Reply-To: <6.1.2.0.0.20041113113942.10365d88@64.7.153.2>
References:  <Pine.NEB.3.96L.1041111133336.96784D-100000@fledge.watson.org> <Pine.NEB.3.96L.1041113123552.42140R-100000@fledge.watson.org> <6.1.2.0.0.20041113113942.10365d88@64.7.153.2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 13, 2004 at 12:05:30PM -0500, Mike Tancsa wrote:
> I am able to create and use VLANS and putting the nic or the vlan interface 
> into promisc mode does not break the passing of packets.

And what about bridging?

Can you test bridging beetween vlan and another physical interface,
for example:

em1 - another physical interface, not connected to wire
172.16.0.0/24 - network in vlan (tag 100)
172.16.0.1 - remote host in this vlan

# ifconfig em0 up
# ifconfig vlan0 create
# ifconfig vlan0 vlan 100 vlandev em0
# ifconfig vlan0 up

# ifconfig em1 172.16.0.2 netmask 255.255.255.0

# kldload bridge
# sysctl net.link.ether.bridge.config="vlan0 em1"
# sysctl net.link.ether.bridge.enable=1

Pinging remote host:

$ ping 172.16.0.1

--
Lenar D. Tukhvatullin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041113182103.GA43222>