what about 5000 .. 10000 VLANs in one system?

Brooks Davis brooks at one-eyed-alien.net
Fri Nov 14 10:47:08 PST 2003


On Fri, Nov 14, 2003 at 01:38:19PM +0300, "."@babolo.ru wrote:
> 
> I remember that VLAN tag has 12 bits :-)
> 
> I need in system with 5000 .. 10000 VLAN
> interfaces on 2 .. 6 physical ethernets.
> 
> Does anybody has such expienence?
> Stability? Performance?

I think is should work, but performance may be poor.  Currently,
vlan_input() finds the correct vlan by searching the list of all vlans
until it finds the correct one.  For that many vlans, it might be
necessicary to modify the code to use some form of balanced tree instead
of a simple list.  This should be fairly straight forward to fix.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20031114/a10aa099/attachment.bin


More information about the freebsd-net mailing list