LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FC4 channel bonding (https://www.linuxquestions.org/questions/linux-networking-3/fc4-channel-bonding-407064/)

dretzloff 01-23-2006 03:03 PM

FC4 channel bonding
 
I have installed FC4. I have added the line "alias bond0 bonding" to modprobe.conf. I have added the file ifcfg-bond0 and modified the files ifcfg-eth0 and ifcfg-eth1 in /etc/sysconfig/network-scripts. When I reboot the system it hangs up at starting bond0. Is there a known problem I am missing or have I just forgotten to appropriately change/add some network file?

Thanks for the help.

<Dave Retzloff>

stickman 01-23-2006 10:03 PM

Did you specifiy any options in your modprobe.conf file? After the system comes up, do you see with lsmod the bonding module loaded? Do both NICs work without bonding? It may be helpful to post your ifcfg files here also.

dretzloff 01-24-2006 04:31 PM

FC4 Channel Bonding
 
I am in the process of rebuilding the system because of some hardware component failures. When I finish I will try to bond the NICs again and if I experience the same problem I will post detailed information on the modprobe.config and ifcfg-xxxx files. I apologize for not being complete in my question. I observed that when I was hung up in rebooting I was getting "device xxxxx" is missing. Here xxxxx is a numerical value. The computer I am having problems is part of a Beowulf cluster I built. I thought that I was familiar with the channel bonding process and was surprised when I encountered problems.

Thank you for responding.

<Dave Retzloff>

dretzloff 01-26-2006 06:16 PM

FC4 Channel Bonding
 
I have rebuilt my system and still have the same problem I had before. Below are the files that I have on this issue.

1. Error I receive when I restart the network

[root@node2 dretzloff]# /etc/rc.d/init.d/network stop
Shutting down loopback interface: [ OK ]
[root@node2 dretzloff]# /etc/rc.d/init.d/network start
Bringing up loopback interface: [ OK ]
Bringing up interface bond0: cannot change name of eth0 to bond0: File exists
cannot change name of lo to dev9618: Device or resource busy
interface 'dev23977' not found
interface 'dev6219' not found
interface 'dev23241' not found
interface 'dev3298' not found
interface 'dev22144' not found
interface 'dev23243' not found
interface 'dev7810' not found
interface 'dev11069' not found
interface 'dev2329' not found
interface 'dev1609' not found
interface 'dev1069' not found
interface 'dev13827' not found
interface 'dev23226' not found
interface 'dev31701' not found
interface 'dev22231' not found
interface 'dev28104' not found
interface 'dev7512' not found
interface 'dev8556' not found
interface 'dev5304' not found
interface 'dev32683' not found
interface 'dev3011' not found
interface 'dev10409' not found
interface 'dev21825' not found
interface 'dev8311' not found
interface 'dev23695' not found
interface 'dev1355' not found
interface 'dev999' not found
interface 'dev15739' not found
interface 'dev6086' not found
interface 'dev20330' not found
interface 'dev31666' not found
interface 'dev24361' not found
interface 'dev6991' not found
interface 'dev3448' not found

2. Here is my modprobe.conf file

alias eth0 3c59x
alias eth1 3c59x
alias scsi_hostadapter aic7xxx
alias snd-card-0 snd-sbawe
options snd-card-0 index=0
options snd-sbawe index=0
remove snd-sbawe { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-sbawe
alias usb-controller uhci-hcd
alias bond0 bonding

3. Here is my bond0 file

DEVICE=bond0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:50:04:AB:D6:7A
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet

4. Here is my eth0 file

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
#BROADCAST=192.168.0.255
#HWADDR=00:50:04:AB:D6:7A
#IPADDR=192.168.0.2
#NETMASK=255.255.255.0
#NETWORK=192.168.0.0
#ONBOOT=yes
TYPE=Ethernet

5. Here is my eth1 file

DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
#BROADCAST=192.168.0.255
#HWADDR=00:01:02:41:68:70
#IPADDR=192.168.0.2
#NETMASK=255.255.255.0
#NETWORK=192.168.0.0
#ONBOOT=no
TYPE=Ethernet

If I use the commands ifup eth0 and ifup eth1 then the system returns the statement that eth0 and eth1 are bonded to bond0. I suspect that I have missed changing an entry in some system file but at the moment I do not have a clue as to which one. Any help or suggestions are appreciated.

Thanks

Dave Retzloff

stickman 02-21-2006 07:58 PM

Try adding an options line for the bonding module to specify the mode and miimon. I'd also try commenting out the MAC address in the ifcfg-bond0 file.

lazlow 06-15-2006 02:01 PM

I am having the same error. My setup is very close (to above) except I am using dhcp. I can boot with the eth0/eth1 "normal" and then setup bond0. It all works fine, until I reboot then I get the same errors as above. Any suggestions?

Thanks
Lazlow

trout11nick 01-13-2011 12:54 PM

Removing the HW address from the bond0 file in networking-scripts fixed the problem for me on an openfiler install. I had changed the MTU through the GUI and something wasn't happy - I guess eth0 had the same HW address applied in the networking-script


All times are GMT -5. The time now is 01:38 AM.