Difference between revisions of "Redhat"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-vlan_on_bond_and_bridge_using_ip_commands | 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 | ||
+ | ``` |
Revision as of 18:34, 1 May 2020
Network Teams
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-comparison_of_network_teaming_to_bonding
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configure_teamd_runners#sec-Configure_the_LACP_Runner
- https://access.redhat.com/solutions/1248793 - network team with vlans
- https://github.com/jpirko/libteam
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": {}} }
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