From owner-freebsd-net@FreeBSD.ORG Wed Apr 12 20:17:30 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4A2E216A400 for ; Wed, 12 Apr 2006 20:17:30 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from dbmail-mx1.orcon.net.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D3C43D48 for ; Wed, 12 Apr 2006 20:17:29 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received-SPF: none Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by dbmail-mx1.orcon.net.nz (8.13.6/8.13.6/Debian-1) with SMTP id k3CKIG6F024566; Thu, 13 Apr 2006 08:18:16 +1200 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 5531B1CC37; Thu, 13 Apr 2006 08:17:25 +1200 (NZST) Date: Thu, 13 Apr 2006 08:17:25 +1200 From: Andrew Thompson To: Jon Otterholm Message-ID: <20060412201725.GA42102@heff.fud.org.nz> References: <443CF4D7.1030204@ide.resurscentrum.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <443CF4D7.1030204@ide.resurscentrum.se> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on dbmail-mx1.orcon.net.nz X-Virus-Status: Clean Cc: freebsd-net@freebsd.org Subject: Re: Sub-interfaces 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: Wed, 12 Apr 2006 20:17:30 -0000 On Wed, Apr 12, 2006 at 02:38:47PM +0200, Jon Otterholm wrote: > Hi. > > I am designing a new network and one way to go is to configure a router > based on FreeBSD with one IF/customer. This would mean around 1000 > VLAN-IF's/router - would this work? Do you see any problems with this? 1000 vlan interfaces will work fine. In all the stable branches (and releases) the vlans will be in a linked list, this can be slower as the list increases in size. In CURRENT this is now a hash list and you can optimise it even more by defining VLAN_ARRAY which will directly dereference the tag->ifnet. Andrew