<div dir="ltr">I attempted both adding the options to my modprobe.d/bonding.conf and moving everything to /etc/modprobe.conf but both failed the same way. /etc/modprobe.conf is deprecated and the Red Hat docs say to not put the options in the bonding.conf.<br>
<br>From <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-chan.html">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-chan.html</a><br>
<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"><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)">Parameters for the bonding kernel module must be specified as a space-separated list in the </span><code class="" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:pre-wrap;word-wrap:break-word;font-weight:bold;color:rgb(0,0,0);line-height:18px">BONDING_OPTS=&quot;<em class="" style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline"><code style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;word-wrap:break-word">bonding parameters</code></em>&quot;</code><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)"> directive in the </span><code class="" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:pre-wrap;word-wrap:break-word;font-weight:bold;color:rgb(0,0,0);line-height:18px">ifcfg-bond<em class="" style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline"><code style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;word-wrap:break-word">N</code></em></code><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)"> interface file. Do</span><span class="" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;line-height:18px"><em style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline">not</em></span><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)"> specify options for the bonding device in </span><code class="" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:pre-wrap;word-wrap:break-word;font-weight:bold;color:rgb(0,0,0);line-height:18px">/etc/modprobe.d/<em class="" style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline"><code style="background-color:transparent;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;word-wrap:break-word">bonding</code></em>.conf</code><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)">, or in the deprecated </span><code class="" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;font-family:&#39;liberation mono&#39;,&#39;bitstream vera mono&#39;,&#39;dejavu mono&#39;,monospace;white-space:pre-wrap;word-wrap:break-word;font-weight:bold;color:rgb(0,0,0);line-height:18px">/etc/modprobe.conf</code><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)"> file. For further instructions and advice on configuring the bonding module and to view the list of bonding parameters, refer to </span><a class="" href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Channel_Bonding.html" style="background-color:rgb(238,238,236);font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;text-decoration:none;outline:none;color:rgb(0,102,204);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;line-height:18px">Section 25.7.2, “Using Channel Bonding”</a><span style="color:rgb(0,0,0);font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(238,238,236)">.</span></blockquote>
</div><div class="gmail_extra"><br clear="all"><div>Christopher Cross<br><a href="mailto:g1ccross@gmail.com" target="_blank">g1ccross@gmail.com</a><br><br></div>
<br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 3:09 PM, adam bultman <span dir="ltr">&lt;<a href="mailto:adamb@glaven.org" target="_blank">adamb@glaven.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Your modprobe.conf, or modprobe.d stuff, is missing the bonding info.<br>
<br>
I&#39;m not sure how version 6 does it, but on Centos5.9, I have:<br>
<br>
alias bond0 bonding<br>
options bond0 mode=4 miimon=100 downdelay=200<br>
<br>
<br>
in my /etc/modprobe.conf file.  You might need to put it in<br>
/etc/modprobe.d/bonding or something, though.<br>
<div><div class="h5"><br>
<br>
On 07/15/2013 12:35 PM, Christopher Cross wrote:<br>
&gt; I cannot for the life of me get port bonding to work in EL-6. Here is<br>
&gt; what the ifcfg files and modprobe.d/bonding.conf look like<br>
&gt;<br>
&gt;     # cat ifcfg-bond0�<br>
&gt;     DEVICEE=&quot;bond0&quot;<br>
&gt;     ONBOOT=&quot;yes&quot;<br>
&gt;     BOOTPROTO=&quot;none&quot;<br>
&gt;     IPADDR=&quot;172.16.200.11&quot;<br>
&gt;     IPV6INIT=&quot;no&quot;<br>
&gt;     NETMASK=&quot;255.255.255.0&quot;<br>
&gt;     USERCTL=no<br>
&gt;     BONDING_OPTS=&quot;mode=4 miimon=100&quot;<br>
&gt;<br>
&gt;<br>
&gt;     # cat ifcfg-p2p1<br>
&gt;     DEVICE=p2p1<br>
&gt;     BOOTPROTO=�none�<br>
&gt;     HWADDR=xxxxxxxx<br>
&gt;     NM_CONTROLLED=�no�<br>
&gt;     ONBOOT=�yes�<br>
&gt;     TYPE=�Ethernet�<br>
&gt;     UUID=xxxxxxx<br>
&gt;     MASTER=bond0<br>
&gt;     SLAVE=yes<br>
&gt;     USERCTL=no<br>
&gt;<br>
&gt;<br>
&gt;     # cat ifcfg-p2p2<br>
&gt;     DEVICE=p2p2<br>
&gt;     BOOTPROTO=�none�<br>
&gt;     HWADDR=xxxxxxxx<br>
&gt;     NM_CONTROLLED=�no�<br>
&gt;     ONBOOT=�yes�<br>
&gt;     TYPE=�Ethernet�<br>
&gt;     UUID=xxxxxxx<br>
&gt;     MASTER=bond0<br>
&gt;     SLAVE=yes<br>
&gt;     USERCTL=no<br>
&gt;<br>
&gt;<br>
&gt;     # cat /etc/modprobe.d/bond.conf�<br>
&gt;     alias bond0 bonding<br>
&gt;<br>
&gt;<br>
&gt;     # lsmod | grep bonding<br>
&gt;     bonding � � � � � � � 127363 �0�<br>
&gt;     8021q � � � � � � � � �25317 �1 bonding<br>
&gt;     ipv6 � � � � � � � � �321454 �86<br>
&gt;     bonding,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6<br>
&gt;<br>
&gt;<br>
&gt; I run service network restart and get. I should note that the bonding<br>
&gt; module is not loaded at boot.<br>
&gt;<br>
&gt;     # service network restart�<br>
&gt;<br>
&gt;     Shutting down loopback interface: � � � � � � � � � � � � �[ �OK �]<br>
&gt;     Bringing up loopback interface: � � � � � � � � � � � � � �[ �OK �]<br>
&gt;     Bringing up interface bond0: �Device does not seem to be present,<br>
&gt;     delaying initialization.<br>
&gt;     � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �[FAILED]<br>
&gt;<br>
&gt;<br>
&gt; Now I can create the bond manually and it works.<br>
&gt;<br>
&gt;     # modprobe bonding mode=4 miimon=100<br>
</div></div>&gt;     # ifconfig bond0 <a href="http://172.16.200.11/24" target="_blank">172.16.200.11/24</a> &lt;<a href="http://172.16.200.11/24" target="_blank">http://172.16.200.11/24</a>&gt;<br>
<div class="im">&gt;     # ifenslave bond0 p2p1<br>
&gt;     # ifenslave bond0 p2p2<br>
&gt;     # ping -c 3 172.16.200.13<br>
&gt;     PING 172.16.200.13 (172.16.200.13) 56(84) bytes of data.<br>
</div>&gt;     64 bytes from 172.16.200.13 &lt;<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>&gt;: icmp_seq=1<br>
&gt;     ttl=64 time=0.806 ms<br>
&gt;     64 bytes from 172.16.200.13 &lt;<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>&gt;: icmp_seq=2<br>
&gt;     ttl=64 time=0.213 ms<br>
&gt;     64 bytes from 172.16.200.13 &lt;<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>&gt;: icmp_seq=3<br>
<div><div class="h5">&gt;     ttl=64 time=0.212 ms<br>
&gt;     --- 172.16.200.13 ping statistics ---<br>
&gt;     3 packets transmitted, 3 received, 0% packet loss, time 2000ms<br>
&gt;     rtt min/avg/max/mdev = 0.212/0.410/0.806/0.280 ms<br>
&gt;<br>
&gt;<br>
&gt;     #cat /proc/net/bonding/bond0<br>
&gt;     Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)<br>
&gt;     Bonding Mode: IEEE 802.3ad Dynamic link aggregation<br>
&gt;     Transmit Hash Policy: layer2 (0)<br>
&gt;     MII Status: up<br>
&gt;     MII Polling Interval (ms): 100<br>
&gt;     Up Delay (ms): 0<br>
&gt;     Down Delay (ms): 0<br>
&gt;     802.3ad info<br>
&gt;     LACP rate: slow<br>
&gt;     Aggregator selection policy (ad_select): stable<br>
&gt;     Active Aggregator Info:<br>
&gt;     Aggregator ID: 1<br>
&gt;     Number of ports: 2<br>
&gt;     Actor Key: 17<br>
&gt;     Partner Key: 682<br>
&gt;     Partner Mac Address: xxxxxx<br>
&gt;     Slave Interface: p2p1<br>
&gt;     MII Status: up<br>
&gt;     Speed: 1000 Mbps<br>
&gt;     Duplex: full<br>
&gt;     Link Failure Count: 0<br>
&gt;     Permanent HW addr: xxxxxxx<br>
&gt;     Aggregator ID: 1<br>
&gt;     Slave queue ID: 0<br>
&gt;     Slave Interface: p2p2<br>
&gt;     MII Status: up<br>
&gt;     Speed: 1000 Mbps<br>
&gt;     Duplex: full<br>
&gt;     Link Failure Count: 0<br>
&gt;     Permanent HW addr: xxxxxxx<br>
&gt;     Aggregator ID: 1<br>
&gt;     Slave queue ID: 0<br>
&gt;<br>
&gt;<br>
&gt; Not sure what I am doing wrong but I need some help.<br>
&gt;<br>
&gt;<br>
&gt; Christopher Cross<br>
</div></div>&gt; <a href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</a> &lt;mailto:<a href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
&gt; For information, account preferences, or to unsubscribe see:<br>
&gt; <a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Adam<br>
<br>
_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></font></span></blockquote></div><br></div>