From owner-freebsd-hackers Tue Sep 4 14:30:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from seven.Alameda.net (seven.Alameda.net [64.81.63.137]) by hub.freebsd.org (Postfix) with ESMTP id E588037B405 for ; Tue, 4 Sep 2001 14:30:15 -0700 (PDT) Received: by seven.Alameda.net (Postfix, from userid 1000) id B1B063A24E; Tue, 4 Sep 2001 14:30:15 -0700 (PDT) Date: Tue, 4 Sep 2001 14:30:15 -0700 From: Ulf Zimmermann To: Leo Bicknell , Ulf Zimmermann , hackers@FreeBSD.ORG Subject: Re: Question about VLAN dot1q tagging in FreeBSD Message-ID: <20010904143015.C31175@seven.alameda.net> Reply-To: ulf@Alameda.net References: <20010904141906.B31175@seven.alameda.net> <20010904172450.A52029@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010904172450.A52029@ussenterprise.ufp.org>; from bicknell@ufp.org on Tue, Sep 04, 2001 at 05:24:50PM -0400 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.3-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Sep 04, 2001 at 05:24:50PM -0400, Leo Bicknell wrote: > On Tue, Sep 04, 2001 at 02:19:06PM -0700, Ulf Zimmermann wrote: > > Last night I setup dot1q tagging again on another machine and had > > the same problem. Looking into packets sent down the trunk, I saw > > that VLAN 1 wasn't tagged (I assume the dot1q spec tells so that > > VLAN 1 packets aren't tagged, while other VLANs are). If this is > > right, I think we should mention this in the man page. Here is a > > copy of the current man page of ifconfig in regards to VLAN: > > It is slightly more complicated. 802.1q allows a single, untagged > vlan to operate across a link for compatability reasons, and calls > it the 'default' VLAN. There is no requirement that it be VLAN 1. > That is, you could set the default vlan to be 10 on both sides, > and tag all the rest (including 1). You could also set vlan 1 on > one side, and vlan 10 on the other, and they would be bridged > together. Cisco devices warn when you do this (via CDP, it must > be enabled). All the documentation I have read lately seemed to indicated that VLAN 1 is the one to be present, but I haven't read the dot1q spec (time to do that (: ). > > Convention seems to be that vlan 1 is the 'default vlan' on almost > all devices. > > Having better notes in a man page would be good. We should at least put a note into the man about it, different wording when what I had posted. I haven't checked the handbook lately, but every time I mention dot1q tagging and FreeBSD, I seem to find someone who says the documentation about it is very sparse. We might want to review that too. I personal use it for lab setups I have done at home (been trying to CCIE, but right now I am having a grudge against Cisco and their supposely high quality about the tests (Lab protoctor showed up late, didn't give the lost time at the end, errors in the documentation of the lab, no reply from the CCIE program so far)). > > -- > Leo Bicknell - bicknell@ufp.org > Systems Engineer - Internetworking Engineer - CCIE 3440 > Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org > -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message