iproute2/bridge
Vlad Yasevich 9eff0e5cc4 bridge: Add vlan configuration support
Recent kernel patches added support for VLAN filtering on the bridge.
This functionality allows one to turn a basic bridge into a VLAN bridge,
where VLANs dicatate packet forwarding and header transformation.

To configure the VLANs on the bridge and its ports a new command is
added to the 'bridge' utility.

   # bridge vlan add dev eth0 vid 10 pvid untagged brdev
   # bridge vlan add
   # bridge vlan delete dev eth0 vid 10
   # bridge vlan show

This command supports the following flags:
   master - peform the operation on the software bridge device.  This is
	    the default behavior.
   self  -  perform the operation on the hardware associated with the port.
            This flag is required when the device is the bridge device and
	    the configuration is desired on the bridge device itself (not
	    one of the ports).
   pvid  -  Set the PVID (port vlan id) for a given port.  Any untagged
            frames arriving on the port will be assigned to this vlan.
   untagged - Sets the egress policy of for a given vlan.  Default port
            egress policy is tagged.  Set this flag if you wish traffic
            associated with this VLAN to exit the port untagged.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
2013-03-06 11:03:08 -08:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
Makefile bridge: Add vlan configuration support 2013-03-06 11:03:08 -08:00
br_common.h bridge: Add vlan configuration support 2013-03-06 11:03:08 -08:00
bridge.c bridge: Add vlan configuration support 2013-03-06 11:03:08 -08:00
fdb.c bridge: Add vlan support to fdb entries 2013-03-06 11:03:05 -08:00
link.c bridge: use rta_getattr_xxx wrappers 2012-10-29 17:54:09 -07:00
mdb.c bridge: make `bridge mdb` output consistent with input 2012-12-20 10:55:55 -08:00
monitor.c ip: make local functions static 2013-02-12 11:38:35 -08:00
vlan.c bridge: Add vlan configuration support 2013-03-06 11:03:08 -08:00