United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
The following example illustrates the steps to setup multiple bonds in Red Hat Enterprise Linux 5 with different bonding modes.
/etc/modprobe.conf
alias bondX bonding
options bonding max_bonds=X
DEVICE=eth2
ONBOOT=yes
MASTER=bond1
SLAVE=yes
DEVICE=eth3
ONBOOT=yes
MASTER=bond1
SLAVE=yes BONDING_OPTS=""
/etc/modprobe.conf
alias bond0 bonding
alias bond1 bonding
options bonding max_bonds=2
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
BONDING_OPTS="mode=1 miimon=100 primary=eth0"
DEVICE=bond1
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
BONDING_OPTS="mode=0 miimon=100 "
DEVICE=eth0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
DEVICE=eth1
ONBOOT=yes
MASTER=bond0
SLAVE=yes
DEVICE=eth2
ONBOOT=yes
MASTER=bond1
SLAVE=yes
DEVICE=eth3
ONBOOT=yes
MASTER=bond1
SLAVE=yes