Operating System - Linux
1829559 Members
2129 Online
109992 Solutions
New Discussion

Bonding on linux.....again!

 
Chris Rooney_1
New Member

Bonding on linux.....again!

I have read several posts on bonding and had no not found any that seem to relate exactly to me problem. I have redhat linux enterprise 3 and installed the HP bonding drive for dl380.
I have set all the configuration files as stated in bonding.txt, but when I run network restart I get the error 'bonding device bond0 does not exist'

Any ideas?

Thanks
6 REPLIES 6
Mobeen_1
Esteemed Contributor

Re: Bonding on linux.....again!

Chris,
Review the link below and let me know if that helps

http://www.icare.hp.com.cn/TechCenter_StaticArticle/17853/18309.txt

regards
Mobeen
Chris Rooney_1
New Member

Re: Bonding on linux.....again!

reat that too many times. Does red hat enterprise 3 support master/slave? or do I need to enter the commands manualy?
I have followed the instructions fully? From reading pther posts it seems there might be a conflict between the kernal and the driver. Is there a way to delete the hp driver and rely on the bonding that red hat provides? If so, how?

Thanks for your help

Chris
Kodjo Agbenu
Honored Contributor

Re: Bonding on linux.....again!

Hi,

It seems that the bonding driver is not automatically loaded (modprobe, insmod), therefore the network start script fails on bond0 device.
Check your syslog file to see what happens during bonding driver loading step.

Another tip : make sure that you use HP bonding driver with HP bcm5700 driver.
You can also try Red Hat's "tg3" driver with Red Hat bonding driver.
However, you cannot mix.

Last thing : after making changes in /etc/modules.conf, type "depmod -a".

Good luck,

Kodjo
Learn and explain...
Stuart Browne
Honored Contributor

Re: Bonding on linux.....again!

cant you post-install or pre-install based on alias eth0 ?

i.e.

pre-install eth0 modprobe bond

? or alias eth0 as the bonding driver which pre-install's bcm5700..

just some thoughts.. never actually used it myself.
One long-haired git at your service...
Don_89
Trusted Contributor

Re: Bonding on linux.....again!

I'm running the exact same configuration (RH3 on the GL-380 G3) but I'm using the tg3 driver.. Instead of using 'alias eth0 tg3' & 'alias eth1 tg3' in the /etc/modules.conf file, you'll be using 'alias eth0 bcm5700' & 'alias eth1 bcm5700'. Sometimes its best to see actual working configuration files.

This first file is the bond0 file in /etc/sysconfig/network-scripts.
# Broadcom Corporation|NetXtreme BCM5703 Gigabit Ethernet
DEVICE=bond0
BOOTPROTO=none
HWADDR=00:0E:7F:22:D5:81
IPADDR=208.166.214.13
NETMASK=255.255.255.224
NETWORK=208.166.214.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no

Next is the ifcfg-eth0 file located in the same directory.
# Broadcom Corporation|NetXtreme BCM5703 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes

Finally, the ifcfg-eth1 file.

# Broadcom Corporation|NetXtreme BCM5703 Gigabit Ethernet
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes

Hope this helps..
Chris Rooney_1
New Member

Re: Bonding on linux.....again!

Started again and used the bonding driver that is provided by Linux....Works fine! Apparently there was a problem with that driver. Anyway thanks for your help.

Chris