|
From: Jan J. K. <ja...@ni...> - 2010-04-01 08:59:14
|
Fabian Knittel wrote:
> Peter Stuge schrieb:
>
>> Fabian Knittel wrote:
>>
>>> + if (ntohs (vlanhdr.tpid) != OPENVPN_ETH_P_8021Q)
>>> + {
>>> + /* Drop untagged frames */
>>> + goto err;
>>> + }
>>>
>> It would be nice to be able to use VID 0 to mean untagged packets.
>>
>
> 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 ...
For more details, see http://www.javvin.com/protocolVLAN.html
cheers,
JJK
|