0

How to configure the teaming network?

On our redhat machines we configured as the following the teaming network

On each machine we have two links - ens1f5 and ens1f6 And we add the team0 file to control them

My question is- is it enough to create these 3 files? So in case one of the links will failed then other link will be active ?

Or

We must to enable the teamdctl service in order team will works

For now teamdctl service is disable ( but teamd rpm is installed )

rpm -qa | grep teamd
teamd-1.17-5.el7.x86_64


teamdctl nm-team state
Device "nm-team" does not exist

the files under /etc/sysconfig/network-scripts are:

DEVICE=team0
DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=102.13.16.19
PREFIX=24
GATEWAY=102.13.16.3
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'



DEVICE=ens1f5
HWADDR=28:df:31:30:d7:4a
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'



DEVICE=ens1f6
HWADDR=28:df:31:30:d2:4d
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'

Reference - https://www.rootusers.com/how-to-configure-network-teaming-in-linux/

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.