Managing HP Serviceguard for Linux Ninth Edition, April 2009

HWADDR=00:12:79:43:5b:f4
3. Add the following lines to /etc/modprobe.conf:
alias bond0 bonding options bond0 miimon=100 mode=1
Use MASTER=bond1 for bond1 if you have configured a second bonding interface,
then add the following after the first bond (bond0): options bond1 -o
bonding1 miimon=100 mode=1
NOTE: During configuration, you need to make sure that the active slaves for the
same bond on each node are connected the same hub or switch. You can check on this
by examining the file /proc/net/bonding/bond<x>/info on each node. This file
will show the active slave for bond x.
Restarting Networking
Restart the networking subsystem. From the console of either node in the cluster, execute
the following command on a Red Hat system:
/etc/rc.d/init.d/network restart
NOTE: It is better not to restart the network from outside the cluster subnet, as there
is a chance the network could go down before the command can complete.
The command prints bringing up network statements.
If there was an error in any of the bonding configuration files, the network might not
function properly. If this occurs, check each configuration file for errors, then try to
restart the network again.
Viewing the Configuration
You can test the configuration and transmit policy with ifconfig. For the configuration
created above, the display should look like this:
/sbin/ifconfig
bond0 Link encap:Ethernet HWaddr 00:C0:F0:1F:37:B4
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:7224794 errors:0 dropped:0 overruns:0 frame:0
TX packets:3286647 errors:1 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:0
eth0 Link encap:Ethernet HWaddr 00:C0:F0:1F:37:B4
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3573025 errors:0 dropped:0 overruns:0 frame:0
TX packets:1643167 errors:1 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x1080
Preparing Your Systems 155