From owner-freebsd-hackers Tue Sep 4 14:24:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by hub.freebsd.org (Postfix) with ESMTP id 74E3237B40B for ; Tue, 4 Sep 2001 14:24:52 -0700 (PDT) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id f84LOoe52170; Tue, 4 Sep 2001 17:24:50 -0400 (EDT) (envelope-from bicknell) Date: Tue, 4 Sep 2001 17:24:50 -0400 From: Leo Bicknell To: Ulf Zimmermann Cc: hackers@FreeBSD.ORG Subject: Re: Question about VLAN dot1q tagging in FreeBSD Message-ID: <20010904172450.A52029@ussenterprise.ufp.org> Mail-Followup-To: Leo Bicknell , Ulf Zimmermann , hackers@FreeBSD.ORG References: <20010904141906.B31175@seven.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010904141906.B31175@seven.alameda.net>; from ulf@Alameda.net on Tue, Sep 04, 2001 at 02:19:06PM -0700 Organization: United Federation of Planets 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 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). 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. -- Leo Bicknell - bicknell@ufp.org Systems Engineer - Internetworking Engineer - CCIE 3440 Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message