[VLAN] How do I apply a VLAN id to all packets in a certain
interface?
Peter Stuge
stuge-vlan at cdy.org
Tue Aug 1 07:14:51 PDT 2006
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
More information about the Vlan
mailing list