[VLAN] Re: newbie question on enabling vlan feature in the driver

Ben Greear greearb at candelatech.com
Wed Mar 14 14:20:19 PST 2007


kmk wrote:
> Ben
> 
> On the arm side, in my driver, I cast skb->data to vlan_ethhdr and 
> dumping it
> from hard_xmit and receive routines. I don't see correct h_vlan_proto value.
> I see only 0x806 and 0x800 when I ping from either direction. I tried
> both small packets and large packets (512, 1496).

Did you stop writing to the vlan register?

> On the PC, I used ethereal to sniff the physical interface and again I don't
> see vlan tags in both ping requests/responses and in ARP queries.

Intel NICs eat the vlan tags, as previously mentioned, so you won't
see tags there.  Use a third machine to sniff the network using
a hub..don't configure any vlan devices on that machine, and you should
see vlan tags as expected.

Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Vlan mailing list