Redhat

From UVOO Tech Wiki
Revision as of 18:34, 1 May 2020 by Busk (talk | contribs)
Jump to navigation Jump to search

Network Teams

dnf install teamd

using nmcli

dnf install NetworkManager-team
systemctl restart NetworkManager.service

teamd.conf

{
   "device": "team0",
   "runner": {
       "name": "lacp",
       "active": true,
       "fast_rate": true,
       "tx_hash": ["eth", "ipv4", "ipv6"]
   },
     "link_watch": {"name": "ethtool"},
     "ports": {"em1": {}, "em2": {}}
}

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-vlan_on_bond_and_bridge_using_ip_commands

Redhat 7

UUID="xxxxxx-dcce-48cc-b558-78c1e328f8c2"
NAME="em1"
DEVICE="em1"
BOOTPROTO="none"
ONBOOT="yes"
MASTER="bond0"
SLAVE="yes"
TYPE="Ethernet"
NM_CONTROLLED=no
ZONE=internal
.
DEVICE="bond0"
BOOTPROTO="static"
IPADDR=10.x.x.x
GATEWAY=10.x.x.1
NETMASK=255.255.255.0
ONBOOT="yes"
DNS1="10.x.x.x"
DNS2="10.x.x.x"
TYPE="Ethernet"
DEFROUTE=yes
BONDING_OPTS="mode=4 lacp_rate=1 miimon=100"
ZONE=internal
NM_CONTROLLED=no