Disabling VLAN_HWTAGGING

Jacob S. Barrett jbarrett at amduat.net
Tue Mar 30 12:55:09 PST 2004


On Tuesday 30 March 2004 11:48 am, Ruslan Ermilov <ru at freebsd.org> wrote:
> On Tue, Mar 30, 2004 at 11:19:00AM -0800, Jacob S. Barrett wrote:
> > Now what have I done wrong.  I noticed this yesterday and I can't figure
> > out what I have done wrong.  VLAN tagged ARP requests coming into if_nge
> > are not visible anymore (tcpdump).  Non VLAN tagged ARP requests are
> > visible.  Debug statements are showing the frame doesn't make it into the
> > driver.
>
> Like I said in another email in this thread, if NIC is doing VLAN
> stripping in firmware, you won't be able to see the original VLAN
> packet with tcpdump(8) in 5.x.  Instead, it will be shown an inner
> Ethernet packet on the physical ("parentdev") interface.  This can
> be fixed.  But neither 4.x nor 5.x will show you the virgin VLAN
> packet on output if the NIC does VLAN insertion in firmware.
Correct, I shouldn't be able to see them with tags, but they should show up in 
tcpdump without the tags just like all the other VLAN frames right?  There 
shouldn't be anything special for ARP requests/replies at the hardware level 
right?

> Hmm, this shouldn't happen.  Perhaps you have a firewall configured
> to run at layer2 that rejects them?

No firewall at all.

> > The same goes for
> > ARP replies.  I can ARP request from the if_nge machine, but the replies
> > get dropped.
>
> If you set ARP entries manually, can you ping each other?

Yes, if I manually enter the MACs the pings work great.

-- 
Jacob S. Barrett
jbarrett at amduat.net
www.amduat.net

"I don't suffer from insanity, I enjoy every minute of it."


More information about the freebsd-net mailing list