RHEL Introduced Changes in How Network Bonding is Configured: RHEL5U1 Kernel 2.6.18-53.1.19
RHEL introduced changes in how network bonding is
configured: RHEL5U1 kernel 2.6.18-53.1.19.el5
Solution ID: 00000061
Created: 8/29/2008
DETAILS:
RHEL introduced changes in how network bonding is configured.
Starting from RHEL5U1 RedHat will be moving to a new standard to configure
bonded interfaces. The following way to configure the bonding is now a standard
during OS deployment:
Add alias bond0 bonding to /etc/modprobe.conf
Example:
[root@lass1 ~]# cat /etc/modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptspi
alias scsi_hostadapter2 ata_piix
alias scsi_hostadapter3 qla2xxx
alias scsi_hostadapter4 usb-storage
alias bond0 bonding
Add BONDING_OPTS="mode=6 miimon=100" to /etc/sysconfig/network-
scripts/ifcfg-bond0
Example
:
[root@lass1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BONDING_OPTS="mode=6 miimon=100"
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.116.0
NETMASK=255.255.255.0
IPADDR=192.168.116.211
USERCTL=no
After configuring bonding, reboot the server and check the correct bonding mode
for each bond: cat /proc/net/bonding/bond0