Network - Setup Teamed Interfaces

From UNIX Systems Administration
Revision as of 15:09, 9 April 2022 by Michael Kohler (talk | contribs) (→‎RHEL 7+)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RHEL 7+

  1. Create the team interface
    # nmcli connection add type team con-name team0 ifname team0 team.runner <activebackup | lacp | loadbalance | roundrobin>
team.runner
Runner Explanation
activebackup Failover runner which watches for link changes and selects an active port for data transfers
lacp Implements the 802.3ad LinkAggregation Control Protocol.
loadbalance Monitors traffic and uses a hash function to try to reach a perfect balance when selecting ports for packet transmission
roundrobin Transmits packets in a round-robin fashing from each of the ports
  1. Assign the port interfaces to the team.
    # nmcli connection add type ethernet slave-type team con-name team0-port0 ifname <interface1> master team0
    # nmcli connection add type ethernet slave-type team con-name team0-port1 ifname <interface2> master team0
  2. Statically assign network information
    # nmcli connection modify team0 ipv4.addresses <IP address>/<CIDR subnet mask>
    # nmcli connection modify team0 ipv4.gateway <gateway IP address>
    # nmcli connection modify team0 ipv4.dns <DNS IP address>
    # nmcli connection modify team0 ipv4.dns-search <search domain>
    # nmcli connection modify team0 ipv4.method manual
    # nmcli connection modify teamo connection.autoconnect yes

Further Reading