Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems with bonding

Reply
Thread Tools Display Modes

Problems with bonding

 
 
Heiko Gerstung
Guest
Posts: n/a

 
      08-23-2004, 09:37 AM
Hello!

I am using a linux kernel v2.4.21 and tried to incorporate bonding on
two interfaces (eth1 and eth2) in active backup mode.

Everything works fine, but when I unplug the first involved ethernet
interface (eth1), a connection is lost. My logs and "cat
/proc/net/bond0/info" show that the bonding module correctly switched
over from eth1 to eth2, but the communication seems to stop until I plug
in the eth1 cable again.

Is there anyone who faced the same problem and found a solution?

Thank you in advance,
kind regards,

Heiko
 
Reply With Quote
 
 
 
 
P Gentry
Guest
Posts: n/a

 
      08-23-2004, 04:32 PM
Heiko Gerstung <(E-Mail Removed)> wrote in message news:<kfqov1-(E-Mail Removed)>...
> Hello!
>
> I am using a linux kernel v2.4.21 and tried to incorporate bonding on
> two interfaces (eth1 and eth2) in active backup mode.


Googled for any info specific to this kernel? I tried:
Linux Channel Bonding kernel 2.4.21
but turned up no widespread/generic problems

What about same with your distro?

> Everything works fine, but when I unplug the first involved ethernet
> interface (eth1), a connection is lost. My logs and "cat
> /proc/net/bond0/info" show that the bonding module correctly switched
> over from eth1 to eth2, but the communication seems to stop until I plug
> in the eth1 cable again.


Does mii-tool provide any clues? $ man mii-tool How about ethtool?

> Is there anyone who faced the same problem and found a solution?
>
> Thank you in advance,
> kind regards,
>
> Heiko


Checked your distro's bonding.txt file? Eg., this old RH8 box I'm at
now:
$ locate bonding.txt
/usr/src/linux-2.4.18-14/Documentation/networking/bonding.txt
$ cat /usr/src/linux-2.4.18-14/Documentation/networking/bonding.txt |
more

also check:
$ locate ifenslave
/usr/share/doc/iputils-20020124/README.ifenslave
$ cat /usr/share/doc/iputils-20020124/README.ifenslave | more

If not a setup or config error (which your info suggests is not the
case), and one would think the nic drivers would properly support mii
(though not _all_ do) I can only think of one other thing that _might_
get in the way ;-)

This is sheer speculation -- is your distro loading ifplugd as part of
the ifup script?

Well 2, I guess -- can your upstream connection deal with it without
getting confused?

Note that RH (as usual) is likely a bit different in seting up HA
bonding:
http://www.redhat.com/docs/manuals/e...NTERFACES-CHAN
See -- 8.2.3. Channel Bonding Interfaces and look at:
http://www.redhat.com/docs/manuals/e...-ethernet.html

Can't think of anything else to check offhand -- more details re: your
setup/config?

hth,
prg
email above disabled
 
Reply With Quote
 
Heiko Gerstung
Guest
Posts: n/a

 
      08-24-2004, 12:17 PM
Hi P !

Thank you very much for your answer. After a whole day of testing I
found out that its a driver issue. I had to implement a feature in the
nic driver we are using and I missed a little detail.

Sorry to steal your time,
now everything works fine!

Kind regards,
Heiko

P Gentry wrote:
> Heiko Gerstung <(E-Mail Removed)> wrote in message news:<kfqov1-(E-Mail Removed)>...
>
>>Hello!
>>
>>I am using a linux kernel v2.4.21 and tried to incorporate bonding on
>>two interfaces (eth1 and eth2) in active backup mode.

>
>
> Googled for any info specific to this kernel? I tried:
> Linux Channel Bonding kernel 2.4.21
> but turned up no widespread/generic problems
>
> What about same with your distro?
>
>
>>Everything works fine, but when I unplug the first involved ethernet
>>interface (eth1), a connection is lost. My logs and "cat
>>/proc/net/bond0/info" show that the bonding module correctly switched
>>over from eth1 to eth2, but the communication seems to stop until I plug
>>in the eth1 cable again.

>
>
> Does mii-tool provide any clues? $ man mii-tool How about ethtool?
>
>
>>Is there anyone who faced the same problem and found a solution?
>>
>>Thank you in advance,
>>kind regards,
>>
>>Heiko

>
>
> Checked your distro's bonding.txt file? Eg., this old RH8 box I'm at
> now:
> $ locate bonding.txt
> /usr/src/linux-2.4.18-14/Documentation/networking/bonding.txt
> $ cat /usr/src/linux-2.4.18-14/Documentation/networking/bonding.txt |
> more
>
> also check:
> $ locate ifenslave
> /usr/share/doc/iputils-20020124/README.ifenslave
> $ cat /usr/share/doc/iputils-20020124/README.ifenslave | more
>
> If not a setup or config error (which your info suggests is not the
> case), and one would think the nic drivers would properly support mii
> (though not _all_ do) I can only think of one other thing that _might_
> get in the way ;-)
>
> This is sheer speculation -- is your distro loading ifplugd as part of
> the ifup script?
>
> Well 2, I guess -- can your upstream connection deal with it without
> getting confused?
>
> Note that RH (as usual) is likely a bit different in seting up HA
> bonding:
> http://www.redhat.com/docs/manuals/e...NTERFACES-CHAN
> See -- 8.2.3. Channel Bonding Interfaces and look at:
> http://www.redhat.com/docs/manuals/e...-ethernet.html
>
> Can't think of anything else to check offhand -- more details re: your
> setup/config?
>
> hth,
> prg
> email above disabled


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonding Nicky Linux Networking 3 05-25-2006 10:26 AM
ppp and bonding help laclac01@yahoo.com Linux Networking 0 03-09-2006 03:03 PM
Bonding and arp monitoring mathias.kanstrup@ongame.com Linux Networking 0 07-15-2005 02:35 PM
Bonding problems 3Com 3C980 cards Arjan Linux Networking 4 10-26-2004 06:21 AM
linux bonding 2.4.21 francois dumont Linux Networking 2 07-08-2003 08:56 AM



1 2 3 4 5 6 7 8 9 10 11