Also OVSBond und OVSBridge.
Mit Linux-Bond (LACP) hat es funktioniert.
Wenn ich bonding und bridge mit diesen Kommandos aktiviere:
Code: Alles auswählen
$ ovs-vsctl add-br br0
$ ovs-vsctl add-bond br0 bond0 eth0 eth1
Diese zwei Konfigurationen habe ich versucht:
1
Code: Alles auswählen
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth0 eth1
ovs_type OVSBond
ovs_bridge vmbr0
#pre-up ( ip link set enp5s0 mtu 9000 && ip link set enp6s0 mtu 9000 )
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
mtu 9000
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan1
allow-vmbr0 vlan1
iface vlan1 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=1
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
mtu 1500
Code: Alles auswählen
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth0 eth1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
auto vmbr0
iface vmbr0 inet static
ovs_type OVSBridge
ovs_ports bond0
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1