To configure a bridge with Open vSwitch, use the Open vSwitch utility ovs-vsctl. Create the bridge br-eth2 on compute02, compute03, and snat01, as follows:
# ovs-vsctl add-br br-eth2
Use the ovs-vsctl add-port command to add physical interface eth2 to the bridge like so:
# ovs-vsctl add-port br-eth2 eth2
The configuration of the bridge should persist reboots. However, the bridge interface can also be configured in /etc/network/interfaces if necessary using the following syntax:
auto br-eth2
allow-ovs br-eth2
iface br-eth2 inet manual
ovs_type OVSBridge
ovs_port seth2
allow-br-eth2 eth2
iface eth2 inet manual
ovs_bridge br-eth2
ovs_type OVSPort
Please note that the physical switch port connected to eth2 must support 802.1q VLAN tagging if VLAN networks of any type are to be created. On many switches, the switch port can be configured as a trunk port.