November 2017
Intermediate to advanced
494 pages
14h 29m
English
Like the Linux bridge, we can create various Open vSwitch bond interfaces. In this example, we are going to create the LACP bonded interface for Open vSwitch. The following configuration parameters are used to create a bond interface using the interface to create an Open vSwitch bridge:
allow-vmbr1 bond0
iface bond0 inet manual
ovs_type OVSBond
ovs_bridge vmbr1
ovs_bonds ens21 ens22
pre-up (ifconfig ens21 mtu 8996 && ifconfig ens22 mtu 8996)
ovs_options bond_mode=balance-tcp lacp=active trunks=2,3,4
mtu 8996
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports bond0
mtu 8996
In the previous example, a new parameter is added called pre-up. This is used to configure jumbo packets. The default mtu for ...
Read now
Unlock full access