[VLAN] Multi-vlan on linux

Peter Stuge stuge-vlan at cdy.org
Sat Apr 29 19:56:17 PDT 2006


On Sat, Apr 29, 2006 at 06:35:39PM +0200, Roy-Magne Mo wrote:
> fr den 28.04.2006 klokka 17:18 (-0300) skreiv Lucas Diaz:
> > That's why I want to create a "multi-vlan interface".
> 
> This is a feature that has to be handled by the switch.

The switch absolutely has to be configured so that the port where
Linux is connected is a member of all relevant VLANs if the Linux
VLAN support is to be involved.


> This could possibly be achieved with EBtables, but I haven't tried
> that. 

Depending on the addressing plan that could get really messy really
quickly, especially if the application has no knowledge about the
network and lots of translation is required.


I would prefer many VLAN interfaces in the Linux system. Linux can
have all 4095, but the /proc/net/vlan interface has a static memory
limit in the driver which should be increased if you want access to
information for all interfaces.


//Peter


More information about the Vlan mailing list