From owner-freebsd-net Tue Nov 5 9:46:59 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32CA237B401 for ; Tue, 5 Nov 2002 09:46:58 -0800 (PST) Received: from aker.amduat.net (aker.amduat.net [206.124.149.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B01943E42 for ; Tue, 5 Nov 2002 09:46:57 -0800 (PST) (envelope-from jbarrett@amduat.net) Received: from amduat.net (nat-bhm1.attachmate.com [63.115.16.66]) (authenticated bits=0) by aker.amduat.net (8.12.6/8.12.6) with ESMTP id gA5Hkt3t023759; Tue, 5 Nov 2002 09:46:56 -0800 (PST) (envelope-from jbarrett@amduat.net) Message-ID: <3DC80403.9010908@amduat.net> Date: Tue, 05 Nov 2002 09:46:43 -0800 From: "Jacob S. Barrett" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Barney Wolff Cc: freebsd-net@FreeBSD.ORG Subject: Re: VLAN tag byte swap and chop problem?? References: <3DC7F88B.8090602@amduat.net> <20021105173701.GA45667@tp.databus.com> In-Reply-To: <3DC7F88B.8090602@amduat.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yeah, looks like they are 12 bits. I should I thought of that since the Summit has a range of 0-4095 vlan IDs, which is 12 bits. So that explains the chopping. Now if I can just solve the swapping all should be good! Thanks, Jake Barney Wolff wrote: > Dunno about the byte-order issue, but vlan numbers are not 16-bit > internally > in Cisco gear. 12 bits, I think, or even 10. That explains the > chopping, at least. > -- Jacob S. Barrett jbarrett@amduat.net www.amduat.net "I don't suffer from insanity, I enjoy every minute of it." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message