Bonding Issue and Link Enumeration with RHEL4
Mukarram Syed
muksyed at stanford.edu
Mon Feb 12 17:31:35 CST 2007
Hi Bonding Gurus.
I have implemented Bonding on RHEL4. It works fine until I reboot the
server.
After I reboot I could still see the ifconfig etc. running on the bond0
interface, but I can't ping the default gateway.
The eth0 is on bnx2 driver and eth2 is on e1000 driver.
I know that the Link Enumeration is causing this problem.
What happens is after I reboot the box, eth0 becomes eth1 and vice-versa.
Dell has a fix for this called the name_eths package where the script puts
the HWADDR (MAC address) in the ifcfg-eth0 and ifcfg-eth1 files, but since
there is no HWADDR in bond config files, this does not fix my problem.
For now what I have done is since the reboot has changed eth0 to eth1, I
have changed my ifcfg-eth0 to ifcfg-eth1 and bonding seems to have stuck on
to eth1 upon subsequent reboots. I don't know when it will fail back to
eth0.which remains to be seen.
Any fixes for Link Enumeration with Bonding would be immensely helpful.
Anything in the modprobe.conf file that you could do to stick the HWADDR
associated with the eth0 or 1 for bond would be helpful.
This is the article on Link Enumeration (I am sure most of you have read
it):
http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf
Help is appreciated.
Thanks in advance
Here's my configuration:
/etc/modprobe.conf:
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsi
alias scsi_hostadapter2 mptfc
alias scsi_hostadapter3 mptspi
alias scsi_hostadapter4 mptsas
alias scsi_hostadapter5 mptscsih
alias scsi_hostadapter6 lpfc
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
install bond0 /sbin/modprobe bonding -o bond0 miimon=100 mode=1 primary=eth0
alias eth0 bnx2
alias eth1 bnx2
###BEGINPP
include /etc/modprobe.conf.pp
###ENDPP
I also tried the following lines:
alias bond0 bonding
options bond0 miimon=100 mode=1 primary=eth0
bond0 Link encap:Ethernet HWaddr 00:18:8B:47:B3:2B
inet addr:171.67.33.163 Bcast:171.67.33.191 Mask:255.255.255.224
inet6 addr: fe80::218:8bff:fe47:b32b/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:4147 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:265408 (259.1 KiB) TX bytes:1898 (1.8 KiB)
eth0 Link encap:Ethernet HWaddr 00:18:8B:47:B3:2B
inet6 addr: fe80::218:8bff:fe47:b32b/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1436 (1.4 KiB)
Interrupt:169 Memory:d6000000-d6011100
eth2 Link encap:Ethernet HWaddr 00:18:8B:47:B3:2B
inet6 addr: fe80::218:8bff:fe47:b32b/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:4147 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:265408 (259.1 KiB) TX bytes:462 (462.0 b)
Base address:0xcce0 Memory:de9e0000-dea00000
ifcfg-bond0:
DEVICE=bond0
##BOOTPROTO=static
##HWADDR=00:18:8B:47:8B:FD
IPADDR=171.67.33.162
NETMASK=255.255.255.224
##GATEWAY=171.67.33.161
DOMAIN=stanford.edu
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
ifcfg-eth0:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
ifcfg-eth2:
DEVICE=eth2
USERCTL=no
ONBOOT=yes
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
-Mukarram Syed.
Mukarram Syed
muksyed at stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20070212/fcfa58a4/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list