[NTLUG:Discuss] multiple nic bonding channels - RHES 4

MontyS@videopost.com MontyS at videopost.com
Wed Oct 26 12:01:26 CDT 2005


Greetings.

I am having a problem with creating 2 bonds of 2 eth devices each.  For
example:

Bond0 has eth0 and eth1 as slaves.  Bond1 has eth2 and eth3 as slaves.

Bond 0 comes up fine, but I get the following error when the box attempts to
start up bond 1:
>>bonding device bond1 does not seem to be present, delaying
initialization<<.

Google is amazingly silent on the issue, except for the possibility of a
kernel bug.  Or, I am not using the correct terminology.  This could be
problematic since I am trying to move someone away from windows...

CentOS4  (RHES4.0 clone)
kernel-smp-2.6.9-22EL

Below is the various ifcfg-* files and modprobe.conf.

Please forgive the length of this email.

Thanks in advance,

Monty

>begin file listings<

modprobe.conf:

alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
alias eth4 e1000
alias eth5 e1000
alias scsi_hostadapter 3w-9xxx
install bond0 /sbin/modprobe -a eth0 eth1 && /sbin/modprobe bonding
alias bond0 bonding 
options bond0 mode=6 miimon=10000
install bond1 /sbin/modprobe -a eth2 eth3 && /sbin/modprobe bonding
alias bond1 bonding 
options bond1 mode=6 miimon=10000

ifcfg-bond0:

DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
NETWORK=10.x.x.0
BROADCAST=10.x.x.255
NETMASK=255.255.255.0
IPADDR=10.x.x.x
GATEWAY=10.x.x.x
USERCTL=no

ifcfg-bond1:

DEVICE=bond1
BOOTPROTO=static
ONBOOT=yes
NETWORK=10.x.y.0
BROADCAST=10.x.y.255
NETMASK=255.255.255.0
IPADDR=10.x.y.x
GATEWAY=10.x.y.x
USERCTL=no

ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:04:23:BF:53:B0
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
USERCTL=no

ifcfg-eth1:

DEVICE=eth1
BOOTPROTO=none
HWADDR=00:04:23:BF:53:B1
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
USERCTL=no

ifcfg-eth2:

DEVICE=eth2
BOOTPROTO=none
HWADDR=00:04:23:BF:50:10
ONBOOT=yes
TYPE=Ethernet
MASTER=bond1
SLAVE=yes
USERCTL=no

ifcfg-eth3:

DEVICE=eth3
BOOTPROTO=none
HWADDR=00:04:23:BF:50:11
ONBOOT=yes
TYPE=Ethernet
MASTER=bond1
SLAVE=yes
USERCTL=no



More information about the Discuss mailing list