Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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
- Ping the destination IP from the bond interface. For example:
ping -I bond0 DSTADDR
~]# ping -I bond0 DSTADDRCopy to Clipboard Copied! Toggle word wrap Toggle overflow - View which interface is in
activemode:enp1s0 is the~]# cat /sys/class/net/bond0/bonding/active_slave enp1s0
~]# cat /sys/class/net/bond0/bonding/active_slave enp1s0Copy to Clipboard Copied! Toggle word wrap Toggle overflow activeport interface. - Set the
activeport interface down:ip link set enp1s0 down
~]# ip link set enp1s0 downCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Check if the
backupinterface is up:enp2s0 is now the~]# cat /sys/class/net/bond0/bonding/active_slave enp2s0
~]# cat /sys/class/net/bond0/bonding/active_slave enp2s0Copy to Clipboard Copied! Toggle word wrap Toggle overflow activeport interface. - Check if you can still ping the destination IP from the bond interface:
ping -I bond0 DSTADDR
~]# ping -I bond0 DSTADDRCopy to Clipboard Copied! Toggle word wrap Toggle overflow