Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2000 15:25:32 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, "Pedro J. Lobo" <pjlobo@euitt.upm.es>, freebsd-net@FreeBSD.ORG
Subject:   Re: 802.1Q VLANs
Message-ID:  <200002032025.PAA63379@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.BSF.4.21.0002031454550.479-100000@sasami.jurai.net>
References:  <200002031847.NAA62013@khavrinen.lcs.mit.edu> <Pine.BSF.4.21.0002031454550.479-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 3 Feb 2000 15:04:29 -0500 (EST), "Matthew N. Dodd" <winter@jurai.net> said:

> Humm...  Isn't this going to confuse BPF when its receiving normal
> ethernet headers?

No.  If it's listening on the vlan interface, it will get the
decapsulated packets.  If it's listening on the master interface, it
will get everything.  tcpdump, at least, understands (or can easily be
made to understand) 802.1Q tagging.  The libpcap filter compiler
doesn't actually know about 802.1Q, but it doesn't know about
ifi_hdrlen either!

This is important as a debugging facility.

> I'm not sure we want to have the drivers always accept large
> packets, just because we've compiled a kernel with VLAN devices in it.

Not because we've compiled a kernel with VLAN devices in it; because
we've compiled a kernel with a NIC driver that supports large packets.

-GAWollman



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002032025.PAA63379>