Network Teaming or Bonding to Configure Aggregated Network Links Flashcards
Adding a team
man nmcli-examples
/Example 7
man teamd.conf
nmcli con add type team con-name stlteam0 ifname stlteam0 config ‘{“runner”: {“name”: “activebackup”}}’
nmcli con mod stlteam0 ipv4.addresses ‘10.1.152.34/24’ ipv4.gateway 10.1.152.1 ipv4.dns 10.1.152.3 connection.autoconnect yes
nmcli con mod stlteam0 +ipv4.dns 10.1.152.5
nmcli con mod stlteam0 ipv4.method manual
Checking the status on a teamed interface
teamdctl stlteam0 state
Adding ports to the configuration
nmcli con add type team-slave con-name stlteam0-port1 ifname enp0s6 master stlteam0
nmcli con add type team-slave con-name stlteam0-port2 ifname enp0s7 master stlteam0
Bring up the interfaces and the team
nmcli con up stlteam0-port1
nmcli con up stlteam0-port2
nmcli con up stlteam0