Yes it did the trick - Re[3]: Re[2]: em0, VLAN and bpf(?)
trouble w/RELENG_5
Lenar D. Tukhvatullin
blackv at netroad.ru
Sat Nov 13 10:21:09 PST 2004
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
More information about the freebsd-current
mailing list