[VLAN] Multi-vlan on linux

Peter Stuge stuge-vlan at cdy.org
Fri Apr 28 22:17:34 PDT 2006


On Fri, Apr 28, 2006 at 10:27:21AM -0700, william(at)elan.net wrote:
> 
> >That is not supported.  You will have to add multiple VLAN interfaces.
> 
> That question got me on the issue I had a while back. I don't
> actually want to have interface for all VLANs, but what I'd like to
> have is ability for linux box to auto-sense which VLANs exist and
> automatically add interfaces with help of some daemon.

One way is:

tcpdump|sed|while read vid;do vconfig add eth0 "${vid}";done


//Peter


More information about the Vlan mailing list