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
- Ping the destination IP from the team interface. For example:
~]#
ping -I team0 DSTADDR
- View which interface is in
active
mode:~]#
enp1s0 is theteamdctl team0 state
setup: runner: activebackup ports: enp1s0 link watches: link summary: up instance[link_watch_0]: name: ethtool link: up down count: 0 enp2s0 link watches: link summary: up instance[link_watch_0]: name: ethtool link: up down count: 0 runner: active port: enp1s0active
interface. - Temporarily remove the network cable from the host.
Note
There is no method to properly test link failure events using software utilities. Tools that deactivate connections, such asip
ornmcli
, show only the driver’s ability to handle port configuration changes and not actual link failure events. - Check if the
backup
interface is up:~]#
enp2s0 is now theteamdctl team0 state
setup: runner: activebackup ports: enp1s0 link watches: link summary: down instance[link_watch_0]: name: ethtool link: down down count: 1 enp2s0 link watches: link summary: up instance[link_watch_0]: name: ethtool link: up down count: 0 runner: active port: enp2s0active
interface. - Check if you can still ping the destination IP from the team interface:
~]#
ping -I team0 DSTADDR