what about 5000 .. 10000 VLANs in one system?

John Polstra jdp at polstra.com
Fri Nov 14 10:49:11 PST 2003


On 14-Nov-2003 "."@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.

Er, so what is your strategy for packing 5000-10000 different values
into a 12-bit field?

> Does anybody has such expienence?
> Stability? Performance?

I doubt it would perform very well.  When a tagged packet comes into
the system, the matching VLAN interface is found using a linear
search.  It will be pretty slow if there are a lot of VLANs.

John


More information about the freebsd-net mailing list