Network - Setup Teamed Interfaces
Jump to navigation
Jump to search
RHEL 7+
- Create the team interface
- # nmcli connection add type team con-name team0 ifname team0 team.runner <activebackup | lacp | loadbalance | roundrobin>
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 |
- 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
- 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