LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2007, 05:32 PM   #1
razor3928
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
getting error when setting up bonding


When trying set up bonding on rh4 I get
ipcalc: bad ip address:10.10.10.46
arping unknown host 10.10.10.46
error some other host already uses 10.10.10.46

When I shutdown -r. bond0 does not come up and has the above complaint

ifcfg-bond0
DEVICE=bond0
IPADDR=10.10.10.46
NETMASK=255.255.255.192
NETWORK=10.10.10.0
BROADCAST=10.10.10.63
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
GATEWAY=10.10.10.1
TYPE=Ethernet

ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Ethernet

ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

modprobe.conf
alias scsi_hostadapter usb-storage
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter1 mptbase
alias scsi_hostadapter2 mptscsi
alias scsi_hostadapter3 mptspi
alias scsi_hostadapter4 mptsas
alias scsi_hostadapter5 mptscsih
alias scsi_hostadapter6 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias net-pf-10 off
alias bond0 bonding
options bond0 mode=1 miimon=100


I have set this up on other machines with no issue. I have checked and there are no other machines with that address.

Any help would be appreciated
 
Old 10-02-2007, 08:01 PM   #2
Sparky1
Member
 
Registered: Apr 2005
Location: Montreal, Canada
Distribution: Suse 10, 9.3 Pro, FC 3
Posts: 36

Rep: Reputation: 15
Try with the subnet at 255.255.255.0 first.

In modprobe.conf try moving the bond aliases above the ethernet device aliases so that it looks like this:

modprobe.conf
alias scsi_hostadapter usb-storage
alias bond0 bonding
options bond0 mode=1 miimon=100
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter1 mptbase
alias scsi_hostadapter2 mptscsi
alias scsi_hostadapter3 mptspi
alias scsi_hostadapter4 mptsas
alias scsi_hostadapter5 mptscsih
alias scsi_hostadapter6 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias net-pf-10 off




Have you tried or can you try the tg3 driver for the broadcom device? When I set up bonding that is what I used because the older bcm or whatever it was driver did no support bonding any more. As far as the config goes it looks spot on. Here is what mine looked like:

DEVICE=bond0
IPADDR=172.17.20.64
NETMASK=255.255.0.0
NETWORK=172.17.0.1
BROADCAST=172.17.255.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

ifcfg-eth2
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

When set up correctly your MAC address of the first slave device should be associated with all the bond devices as seen below:

bond0 Link encap:Ethernet HWaddr 00:E0:ED:08:7E:16
inet addr:172.17.20.64 Bcast:172.17.255.255 Mask:255.255.0.0
inet6 addr: fe80::2e0:edff:fe08:7e16/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:318547 errors:0 dropped:0 overruns:0 frame:0
TX packets:19812 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34586494 (32.9 MiB) TX bytes:2836021 (2.7 MiB)

eth0 Link encap:Ethernet HWaddr 00:0D:60:53:32:C9
inet addr:172.16.129.40 Bcast:172.16.135.255 Mask:255.255.248.0
inet6 addr: fe80::20d:60ff:fe53:32c9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1434026 errors:0 dropped:0 overruns:0 frame:0
TX packets:254867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:162707020 (155.1 MiB) TX bytes:38375093 (36.5 MiB)
Interrupt:217

eth1 Link encap:Ethernet HWaddr 00:E0:ED:08:7E:16
inet6 addr: fe80::2e0:edff:fe08:7e16/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
RX packets:317551 errors:0 dropped:0 overruns:0 frame:0
TX packets:15865 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34522050 (32.9 MiB) TX bytes:2330967 (2.2 MiB)
Interrupt:50

eth2 Link encap:Ethernet HWaddr 00:E0:ED:08:7E:16
inet6 addr: fe80::2e0:edff:fe08:7e16/64 Scope:Link
UP BROADCAST RUNNING NOARP SLAVE MULTICAST MTU:9000 Metric:1
RX packets:996 errors:0 dropped:0 overruns:0 frame:0
TX packets:3947 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64444 (62.9 KiB) TX bytes:505054 (493.2 KiB)
Interrupt:217

what do you get when you run ifconfig -a?

Last edited by Sparky1; 10-02-2007 at 08:26 PM. Reason: updates
 
Old 11-12-2007, 08:42 AM   #3
unixfoo
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Linux bonding

Chk this how-to doc to create bonding in Linux: http://unixfoo.blogspot.com/search/label/networking
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonding:Error:Found a client with no channel in the client hash table niravdani Linux - Networking 2 08-19-2013 07:31 AM
bonding aylov Linux - Networking 7 09-03-2007 11:24 PM
Bonding:Error: found a client with no channel in the client's hash table niravdani Linux - Hardware 2 03-10-2005 10:38 AM
Bonding:Error:Found a client with no channel in the client hash table niravdani Red Hat 1 03-10-2005 07:13 AM
SQL Startup error : Error while setting value '@MYSQL_TCP_PORT@' to 'port' glenn69 Linux - Newbie 1 08-07-2004 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration