Channel Bonding on RHEL

Print Friendly, PDF & Email

Put this in /etc/modules.conf (RHEL3) or /etc/modprobe.conf (RHEL5) before eth0/1 aliases

alias bond0 bonding
options bond0 mode=1 miimon=100

Put something like this in /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

Put something like this in /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

Put something like this in /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
IPADDR=137.222.10.XX
NETWORK=137.222.10.0
NETMASK=255.255.255.0
GATEWAY=137.222.10.250
USERCTL=no

Then do

$ sudo ifdown eth0
$ sudo ifdown eth1
$ sudo modprobe bond0
$ sudo ifup bond0

That should bring everything up. Test with:

$ sudo ip link


About this entry