<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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation mono','bitstream vera mono','dejavu mono',monospace;white-space:pre-wrap;word-wrap:break-word;font-weight:bold;color:rgb(0,0,0);line-height:18px">BONDING_OPTS="<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:'liberation mono','bitstream vera mono','dejavu mono',monospace;word-wrap:break-word">bonding parameters</code></em>"</code><span style="color:rgb(0,0,0);font-family:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation mono','bitstream vera mono','dejavu mono',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:'liberation mono','bitstream vera mono','dejavu mono',monospace;word-wrap:break-word">N</code></em></code><span style="color:rgb(0,0,0);font-family:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation mono','bitstream vera mono','dejavu mono',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:'liberation mono','bitstream vera mono','dejavu mono',monospace;word-wrap:break-word">bonding</code></em>.conf</code><span style="color:rgb(0,0,0);font-family:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation mono','bitstream vera mono','dejavu mono',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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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:'liberation sans','Myriad ','Bitstream Vera Sans','Lucida Grande','Luxi Sans','Trebuchet MS',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"><<a href="mailto:adamb@glaven.org" target="_blank">adamb@glaven.org</a>></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'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>
> I cannot for the life of me get port bonding to work in EL-6. Here is<br>
> what the ifcfg files and modprobe.d/bonding.conf look like<br>
><br>
> # cat ifcfg-bond0�<br>
> DEVICEE="bond0"<br>
> ONBOOT="yes"<br>
> BOOTPROTO="none"<br>
> IPADDR="172.16.200.11"<br>
> IPV6INIT="no"<br>
> NETMASK="255.255.255.0"<br>
> USERCTL=no<br>
> BONDING_OPTS="mode=4 miimon=100"<br>
><br>
><br>
> # 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<br>
><br>
><br>
> # 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<br>
><br>
><br>
> # cat /etc/modprobe.d/bond.conf�<br>
> alias bond0 bonding<br>
><br>
><br>
> # lsmod | grep bonding<br>
> bonding � � � � � � � 127363 �0�<br>
> 8021q � � � � � � � � �25317 �1 bonding<br>
> ipv6 � � � � � � � � �321454 �86<br>
> bonding,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6<br>
><br>
><br>
> I run service network restart and get. I should note that the bonding<br>
> module is not loaded at boot.<br>
><br>
> # service network restart�<br>
><br>
> Shutting down loopback interface: � � � � � � � � � � � � �[ �OK �]<br>
> Bringing up loopback interface: � � � � � � � � � � � � � �[ �OK �]<br>
> Bringing up interface bond0: �Device does not seem to be present,<br>
> delaying initialization.<br>
> � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �[FAILED]<br>
><br>
><br>
> Now I can create the bond manually and it works.<br>
><br>
> # modprobe bonding mode=4 miimon=100<br>
</div></div>> # ifconfig bond0 <a href="http://172.16.200.11/24" target="_blank">172.16.200.11/24</a> <<a href="http://172.16.200.11/24" target="_blank">http://172.16.200.11/24</a>><br>
<div class="im">> # 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>
</div>> 64 bytes from 172.16.200.13 <<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>>: icmp_seq=1<br>
> ttl=64 time=0.806 ms<br>
> 64 bytes from 172.16.200.13 <<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>>: icmp_seq=2<br>
> ttl=64 time=0.213 ms<br>
> 64 bytes from 172.16.200.13 <<a href="http://172.16.200.13" target="_blank">http://172.16.200.13</a>>: icmp_seq=3<br>
<div><div class="h5">> 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<br>
><br>
><br>
> #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>
> Aggregator ID: 1<br>
> Number of ports: 2<br>
> Actor Key: 17<br>
> Partner Key: 682<br>
> 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<br>
><br>
><br>
> Not sure what I am doing wrong but I need some help.<br>
><br>
><br>
> Christopher Cross<br>
</div></div>> <a href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</a> <mailto:<a href="mailto:g1ccross@gmail.com">g1ccross@gmail.com</a>><br>
><br>
><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><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>