From owner-freebsd-net@FreeBSD.ORG Sat Nov 3 22:35:15 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 706B716A421 for ; Sat, 3 Nov 2007 22:35:15 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 288C613C48D for ; Sat, 3 Nov 2007 22:35:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 0507E53F6; Sun, 4 Nov 2007 11:18:32 +1300 (NZDT) Date: Sun, 4 Nov 2007 11:18:32 +1300 From: Andrew Thompson To: Ivo Vachkov Message-ID: <20071103221832.GA2573@heff.fud.org.nz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-net Subject: Re: Maximum number of vlans on a freebsd box ??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 22:35:15 -0000 On Sat, Nov 03, 2007 at 08:23:20PM +0200, Ivo Vachkov wrote: > Hello all, > > I'd like to ask if someone has information how many vlans a freebsd > box can 'run' ? There is no limit. You can only add 4096 per interface of course as its a 12bit tag. If you are adding a lot then you should use the VLAN_ARRAY kernel option which gives a constant tag lookup time. Andrew