Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.12. Verifying Network Configuration Teaming for Redundancy

Network redundancy is a process when devices are used for backup purposes to prevent or recover from a failure of a specific system. The following procedure describes how to verify the network configuration for teaming in redundancy:
Procedure
  1. Ping the destination IP from the team interface. For example:
    ~]# ping -I team0 DSTADDR
  2. View which interface is in active mode:
    ~]#  teamdctl team0 state
    setup:
      runner: activebackup
    ports:
      eth1
        link watches:
          link summary: up
          instance[link_watch_0]:
            name: ethtool
            link: up
            down count: 0
      eth2
        link watches:
          link summary: up
          instance[link_watch_0]:
            name: ethtool
            link: up
            down count: 0
    runner:
      active port: eth1
    eth1 is the active interface.
  3. Set the active slave interface down:
    ~]# ip link set eth1 down
  4. Check if the backup interface is up:
    ~]#  teamdctl team0 state
    setup:
     runner: activebackup
    ports:
     eth1
       link watches:
         link summary: down
         instance[link_watch_0]:
           name: ethtool
           link: down
           down count: 1
     eth2
       link watches:
         link summary: up
         instance[link_watch_0]:
           name: ethtool
           link: up
           down count: 0
    runner:
     active port: eth2
    eth2 is now the active interface.
  5. Check if you can still ping the destination IP from the team interface:
    ~]# ping -I team0 DSTADDR