Network - Setup Teamed Interfaces: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== RHEL 7+ == | == RHEL 7+ == | ||
# Create the team interface | |||
#: <tt>'''# nmcli connection add type team con-name team0 ifname team0 team.runner <activebackup | lacp | loadbalance | roundrobin>'''</tt> | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ team.runner | |+ team.runner | ||
Line 13: | Line 15: | ||
| roundrobin || Transmits packets in a round-robin fashing from each of the ports | | roundrobin || Transmits packets in a round-robin fashing from each of the ports | ||
|} | |} | ||
# Assign the port interfaces to the team. | # Assign the port interfaces to the team. | ||
#: <tt>'''# nmcli connection add type ethernet slave-type team con-name team0-port0 ifname <interface1> master team0'''</tt> | #: <tt>'''# nmcli connection add type ethernet slave-type team con-name team0-port0 ifname <interface1> master team0'''</tt> |
Revision as of 15:07, 9 April 2022
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