Date: Thu, 01 Oct 1998 12:37:46 +0930 From: Leigh Hart <hart@dotat.com> To: freebsd-net@FreeBSD.ORG Subject: Re: 802.1Q VLAN support Message-ID: <199810010307.MAA17458@at.dotat.com> In-Reply-To: Your message of "Wed, 30 Sep 1998 12:23:11 -0400." <199809301623.MAA16321@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Garrett, Garrett Wollman <wollman@khavrinen.lcs.mit.edu> wrote: ... [on if_vlan.c] ... > Not all hardware and drivers are capable of supporting larger packets. > The correct thing is, for those drivers which are able, to so indicate > by setting their ifi_hdrlen to sizeof(struct ether_vlan_header) rather > than sizeof(struct ether_header). You will note the following code > in vlan_config: > > if (p->if_data.ifi_hdrlen == sizeof(struct ether_vlan_header)) > ifv->ifv_if.if_mtu = p->if_mtu; > else > ifv->ifv_if.if_mtu = p->if_data.ifi_mtu - EVL_ENCAPLEN; Is this changing the MTU of the physical interface? > I had originally contemplated implementing this functionality with > subinterfaces (a la Slowaris), but expediency quickly won out, so I > did the thing which avoided any painful work or interface changes. So how does each VLAN appear on the FreeBSD box under your model? Cheers Leigh -- | "By the time they had diminished | Leigh Hart, <hart@dotat.com> | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | 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?199810010307.MAA17458>