<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Linux RH4.6AS bonding - active standby primary options in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248240#M83676</link>
    <description>Hi I am having issues with the options within Active Standby bonding. modprobe.conf looks like this - &lt;BR /&gt;&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;options bond0 mode=1 miimon=100 max_bonds=3 primary=eth0 downdelay=0 updelay=10000&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;options bond1 mode=1 miimon=100 primary=eth3 downdelay=0 updelay=10000&lt;BR /&gt;alias bond2 bonding&lt;BR /&gt;options bond2 mode=1 miimon=100 primary=eth4 downdelay=0 updelay=10000&lt;BR /&gt;&lt;BR /&gt;I am trying to create three bonds - bond0 bond1 and bond2. The bonds create successfully, but they do not read the options for primary correctly - if I do more /proc/net/bonding/bond0 I see that primary is eth0, but if I do the same for bond1 - it's primary is eth0 too - even though I have specified it above. It must be reading the options as I can see it's reading the startup delay options.&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Aug 2008 17:30:06 GMT</pubDate>
    <dc:creator>motech</dc:creator>
    <dc:date>2008-08-07T17:30:06Z</dc:date>
    <item>
      <title>Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248240#M83676</link>
      <description>Hi I am having issues with the options within Active Standby bonding. modprobe.conf looks like this - &lt;BR /&gt;&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;options bond0 mode=1 miimon=100 max_bonds=3 primary=eth0 downdelay=0 updelay=10000&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;options bond1 mode=1 miimon=100 primary=eth3 downdelay=0 updelay=10000&lt;BR /&gt;alias bond2 bonding&lt;BR /&gt;options bond2 mode=1 miimon=100 primary=eth4 downdelay=0 updelay=10000&lt;BR /&gt;&lt;BR /&gt;I am trying to create three bonds - bond0 bond1 and bond2. The bonds create successfully, but they do not read the options for primary correctly - if I do more /proc/net/bonding/bond0 I see that primary is eth0, but if I do the same for bond1 - it's primary is eth0 too - even though I have specified it above. It must be reading the options as I can see it's reading the startup delay options.&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 17:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248240#M83676</guid>
      <dc:creator>motech</dc:creator>
      <dc:date>2008-08-07T17:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248241#M83677</link>
      <description>Maybe you have errors in your net config files in /etc/sysconfig/networc-scripts.&lt;BR /&gt;&lt;BR /&gt;You chould have one file for every bond interface and one for every normal interface.&lt;BR /&gt;&lt;BR /&gt;In the normal interfaces you should specify which is the master bonding interface for that lan: &lt;BR /&gt;&lt;BR /&gt;DEVICE=eth&lt;N&gt;&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;USERCTL=no&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See the examples - &lt;A href="http://kbase.redhat.com/faq/FAQ_79_899.shtm" target="_blank"&gt;http://kbase.redhat.com/faq/FAQ_79_899.shtm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan&lt;/N&gt;</description>
      <pubDate>Thu, 07 Aug 2008 18:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248241#M83677</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-08-07T18:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248242#M83678</link>
      <description>The ifcfg-scripts are there and look like this:&lt;BR /&gt;&lt;BR /&gt;For eth3 (the one I want to be primary in bond1) the script is:&lt;BR /&gt;&lt;BR /&gt;DEVICE=eth3&lt;BR /&gt;BOOTPROTO=static&lt;BR /&gt;MASTER=bond1&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;For bond1 (the teamed interface who's primary adapter I want to be eth3) it looks like this:&lt;BR /&gt;&lt;BR /&gt;DEVICE=bond0&lt;BR /&gt;BOOTPROTO=static&lt;BR /&gt;IPADDR=10.7.20.22&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;BROADCAST=10.7.20.255&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;Any ideas what I'm doing wrong?&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Aug 2008 06:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248242#M83678</guid>
      <dc:creator>motech</dc:creator>
      <dc:date>2008-08-08T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248243#M83679</link>
      <description>For bond1 you have :&lt;BR /&gt;DEVICE=bond0 &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Fri, 08 Aug 2008 06:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248243#M83679</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-08-08T06:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248244#M83680</link>
      <description>Hello motech,&lt;BR /&gt;&lt;BR /&gt;In adition to what Ivan said (in your /etc/sysconfig/network-scripts/ifcfg-bond1 file instead of "DEVICE=bond1" you have "DEVICE=bond0") also do the following.&lt;BR /&gt;&lt;BR /&gt;In all of the /etc/sysconfig/network-scripts/ifcfg-ethX files for the slave interfaces you should have:&lt;BR /&gt;&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;Your example for eth3 showed that you had "BOOTPROTO=static" instead. Fix /etc/sysconfig/network-scripts/ifcfg-eth3 file and check the rest of your slave interfaces ifcfg-ethX files.&lt;BR /&gt;&lt;BR /&gt;I use "BOOTPROTO=none" in all of the /etc/sysconfig/network-scripts/ifcfg-bondX files too.&lt;BR /&gt;&lt;BR /&gt;Also add "USERCTL=no" to all of the slave interfaces ifcfg-ethX files.&lt;BR /&gt;&lt;BR /&gt;Here is an example of what I usually put in /etc/modprobe.conf.&lt;BR /&gt;&lt;BR /&gt;In this example I have 2 bond interfaces:&lt;BR /&gt;&lt;BR /&gt;bond0: eth5 &amp;amp; eth8&lt;BR /&gt;&lt;BR /&gt;bond1: eth0 &amp;amp; eth6&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/modprobe.conf:&lt;BR /&gt;&lt;BR /&gt;#-----------------------------------------------------------------------------&lt;BR /&gt;#install bond# /sbin/modprobe -a ethX ethY &amp;amp;&amp;amp; /sbin/modprobe bonding&lt;BR /&gt;#alias bond# bonding&lt;BR /&gt;#options bond# -o bond# miimon=100 mode=1 downdelay=100 updelay=100&lt;BR /&gt;# mode=0 --&amp;gt;    Round-robin policy: Transmit in a sequential order&lt;BR /&gt;#               from the first available slave through the last. This&lt;BR /&gt;#               mode provides load balancing and fault tolerance.&lt;BR /&gt;# mode=1 --&amp;gt;    Active-backup policy: Only one slave in the bond is&lt;BR /&gt;#               active.  A different slave becomes active if, and only&lt;BR /&gt;#               if, the active slave fails.  The bond's MAC address is&lt;BR /&gt;#               externally visible on only one port (network adapter)&lt;BR /&gt;#               to avoid confusing the switch.  This mode provides&lt;BR /&gt;#               fault tolerance.  The primary option affects the&lt;BR /&gt;#               behavior of this mode.&lt;BR /&gt;# miimon=100 -&amp;gt; Specifies the frequency in milli-seconds that MII link&lt;BR /&gt;#               monitoring will occur. A value of zero disables MII link&lt;BR /&gt;#               monitoring. A value of 100 is a good starting point.&lt;BR /&gt;# max_bonds=2 -&amp;gt; this is the maximum number of bondN devices created&lt;BR /&gt;#               If you need to create more, change _every_ options line&lt;BR /&gt;#-----------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;install bond0 /sbin/modprobe -a eth5 eth8 &amp;amp;&amp;amp; /sbin/modprobe bonding&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;options bond0 miimon=100 mode=1 downdelay=100 updelay=100 max_bonds=2&lt;BR /&gt;&lt;BR /&gt;install bond1 /sbin/modprobe -a eth0 eth6 &amp;amp;&amp;amp; /sbin/modprobe bonding&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;options bond1 miimon=100 mode=1 downdelay=100 updelay=100 max_bonds=2&lt;BR /&gt;&lt;BR /&gt;#-----------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Another tip -- you can add lines like the following to your ifcfg files:&lt;BR /&gt;&lt;BR /&gt;ETHTOOL_OPTS="speed 1000 duplex full autoneg off"&lt;BR /&gt;&lt;BR /&gt;Of course customize this to your environment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Ross</description>
      <pubDate>Sat, 09 Aug 2008 02:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248244#M83680</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2008-08-09T02:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linux RH4.6AS bonding - active standby primary options</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248245#M83681</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I recommend the above mentioned changes to the ifcfg files ans a simpler bonding mechanism.&lt;BR /&gt;&lt;BR /&gt;You really have six network cards you want to bond into three groups?&lt;BR /&gt;&lt;BR /&gt;If you really do you should be able to take ifcfg-ethX configuration from a simpler system that has bonding working, replicate it and comment out the hardware address.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 10 Aug 2008 13:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-rh4-6as-bonding-active-standby-primary-options/m-p/4248245#M83681</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-10T13:42:54Z</dc:date>
    </item>
  </channel>
</rss>

