.. _example_interfaces_bridge_hardware-offload_bridgevlan: ########### Bridge Vlan ########### The following scenario shows how to configure the hardware switch to work in bridge mode. ******************************************** Test Switch Bridge Untagged To Untagged Port ******************************************** Description =========== In this scenario, the hardware switch is configured as a bridge between `eth0` and `eth0p0` in untagged mode, allowing all traffic through the switch. Scenario ======== .. include:: bridgevlan/testswitchbridgeuntaggedtountaggedport .. raw:: html
****************************************** Test Switch Bridge Untagged To Tagged Port ****************************************** Description =========== In this scenario the hardware switch is configured to bridge between `eth0` in untagged mode and `eth0p0` in tagged mode, which only allows traffic from `eth0p0` sent on VLAN 101 and tags all traffic coming from `eth0p0`. Scenario ======== .. include:: bridgevlan/testswitchbridgeuntaggedtotaggedport .. raw:: html
****************************************** Test Switch Bridge Tagged To Untagged Port ****************************************** Description =========== In this scenario, the hardware switch is configured to bridge `eth0p0` in untagged mode and `eth0` in tagged mode, only allowing traffic from `eth0` sent on VLAN 101 to go through and tagging all traffic coming from `eth0`. Scenario ======== .. include:: bridgevlan/testswitchbridgetaggedtountaggedport .. raw:: html
**************************************** Test Switch Bridge Tagged To Tagged Port **************************************** Description =========== In this scenario, the hardware switch is configured as a bridge between `eth0` and `eth0p0` in tagged mode, only allowing traffic sent on VLAN 101. Scenario ======== .. include:: bridgevlan/testswitchbridgetaggedtotaggedport .. raw:: html
************************ Test Switch Allowed Macs ************************ Description =========== In this scenario, the hardware switch is configured so that it only allows incoming traffic from a specific MAC address on port `eth0p0`. Scenario ======== .. include:: bridgevlan/testswitchallowedmacs .. raw:: html