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 "[EMAIL PROTECTED]" > > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"