<?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: Need help configuring bond1 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250328#M81013</link>
    <description>Hi Randy,&lt;BR /&gt;&lt;BR /&gt;default max_bond = 1 when not specified.&lt;BR /&gt;&lt;BR /&gt;Try reloading bonding driver with max_bonds = 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
    <pubDate>Wed, 04 Aug 2010 14:27:48 GMT</pubDate>
    <dc:creator>FLQ</dc:creator>
    <dc:date>2010-08-04T14:27:48Z</dc:date>
    <item>
      <title>Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250327#M81012</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I have the need to create a network bond0 and bond1. bond0 appears to be configured OK, but when starting the network for bond1 I get this error. &lt;BR /&gt;&lt;BR /&gt;[root@robin etc]# uname -r&lt;BR /&gt;2.6.18-8.el5&lt;BR /&gt;[root@robin etc]#&lt;BR /&gt;&lt;BR /&gt;[root@robin etc]# ifup bond1 &lt;BR /&gt;bonding device bond1 does not seem to be present, delaying initialization. &lt;BR /&gt;[root@robin etc]# &lt;BR /&gt;&lt;BR /&gt;Here are thke configuration files: &lt;BR /&gt;[root@robin etc]# cat ifcfg-bond1 &lt;BR /&gt;DEVICE=bond1 &lt;BR /&gt;BOOTPROTO=none &lt;BR /&gt;ONBOOT=yes &lt;BR /&gt;NETWORK=192.168.2.0 &lt;BR /&gt;NETMASK=255.255.255.0 &lt;BR /&gt;IPADDR=192.168.2.11 &lt;BR /&gt;USERCTL=no &lt;BR /&gt;TYPE=Ethernet &lt;BR /&gt;IPV6INIT=no &lt;BR /&gt;PEERDNS=yes &lt;BR /&gt;BONDING_OPTS="mode=1 miimon=500" &lt;BR /&gt;&lt;BR /&gt;[root@robin etc]# cat ifcfg-eth2 &lt;BR /&gt;# Broadcom Corporation NetXtreme BCM5715S Gigabit Ethernet &lt;BR /&gt;DEVICE=eth2 &lt;BR /&gt;BOOTPROTO=none &lt;BR /&gt;ONBOOT=no &lt;BR /&gt;MASTER=bond1 &lt;BR /&gt;SLAVE=yes &lt;BR /&gt;TYPE=Ethernet &lt;BR /&gt;USERCTL=no &lt;BR /&gt;IPV6INIT=no &lt;BR /&gt;[root@robin etc]# cat ifcfg-eth3 &lt;BR /&gt;# Broadcom Corporation NetXtreme BCM5715S Gigabit Ethernet &lt;BR /&gt;DEVICE=eth3 &lt;BR /&gt;BOOTPROTO=none &lt;BR /&gt;ONBOOT=no &lt;BR /&gt;MASTER=bond1 &lt;BR /&gt;SLAVE=yes &lt;BR /&gt;TYPE=Ethernet &lt;BR /&gt;USERCTL=no &lt;BR /&gt;IPV6INIT=no &lt;BR /&gt;[root@robin etc]# cat /etc/modprobe.conf &lt;BR /&gt;alias bond0 bonding &lt;BR /&gt;alias bond1 bonding &lt;BR /&gt;alias scsi_hostadapter1 usb-storage &lt;BR /&gt;alias scsi_hostadapter2 qla2xxx_conf &lt;BR /&gt;alias scsi_hostadapter3 qla2xxx &lt;BR /&gt;alias scsi_hostadapter4 qla2300 &lt;BR /&gt;alias scsi_hostadapter5 qla2400 &lt;BR /&gt;options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql &lt;BR /&gt;2xfailover=1 ql2xlbType=1 ql2xautorestore=0xa0 ConfigRequired=0 &lt;BR /&gt;remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx &amp;amp;&amp;amp; { /sbin &lt;BR /&gt;/modprobe -r --ignore-remove qla2xxx_conf; } &lt;BR /&gt;alias eth0 bnx2 &lt;BR /&gt;alias eth1 bnx2 &lt;BR /&gt;alias eth2 tg3 &lt;BR /&gt;alias eth3 tg3 &lt;BR /&gt;[root@robin etc]# &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Randy</description>
      <pubDate>Wed, 04 Aug 2010 14:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250327#M81012</guid>
      <dc:creator>Randy Hagedorn</dc:creator>
      <dc:date>2010-08-04T14:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250328#M81013</link>
      <description>Hi Randy,&lt;BR /&gt;&lt;BR /&gt;default max_bond = 1 when not specified.&lt;BR /&gt;&lt;BR /&gt;Try reloading bonding driver with max_bonds = 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 04 Aug 2010 14:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250328#M81013</guid>
      <dc:creator>FLQ</dc:creator>
      <dc:date>2010-08-04T14:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250329#M81014</link>
      <description>FLQ,&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestion, but I read on a post that max_bonds shouldn't be used when configuring networking with sysconfig files as it may confuse things. Instead using multiple ifcfg-bondX files is preferred.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Randy</description>
      <pubDate>Wed, 04 Aug 2010 14:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250329#M81014</guid>
      <dc:creator>Randy Hagedorn</dc:creator>
      <dc:date>2010-08-04T14:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250330#M81015</link>
      <description>&lt;BR /&gt;Hi Randy,&lt;BR /&gt;&lt;BR /&gt;you didn't tell the os which interfaces he should use.&lt;BR /&gt;&lt;BR /&gt;This is a exsample from a SLES10 system:&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network/ifcfg-bond0:&lt;BR /&gt;&lt;BR /&gt;BONDING_MASTER=yes&lt;BR /&gt;BONDING_MODULE_OPTS='miimon=100 mode=1 use_carrier=1'&lt;BR /&gt;BONDING_SLAVE0='eth-id-00:17:a4:77:d4:60'&lt;BR /&gt;BONDING_SLAVE1='eth-id-00:17:a4:77:d4:62'&lt;BR /&gt;BOOTPROTO='static'&lt;BR /&gt;IPADDR='192.168.2.7'&lt;BR /&gt;MTU='1500'&lt;BR /&gt;NETMASK='255.255.255.0'&lt;BR /&gt;STARTMODE='onboot'&lt;BR /&gt;&lt;BR /&gt;regards, Uli</description>
      <pubDate>Thu, 05 Aug 2010 05:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250330#M81015</guid>
      <dc:creator>KuehnUl</dc:creator>
      <dc:date>2010-08-05T05:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250331#M81016</link>
      <description>Uli,&lt;BR /&gt;&lt;BR /&gt;The O/S is RHEL 5.&lt;BR /&gt;&lt;BR /&gt;# uname -r&lt;BR /&gt;2.6.18-8.el5&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Randy</description>
      <pubDate>Thu, 05 Aug 2010 12:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250331#M81016</guid>
      <dc:creator>Randy Hagedorn</dc:creator>
      <dc:date>2010-08-05T12:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250332#M81017</link>
      <description>RHEL example&lt;BR /&gt;&lt;BR /&gt;/etc/modprob.conf&lt;BR /&gt;alias bond0 bonding&lt;BR /&gt;options bonding max_bonds=2&lt;BR /&gt;alias bond1 bonding&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts&lt;BR /&gt;ifcfg-bond0&lt;BR /&gt;DEVICE=bond0&lt;BR /&gt;IPADDR=xx.xx.xx.xx&lt;BR /&gt;NETMASK=255.255.255.192&lt;BR /&gt;BROADCAST=xx.xx.xx.127&lt;BR /&gt;ONBOOT=YES&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;USERCTL=no&lt;BR /&gt;TYPE=Bonding&lt;BR /&gt;BONDING_OPTS="mode=1 miimon=100"&lt;BR /&gt;&lt;BR /&gt;ifcfg-eth0&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;USERCTL=no&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;&lt;BR /&gt;ifcfg-eth1&lt;BR /&gt;DEVICE=eth1&lt;BR /&gt;USERCTL=no&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;MASTER=bond0&lt;BR /&gt;BOOTPROTO=none&lt;BR /&gt;SLAVE=yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;repeat the above for bond1 and ethx associated.&lt;BR /&gt;&lt;BR /&gt;service network restart&lt;BR /&gt;&lt;BR /&gt;cat /proc/net/bonding/bond0&lt;BR /&gt;cat /proc/net/bonding/bond1&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2010 18:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250332#M81017</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-08-06T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help configuring bond1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250333#M81018</link>
      <description>This issue was resolved by simply rebooting the system.  Apparently the eth3 device that was missing was actually created as dev24262, which was seen by the command ifconfig -a. The 'service network restart' command wasn't able to properly name the eth3 device.&lt;BR /&gt;&lt;BR /&gt;Also, it is possible the nics can be mapped differently on each boot. So to prevent this on RHEL 5, we created the file /etc/udev/rules.d/50-netdev.rules containing&lt;BR /&gt;&lt;BR /&gt;KERNEL =="eth*" , SYSFS{address} =="00:17:a4:77:24:10 " , NAME ="eth0"&lt;BR /&gt;&lt;BR /&gt;KERNEL =="eth*" , SYSFS{address} =="00:17:a4:77:24:12" , NAME ="eth1" &lt;BR /&gt;&lt;BR /&gt;KERNEL =="eth*" , SYSFS{address} =="00:17:a4:77:24:0c " , NAME ="eth2" &lt;BR /&gt;&lt;BR /&gt;KERNEL =="eth*" , SYSFS{address} =="00:17:a4:77:24:0e" , NAME ="eth3"&lt;BR /&gt;&lt;BR /&gt;Another method would be adding the HWADDR option to the /etc/sysconfig/network-scripts/ethX files.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Randy&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2010 12:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-configuring-bond1/m-p/5250333#M81018</guid>
      <dc:creator>Randy Hagedorn</dc:creator>
      <dc:date>2010-08-09T12:25:41Z</dc:date>
    </item>
  </channel>
</rss>

