<div dir="ltr"><div>I cannot for the life of me get port bonding to work in EL-6. Here is what the ifcfg files and modprobe.d/bonding.conf look like</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># cat ifcfg-bond0 <br>DEVICEE=&quot;bond0&quot;<br>ONBOOT=&quot;yes&quot;<br>BOOTPROTO=&quot;none&quot;<br>IPADDR=&quot;172.16.200.11&quot;<br>IPV6INIT=&quot;no&quot;<br>NETMASK=&quot;255.255.255.0&quot;<br>
USERCTL=no<br>BONDING_OPTS=&quot;mode=4 miimon=100&quot;</font></blockquote></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># cat ifcfg-p2p1<br>DEVICE=p2p1<br>BOOTPROTO=”none”<br>HWADDR=xxxxxxxx<br>NM_CONTROLLED=”no”<br>ONBOOT=”yes”<br>TYPE=”Ethernet”<br>UUID=xxxxxxx<br>MASTER=bond0<br>SLAVE=yes<br>USERCTL=no</font></blockquote>
</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace"># cat ifcfg-p2p2<br>
DEVICE=p2p2<br>BOOTPROTO=”none”<br>HWADDR=xxxxxxxx<br>NM_CONTROLLED=”no”<br>ONBOOT=”yes”<br>TYPE=”Ethernet”<br>UUID=xxxxxxx<br>MASTER=bond0<br>SLAVE=yes<br>USERCTL=no</font></blockquote></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># cat /etc/modprobe.d/bond.conf <br>alias bond0 bonding</font></blockquote></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># lsmod | grep bonding<br>bonding               127363  0 <br>8021q                  25317  1 bonding<br>ipv6                  321454  86 bonding,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6</font></blockquote>
</div><div><br></div><div>I run service network restart and get. I should note that the bonding module is not loaded at boot.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># service network restart</font> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace">Shutting down loopback interface:                          [  OK  ]<br>Bringing up loopback interface:                            [  OK  ]<br>Bringing up interface bond0:  Device does not seem to be present, delaying initialization.<br>
                                                           [FAILED]</font></blockquote><div><br></div><div>Now I can create the bond manually and it works.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace"># modprobe bonding mode=4 miimon=100<br># ifconfig bond0 <a href="http://172.16.200.11/24">172.16.200.11/24</a><br># ifenslave bond0 p2p1<br># ifenslave bond0 p2p2<br># ping -c 3 172.16.200.13<br>
PING 172.16.200.13 (172.16.200.13) 56(84) bytes of data.<br>64 bytes from <a href="http://172.16.200.13">172.16.200.13</a>: icmp_seq=1 ttl=64 time=0.806 ms<br>64 bytes from <a href="http://172.16.200.13">172.16.200.13</a>: icmp_seq=2 ttl=64 time=0.213 ms<br>
64 bytes from <a href="http://172.16.200.13">172.16.200.13</a>: icmp_seq=3 ttl=64 time=0.212 ms<br>--- 172.16.200.13 ping statistics ---<br>3 packets transmitted, 3 received, 0% packet loss, time 2000ms<br>rtt min/avg/max/mdev = 0.212/0.410/0.806/0.280 ms</font></blockquote>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace">#cat /proc/net/bonding/bond0<br>
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)<br>Bonding Mode: IEEE 802.3ad Dynamic link aggregation<br>Transmit Hash Policy: layer2 (0)<br>MII Status: up<br>MII Polling Interval (ms): 100<br>Up Delay (ms): 0<br>
Down Delay (ms): 0<br>802.3ad info<br>LACP rate: slow<br>Aggregator selection policy (ad_select): stable<br>Active Aggregator Info:<br><span class="" style="white-space:pre">        </span>Aggregator ID: 1<br><span class="" style="white-space:pre">        </span>Number of ports: 2<br>
<span class="" style="white-space:pre">        </span>Actor Key: 17<br><span class="" style="white-space:pre">        </span>Partner Key: 682<br><span class="" style="white-space:pre">        </span>Partner Mac Address: xxxxxx<br>Slave Interface: p2p1<br>
MII Status: up<br>Speed: 1000 Mbps<br>Duplex: full<br>Link Failure Count: 0<br>Permanent HW addr: xxxxxxx<br>Aggregator ID: 1<br>Slave queue ID: 0<br>Slave Interface: p2p2<br>MII Status: up<br>Speed: 1000 Mbps<br>Duplex: full<br>
Link Failure Count: 0<br>Permanent HW addr: xxxxxxx<br>Aggregator ID: 1<br>Slave queue ID: 0</font></blockquote></div><div><font face="courier new, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">Not sure what I am doing wrong but I need some help.</font></div>
<div><br></div><br clear="all"><div>Christopher Cross<br><a href="mailto:g1ccross@gmail.com" target="_blank">g1ccross@gmail.com</a><br><br></div>
</div>