From owner-freebsd-net Mon Feb 14 9:55:13 2000 Delivered-To: freebsd-net@freebsd.org Received: from dustdevil.waterspout.com (dustdevil.waterspout.com [208.13.60.151]) by builder.freebsd.org (Postfix) with ESMTP id 4B7EB3DBF; Mon, 14 Feb 2000 09:55:11 -0800 (PST) Received: by dustdevil.waterspout.com (Postfix, from userid 1000) id E163E4B; Mon, 14 Feb 2000 12:55:27 -0500 (EST) Date: Mon, 14 Feb 2000 12:55:27 -0500 From: "C. Stephen Gunn" To: freebsd-net@freebsd.org Cc: wollman@freebsd.org, csg@waterspout.com Subject: Re: 802.1Q VLANs Message-ID: <20000214125527.A14822@dustdevil.waterspout.com> References: <200002031847.NAA62013@khavrinen.lcs.mit.edu> <20000214002142.A12511@dustdevil.waterspout.com> <200002141625.LAA65769@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <200002141625.LAA65769@khavrinen.lcs.mit.edu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Right now untagged traffic (on a mixed link) is presented to the > > upper protocol layers by the parent device. This isn't quite > > kosher since 802.1Q states this should be routed to the "default" > > VLAN for the given interface. > > 802.1Q defines how bridges work, not how operating systems work. Your FreeBSD box is hooked to 802.1Q compliant bridge. It's still true that you could see tagged and untagged frames on the same wire. The only point of running the VLAN code (currently, note- priority support would be nice as well) is to have the lower protocol layers function as a VLAN aware bridge. They forward frames to the correct logical network interface. I believe it appropriate to make the lower protocol layers on FreeBSD comply with the specification for a bridge. This means associating a native VLAN with any trunk interface. Then, routing untagged packets to the specified VLAN interface. This approach unifies the way you should configure your bridge/switch and your FreeBSD Box. This could also force traffic to be routed through the VLAN interfaces not the physical "trunk" device. - Steve -- C. Stephen Gunn URL: http://www.waterspout.com/ WaterSpout Communications, Inc. Email: csg@waterspout.com 427 North 6th Street Phone: +1 765.742.6628 Lafayette, IN 47901 Fax: +1 765.742.0646 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message