Red Hat Training

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

7.5. Verifying Network Configuration Bonding 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 bonding in redundancy:
Procedure
  1. Ping the destination IP from the bond interface. For example:
    ~]# ping -I bond0 DSTADDR
  2. View which interface is in active mode:
    ~]# cat /sys/class/net/bond0/bonding/active_slave
    eth1
    eth1 is the active slave interface.
  3. Set the active slave interface down:
    ~]# ip link set eth1 down
  4. Check if the backup interface is up:
    ~]# cat /sys/class/net/bond0/bonding/active_slave
    eth2
    eth2 is now the active slave interface.
  5. Check if you can still ping the destination IP from the bond interface:
    ~]# ping -I bond0 DSTADDR