Open vSwitch
From Leo's Notes
This page was last edited on 4 February 2022, at 21:27.
Open vSwitch is widely used as a virtual switch in infrastructure as a service type environments.
Installation
CentOS 8
# yum install http://mirror.centos.org/centos/8/extras/x86_64/os/Packages/centos-release-nfv-openvswitch-1-3.el8.noarch.rpm http://mirror.centos.org/centos/8/extras/x86_64/os/Packages/centos-release-nfv-common-1-3.el8.noarch.rpm
# yum install openvswitch-2.13
Tasks
Create a bonded connection
To bond two network interfaces:
# ovs-vsctl add-bond nic0 bond0 eth0 eth1 bond_mode=balance-tcp lacp=active
## If your bonded connection uses VLANs, you can then set it by adjusting the port:
# ovs-vsctl set port nic0 vlan_mode=native-untagged trunks=417,418,450-950,3209