[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-i386/38871: vlans don't work on bge interface
>Synopsis: vlans don't work on bge interface
>Arrival-Date: Thu Jun 05 15:10:00 +0000 2008
>Originator: Alan Barrett
>Release: NetBSD 4.99.63
802.1q vlans do not work properly on bge inetrfaces on NetBSD/i386
Configure multiple vlans on a suitable ethernet switch.
Have some of the switch ports configured to use 802.1q tags.
Connect the "bge0" interface on a NetBSD/i386 host to a
switch port that is configured as a trunk containing multiple
vlans with 802.1q tags.
Cause non-NetBSD hosts to send broadcast packets inside the
Run "tcpdump -i bge0 -lenvv" on the NetBSD host. Observe that
the packets that should have vlan tags do not have vlan tags.
Run "tcpdump -i bge0 -lenvv vlan" on the NetBSD host. Observe that
no packets pass the filter.
Configure a vlan interface on the NetBSD host, via "ifconfig vlan42
create; ifconfig vlan42 vlan 42 vlanif bge0". Run "tcpdump -i vlan42
-lenvv". Observe that no packets apear.
One theory is that the hardware is removing the VLAN tag headers
before the OS can see them. It is possible that the hardware
can be configured not to do this.
System: NetBSD 4.99.63 i386
Main Index |
Thread Index |