<?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 Re: Two separate NIC bonding on one DL360 G4P RHEL4 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631817#M64428</link>
    <description>&lt;!--!*#--&gt;The "max_bonds=" parameter is something new fro RHEL4.  Redhat 7.3 and RHEL3.x do not require it. I have all 3 types running.&lt;BR /&gt;&lt;BR /&gt;To get 2 bonds (192.168.2.145 &amp;amp; 10.0.0.1)working in an eth0-eth2 &amp;amp; eth1-eth3 configuration so each bond uses an internal NIC port and an external add-in NIC port in case the add-in card fails, these are the following configurations that are needed. This also works for RHEL3 &amp;amp; Redhat 7.3 without the "max_bonds=" paramter in the /etc/modules.conf.&lt;BR /&gt;&lt;BR /&gt;/etc/modprobe.conf&lt;BR /&gt;----------------------&lt;BR /&gt;# The following lines have to be added to support 2 bonding interfaces.&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;options bond0 miimon=100 mode=1 max_bonds=2&lt;BR /&gt;options bond1 -o bonding1 miimon=100 mode=1&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-bond0&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;DEVICE=bond0&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;BROADCAST=192.168.2.255&lt;BR /&gt;IPADDR=192.168.2.145&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;NETWORK=192.168.2.0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-bond1&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;DEVICE=bond1&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;BROADCAST=10.0.0.255&lt;BR /&gt;IPADDR=10.0.0.1&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;NETWORK=10.0.0.0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;-------------------------------------------DEVICE=eth0&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth1&lt;BR /&gt;-------------------------------------------DEVICE=eth1&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond1&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth2&lt;BR /&gt;-------------------------------------------DEVICE=eth2&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth3&lt;BR /&gt;-------------------------------------------DEVICE=eth3&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond1&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;Set the default gateway in the /etc/sysconfig/network file along with your FQDN.</description>
    <pubDate>Wed, 20 Jun 2007 12:09:00 GMT</pubDate>
    <dc:creator>Scott Farwell</dc:creator>
    <dc:date>2007-06-20T12:09:00Z</dc:date>
    <item>
      <title>Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631813#M64424</link>
      <description>Hey everyone, I am stumped so I thought I'd see if I could throw this out to you all. I've got an NC77xx dual-port adapter and an NC71xx PCI-X dual-port adapter in there as well.  When I setup bonding for the onboard card, everything worked perfectly, eth0 and eth1 slaved themselves to bond0 just fine and all was well.  However, when I tried to create another bond (bond5) in the same fashion, it doesn't work and half the time eth1 won't come up in bond0 when I reboot unless I comment out the bond5 lines.  Attached are my configuration files for the interfaces as well as modprobe.  What am I missing? I couldn't find anything online to help me.  doing ifup on both eth2 and 3 both give the 'slaving to bond5' message, but whenever I try to ifup bond5 it says 'bonding device bond5 does not seem to be present, delaying initialization.'  I saw a suggestion somewhere to make its name zbond5 but that didn't do any good either.  Thanks in advance for any help you sling my way =).&lt;BR /&gt;&lt;BR /&gt;Kris&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2005 15:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631813#M64424</guid>
      <dc:creator>Kris Payne_1</dc:creator>
      <dc:date>2005-09-21T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631814#M64425</link>
      <description>Hi Kris,&lt;BR /&gt;&lt;BR /&gt;I've never been able to get more than 1 bond device working on a system.  I run into the same issues you detail.&lt;BR /&gt;&lt;BR /&gt;I'm presuming that the bond driver and the kernel have some conflicts.  I haven't taken the time to read through the source and see if my presumption of only 1 bond per system is justified. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;CG</description>
      <pubDate>Thu, 22 Sep 2005 17:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631814#M64425</guid>
      <dc:creator>Craig Gilmore</dc:creator>
      <dc:date>2005-09-22T17:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631815#M64426</link>
      <description>Hi Kris,&lt;BR /&gt;Have you used the "max_bonds=" option in you modprobe.conf.  Your line should look like this&lt;BR /&gt;options bond0 miimon=100 mode=0 max_bonds=3&lt;BR /&gt;&lt;BR /&gt;would create bond0 bond1 bond2&lt;BR /&gt;&lt;BR /&gt;Create your ifcfg-bond1 with the network info (normally I just copy ifcfg-bond0 and modify the network address).&lt;BR /&gt;Change your ethernet interface eg ifcfg-eth3 to use the new bonded interface "MASTER=bond1", restart the network (easiest way) and in theory, it should just all work.&lt;BR /&gt;&lt;BR /&gt;I also have an alternative suggestion, but you should see how this goes first.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Anthony&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Sep 2005 00:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631815#M64426</guid>
      <dc:creator>Anthony Martin_1</dc:creator>
      <dc:date>2005-09-29T00:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631816#M64427</link>
      <description>Excellent, max_bonds did indeed solve the issue.  Thank you !</description>
      <pubDate>Thu, 29 Sep 2005 10:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631816#M64427</guid>
      <dc:creator>Kris Payne_1</dc:creator>
      <dc:date>2005-09-29T10:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631817#M64428</link>
      <description>&lt;!--!*#--&gt;The "max_bonds=" parameter is something new fro RHEL4.  Redhat 7.3 and RHEL3.x do not require it. I have all 3 types running.&lt;BR /&gt;&lt;BR /&gt;To get 2 bonds (192.168.2.145 &amp;amp; 10.0.0.1)working in an eth0-eth2 &amp;amp; eth1-eth3 configuration so each bond uses an internal NIC port and an external add-in NIC port in case the add-in card fails, these are the following configurations that are needed. This also works for RHEL3 &amp;amp; Redhat 7.3 without the "max_bonds=" paramter in the /etc/modules.conf.&lt;BR /&gt;&lt;BR /&gt;/etc/modprobe.conf&lt;BR /&gt;----------------------&lt;BR /&gt;# The following lines have to be added to support 2 bonding interfaces.&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;options bond0 miimon=100 mode=1 max_bonds=2&lt;BR /&gt;options bond1 -o bonding1 miimon=100 mode=1&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-bond0&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;DEVICE=bond0&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;BROADCAST=192.168.2.255&lt;BR /&gt;IPADDR=192.168.2.145&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;NETWORK=192.168.2.0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-bond1&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;DEVICE=bond1&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;BROADCAST=10.0.0.255&lt;BR /&gt;IPADDR=10.0.0.1&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;NETWORK=10.0.0.0&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;TYPE=Ethernet&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;-------------------------------------------DEVICE=eth0&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth1&lt;BR /&gt;-------------------------------------------DEVICE=eth1&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond1&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth2&lt;BR /&gt;-------------------------------------------DEVICE=eth2&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth3&lt;BR /&gt;-------------------------------------------DEVICE=eth3&lt;BR /&gt;USERCTL=no&lt;BR /&gt;MASTER=bond1&lt;BR /&gt;ONBOOT=no&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;&lt;BR /&gt;Set the default gateway in the /etc/sysconfig/network file along with your FQDN.</description>
      <pubDate>Wed, 20 Jun 2007 12:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631817#M64428</guid>
      <dc:creator>Scott Farwell</dc:creator>
      <dc:date>2007-06-20T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Two separate NIC bonding on one DL360 G4P RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631818#M64429</link>
      <description>&lt;!--!*#--&gt;Device persistence can also be enabled to ensure that the NICs identifying themselves as eth1, eth2, etc... always remain on the same hardware ports in case of a failure of a single NIC port.  You don't want your eth names to shift.&lt;BR /&gt;&lt;BR /&gt;Upgrading to udev-095 from udev-039 that ships with RHEL4 is the smoothest solution, but that wasn't an option for me.  Using names other than eth0 - eth3 also wasn't an option for me.  Here is what we ended up using to get around udev-039's inability to re-use eth0-ethx names.&lt;BR /&gt;&lt;BR /&gt;Create a udev rule using YOUR MACS&lt;BR /&gt;Create an /etc/mactab file using YOUR MACS&lt;BR /&gt;Modify /etc/init.d/network to run nameif&lt;BR /&gt;&lt;BR /&gt;/etc/udev/rules.d/20-net.rules&lt;BR /&gt;--------------------------------&lt;BR /&gt;KERNEL="eth*", SYSFS{address}="00:0b:cd:69:c3:66", NAME="NIC1"&lt;BR /&gt;KERNEL="eth*", SYSFS{address}="00:0b:cd:69:c3:65", NAME="NIC2"&lt;BR /&gt;KERNEL="eth*", SYSFS{address}="00:11:0a:17:66:26", NAME="NIC3"&lt;BR /&gt;KERNEL="eth*", SYSFS{address}="00:11:0a:17:66:27", NAME="NIC4"&lt;BR /&gt;&lt;BR /&gt;/etc/mactab&lt;BR /&gt;-------------&lt;BR /&gt;eth0 00:0b:cd:69:c3:66&lt;BR /&gt;eth1 00:0b:cd:69:c3:65&lt;BR /&gt;eth2 00:11:0a:17:66:26&lt;BR /&gt;eth3 00:11:0a:17:66:27&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/network  &lt;BR /&gt;------------------------&lt;BR /&gt;(add right after&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;# Check that networking is up.&lt;BR /&gt;[ "${NETWORKING}" = "no" ] &amp;amp;&amp;amp; exit 0&lt;BR /&gt;&amp;lt;&amp;lt;)&lt;BR /&gt;&lt;BR /&gt;# RDD: add 'nameif' usage; uses /etc/mactab&lt;BR /&gt;nameif || echo "nameif: reports error"&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 12:19:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/two-separate-nic-bonding-on-one-dl360-g4p-rhel4/m-p/3631818#M64429</guid>
      <dc:creator>Scott Farwell</dc:creator>
      <dc:date>2007-06-20T12:19:27Z</dc:date>
    </item>
  </channel>
</rss>

