August 2018
Beginner
462 pages
12h 36m
English
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 seth2allow-br-eth2 eth2 iface eth2 inet manual ovs_bridge br-eth2 ovs_type OVSPort
Read now
Unlock full access