Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 10:49:04 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        "."@babolo.ru
Cc:        freebsd-net@freebsd.org
Subject:   RE: what about 5000 .. 10000 VLANs in one system?
Message-ID:  <XFMail.20031114104904.jdp@polstra.com>
In-Reply-To: <1068806299.210616.7785.nullmailer@cicuta.babolo.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20031114104904.jdp>