NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: what network device to use?



reed%reedmedia.net@localhost ("Jeremy C. Reed") writes:

>ifconfig vlan0 vlan 0 vlanif re0
>ifconfig: SIOCSETVLAN: Invalid argument

Valid VLAN ids are 1-4094. VLAN 0 and 4095 are reserved numbers.

>(0x8100), length 60: vlan 0, p 0, ethertype IPv4, 176.65.149.186.40713 > 

The VLAN tag includes the VLAN id and a priority.

A VLAN id 0 is used to tag a packet with only a priority, otherwise
it is supposed to be treated like an untagged packet.

Our vlan driver doesn't handle this itself. Our ethernet code instead
strips the tag and passes the packet through to normal processing.

I don't think that we can send such packets but your uplink
_should_ also accept untagged packets.



Home | Main Index | Thread Index | Old Index