Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 16:29:25 -0400
From:      "Eric W. Bates" <ericx_lists@vineyard.net>
To:        freebsd-net@freebsd.org
Subject:   Re: Sub-interfaces
Message-ID:  <443D6325.2050109@vineyard.net>
In-Reply-To: <20060412201725.GA42102@heff.fud.org.nz>
References:  <443CF4D7.1030204@ide.resurscentrum.se> <20060412201725.GA42102@heff.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Thompson wrote:
> 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.

We did run into a problem when we had too many (more than 15)
addresses/interfaces on a system.  isc-dhcpd has some table sizes
hard-coded for some data structures. This was solved by patching
common/discover.c (thanks to help from this list).

Obviously not a problem if you aren't planning on dhcp.

> 
> Andrew
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443D6325.2050109>