Hi, Gert Doering schrieb: > On Thu, Apr 01, 2010 at 10:59:05AM +0200, Jan Just Keijser wrote: >>> Hm, nice idea. I'll implement it in my next round of patches. >>> >> FYI: 802.1Q defines VLAN 1 as the 'native' LAN: all packets on VLAN 1 >> are *by definition* not encapsulated (according to my CCNA guide ;-)) >> VID 0 means "priority frames" >> Perhaps we need to make sure that VID 1 means untagged ... > > Different vendors handle this differently - on Cisco, for example, > you can make vlan 1 tagged and have the "native" VLAN on a port > (= untagged transmissions) on a different VID. > > So you can't rely on "VID 1 = untagged".
The current patch-set uses VID 1 = untagged as default (in "vlan-accept all" or "vlan-accept untagged" mode). Setting "vlan-pvid VID" in global context allows you to change this though. Cheers Fabian
signature.asc
Description: OpenPGP digital signature