Managing HP Serviceguard for Linux Ninth Edition, April 2009

NOTE: HP recommends that you do the bonding configuration from the system
console, because you will need to restart networking from the console when the
configuration is done.
Sample Configuration
Configure the following files to support LAN redundancy. For a single failover only
one bond is needed.
1. Create a bond0 file, ifcfg-bond0.
Create the configuration in the /etc/sysconfig/network-scripts directory.
For example, in the file, ifcfg-bond0, bond0 is defined as the master (for your
installation, substitute the appropriate values for your network instead of
192.168.1.1).
Include the following information in the ifcfg-bond0 file:
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
For Red Hat 5 only, add the following line to the ifcfg-bond0file:
BONDING OPTS=miimon=100 mode=1
2. Create an ifcfg-ethn file for each interface in the bond. All interfaces should
have SLAVE and MASTER definitions. For example, in a bond that uses eth0 and
eth1, edit the ifcfg-eth0 file to appear as follows:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
Edit the ifcfg-eth1 file to appear as follows:
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
For Red Hat 5 only, add a line containing the hardware (MAC) address of the
interface to the corresponding ifcfg-ethn slave file, for example:
154 Building an HA Cluster Configuration