1828960 Members
2257 Online
109986 Solutions
New Discussion

RedHat4, 2 bonds ?

 
Jean-Yves Picard
Trusted Contributor

RedHat4, 2 bonds ?

Hello,

short story:
How do I enable 2 bonding interface on redhat 4 update 4 ?

long story:
Hardware is bl20g3 (and bl25g2).
OS is RedHat 4 Update 4 (32bit and 64bit).

on redhat 3 I setup bond0 = eth1+eth3 and bond1 = eth0+eth2

I added
alias bond0 bonding
options bond0 miimon=100 mode=active-backup
alias bond1 bonding
options bond1 -o bonding1 miimon=100 mode=active-backup
at the end of /etc/modules.conf

now, on redhat 4, du to renumbering of nic, I setup
bond0=eth0+eth2 and bond1=eth1+eth3

bond0 start fine, but I get
bonding device bond1 does not seem to be present, delaying initialization.

when I start bond1

/etc/modprobe.conf look like
alias eth0 tg3
alias eth1 tg3
alias eth2 tg3
alias eth3 tg3
alias scsi_hostadapter cciss
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias bond0 bonding
options bond0 miimon=100 mode=active-backup
alias bond1 bonding
options bond1 miimon=100 mode=active-backup

I have read http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1082831
and http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=941305

Any clues ?

Jean-Yves Picard

3 REPLIES 3
Jean-Yves Picard
Trusted Contributor

Re: RedHat4, 2 bonds ?

Well, ....

just in case someone digg the forum in futur:

[root@rh4u4-32b-bl20 ~]# cat /etc/modprobe.conf
alias eth0 tg3
alias eth1 tg3
alias eth2 tg3
alias eth3 tg3
alias scsi_hostadapter cciss
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias bond0 bonding
alias bond1 bonding
options bond0 miimon=100 mode=active-backup max_bonds=2

important :max_bonds=2
and
a reboot !
Steven E. Protter
Exalted Contributor

Re: RedHat4, 2 bonds ?

Shalom,

Just to save you some time, those cards will not go active-active for you. You can fix modeprobe.conf do a service network restart. This will work but after reboot you'll get no networking.

This may not be a problem with the cards or the OS, it may be something you can solve with switch configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jean-Yves Picard
Trusted Contributor

Re: RedHat4, 2 bonds ?

Hello,

Maybe I was unclear, the problem was fixed with editing modprobe.conf and rebooting (wich I didn't do before posting).

Steven, I am not sure I understand what you mean.

I do not want an active-active setting, this would implies finding proper setting for ciscos switch (easy) and persuading our telecom folks managing ciscos to do set them (no comment).

My initial problem was :
I have 4 NIC and I wanted 2 bond, each bond being in a different subnet.
This was solved using max_bonds=2 and rebooting.