Google
  Web www.spinics.net

[VLAN] Multi-vlan on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

[Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux