Open vSwitch: Difference between revisions
From Leo's Notes
This page was last edited on 8 February 2022, at 01:48.
No edit summary |
|||
| Line 13: | Line 13: | ||
=== Create a bonded connection === | === Create a bonded connection === | ||
See more on [[Link Aggregation]]. | |||
To bond two network interfaces: | To bond two network interfaces: | ||
{{Highlight | {{Highlight | ||
Revision as of 01:48, 8 February 2022
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
See more on Link Aggregation.
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