Re: Multi-vlan on linux

Peter Stuge <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.