LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NIC_teaming working only on primary Ethernet port - RHEL 7.6 (https://www.linuxquestions.org/questions/linux-server-73/nic_teaming-working-only-on-primary-ethernet-port-rhel-7-6-a-4175665382/)

Pravingoud89 12-04-2019 01:06 AM

NIC_teaming working only on primary Ethernet port - RHEL 7.6
 
:confused:Hi everyone,

i have configured nic teaming on rhel 7.6 server,"teamdcl team0 stat" showing both configured port up, when i down primary port its switch to next active port but i am not able to ping or access ip through slave port but when i up the primary port and switch team to primary port its working fine also i configured nic with bond module, i am facing same issue does anyone know what could be issue or what i am missing here, i am using Oracle Virtualbox Guest VM RHEL 7.6.

Regards,
Pravin Goud

dc.901 12-04-2019 05:36 AM

It will help if you posted your config files...
What is in dmesg (or messages) when you down the primary port?

Pravingoud89 12-04-2019 06:50 AM

Please check below cofiguration

[root@node1 ~]# teamdctl team0 stat
setup:
runner: activebackup
ports:
enp0s8
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
enp0s9
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: enp0s8
[root@node1 ~]#



[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-team0
TEAM_CONFIG="{"runner":{"name":"activebackup"}}"
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=team0
UUID=9ddf9c04-473e-428c-93bf-0e94ee440b98
DEVICE=team0
ONBOOT=yes
DEVICETYPE=Team
IPADDR=192.168.1.100
PREFIX=24
GATEWAY=192.168.1.1
[root@node1 ~]#

[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-team0-port1
NAME=team0-port1
UUID=36f09cbc-7f94-4b9e-993e-287d0320aae0
DEVICE=enp0s8
ONBOOT=yes
TEAM_MASTER=team0
DEVICETYPE=TeamPort
[root@node1 ~]#


[root@node1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-team0-port2
NAME=team0-port2
UUID=46727b5b-728c-4f82-a318-9edb9851916b
DEVICE=enp0s9
ONBOOT=yes
TEAM_MASTER=team0
DEVICETYPE=TeamPort
[root@node1 ~]#


When i down enp0s8 team switch to enp0s9 but ping dosent work, but when i up the enp0s8 port and switch same port on team i can access or ping the machine thats mean teaming only working on Primary connection (enp0s8).






Regards,
Pravin Goud


All times are GMT -5. The time now is 12:11 PM.