<div dir="ltr">Pradeep Satyanarayana <span dir="ltr"><<a href="mailto:pradeeps@linux.vnet.ibm.com">pradeeps@linux.vnet.ibm.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I downloaded a recent version of Roland's git tree and tried IPoIB bonding. Fail over does not seem to be working at all. I have tried OFED 1.3.2 on a Rhel5 derivative and that (fail over) worked as expected.<br>
<br>
Is this a known issue? Given that OFED 1.4 will be in sync with main line kernel, is this an issue to be addressed in OFED 1.4 too? Has any one else tried this out recently? My impression is that all bonding patches were already upstream.</blockquote>
</div><br>I just tried ipoib/bonding with mainline kernel 2.6.27 and it works fine, as expected, see below. Can you repeat the exact sequence and see if it works for you, or send the settings that break bonding/ipoib on your system? I didn't use network scripts but this should be the issue if you use the directives that come with the ib-bonding package.<br>
<br><title></title><base href="https://owa.voltaire.com/exchange/org/Inbox/bonding-2.EML/"><style>BODY{font-size:70%;font-family:monospace;direction:ltr}</style>
<p><font size="2">$ modprobe bonding mode=active-backup miimon=100<br>$ modprobe
ib_ipoib<br>$ echo +ib0 > /sys/class/net/bond0/bonding/slaves<br>$ echo +ib1
> /sys/class/net/bond0/bonding/slaves<br>$ ifconfig bond0 <a href="http://10.10.5.62/16">10.10.5.62/16</a>
up<br>$ ping <a href="http://10.10.0.90">10.10.0.90</a> &<br>$ ifconfig ib0 down<br>$ dmesg | grep
bonding<br><br>bonding: MII link monitoring set to 100 ms<br>bonding: bond0:
doing slave updates when interface is down.<br>bonding: bond0: Adding slave
ib0.<br>bonding bond0: master_dev is not up in bond_enslave<br>bonding: bond0:
Warning: enslaved VLAN challenged slave ib0. Adding VLANs will be blocked as
long as ib0 is part of bond bond0<br>bonding: bond0: Warning: The first slave
device specified does not support setting the MAC address. Setting fail_over_mac
to active.<6>bonding: bond0: enslaving ib0 as a backup interface with a
down link.<br>bonding: bond0: doing slave updates when interface is
down.<br>bonding: bond0: Adding slave ib1.<br>bonding bond0: master_dev is not
up in bond_enslave<br>bonding: bond0: Warning: enslaved VLAN challenged slave
ib1. Adding VLANs will be blocked as long as ib1 is part of bond
bond0<br>bonding: bond0: enslaving ib1 as a backup interface with a down
link.<br>bonding: bond0: link status definitely up for interface
ib0.<br>bonding: bond0: making interface ib0 the new active one.<br>bonding:
bond0: first active interface up!<br>bonding: bond0: link status definitely up
for interface ib1.<br>bonding: bond0: link status definitely down for interface
ib0, disabling it<br>bonding: bond0: making interface ib1 the new active
one.<br></font></p><br></div>