[VLAN] How do I apply a VLAN id to all packets in a certain interface?

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

 



On Tue, Aug 01, 2006 at 01:59:31PM +1000, Joel Pearson wrote:
> Is it possible to apply a certain VLAN id to all packets in a
> certain interface?
> 
> Does vconfig apply VLAN ids to packets?  Or does it just filter
> packets that already have been tagged with a vlan id into the
> various vlan interfaces?

vconfig is used to tell the kernel VLAN driver to create, drop or
configure VLAN interfaces.

VLAN interfaces are always "children" of another (often physical or
bridge) interface. E.g. eth0.4 is a VLAN interface for VLAN 4 on
eth0.

Packets coming in on eth0.4 is VLAN 4 traffic coming in on eth0, but
with the tag stripped.

Packets going out on eth0.4 will be tagged with VLAN 4 and then sent
out on eth0.


//Peter

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

  Powered by Linux