Dell 2650 e1000 and tg3 bonding issues

Aaron dell at microchp.org
Fri Dec 1 14:47:35 CST 2006


PROBLEM STATEMENT:
   Regardless of configuration, the bonding driver does 
not adhere to the options given.
   Dozens of modprobe.conf incantations have been 
performed and yet, the demon has not been exercised.

   The information in bond0 and bond1 indicate that 
options are being ignored in modprobe.conf.

   You can ignore the link failures.  I was performing 
failover testing.


OS: CentOS 4.3


SERVER: Dell 2650 with one pci Intel-1000MT Dual port gig 
nic and 2 on-board broadcom nics.
         BIOS is A10 which is old but does not seem to be 
related to this issue.


NETWORK: 2 Front end connections to Cisco 3550 100Mb 
interfaces (Fairly up to date IOS).
          2 Back end connections to Cisco 6506 (Latest 
IOS)




cat /proc/net/bonding/bond0 /proc/net/bonding/bond1

Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth1
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 2
Permanent HW addr: 00:04:23:d6:e7:a8

Slave Interface: eth2
MII Status: up
Link Failure Count: 3
Permanent HW addr: 00:06:5b:fe:55:cb


Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth1
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth1
MII Status: up
Link Failure Count: 2
Permanent HW addr: 00:04:23:d6:e7:a9

Slave Interface: eth3
MII Status: up
Link Failure Count: 2
Permanent HW addr: 00:06:5b:fe:55:cc





I read 
/usr/share/doc/kernel-doc-2.6.9/Documentation/networking/bonding.txt 
forwards and backwards and upside down with a security 
guard staring at me.

I have tried setting the bond/nic options in many 
different orders.

I have not specified any ethtool options, as I have not 
had any problems negotiating to the correct speed and 
duplex.  I am tempted to try that however, just for fun.



## modprobe.conf
   ( tried many variations of this and everything in 
bonding.txt                )
   ( tried commenting out the individual bond opts, 
leaving out the install, etc)


install bonding /sbin/modprobe e1000;/sbin/modprobe 
tg3;/sbin/modprobe --ignore-install bonding max_bonds=2 
mode=1 arp_interval=300 use_carrier=0 -o bond0 
arp_ip_target=10.0.160.1,10.0.160.2,10.0.160.3 mode=1 
use_carrier=0 primary=eth0 -o bonding1 mode=1 
use_carrier=0 primary=eth1 arp_interval=300 
arp_ip_target=192.168.210.100,192.168.210.101,192.168.2,192.168.210.3
#
alias bond0 bonding
options bond0 max_bonds=2 -o bond0 mode=1 use_carrier=0 
primary=eth0 arp_interval=300 
arp_ip_target=10.0.160.1,10.0.160.2,10.0.160.3
alias bond1 bonding
options bond1 -o bonding1 mode=1 use_carrier=0 
primary=eth1 arp_interval=300 
arp_ip_target=192.168.210.100,192.168.210.101,192.168.210.102
alias eth0 e1000
alias eth1 e1000
alias eth2 tg3
alias eth3 tg3
alias scsi_hostadapter aic7xxx
alias usb-controller ohci-hcd





## lspci

01:08.0 Ethernet controller: Intel Corporation 82546GB 
Gigabit Ethernet Controller (rev 03)
01:08.1 Ethernet controller: Intel Corporation 82546GB 
Gigabit Ethernet Controller (rev 03)
03:06.0 Ethernet controller: Broadcom Corporation 
NetXtreme BCM5701 Gigabit Ethernet (rev 15)
03:08.0 Ethernet controller: Broadcom Corporation 
NetXtreme BCM5701 Gigabit Ethernet (rev 15




eth0 (e1000) and eth2 (tg3) are the inside interfaces .:. 
eth1 (e1000) and eth3 (tg3) are the outside interfaces.




Hopefully I have not left any useful information off of 
here.

Any thoughts as to what I am missing?  Anyone else bonding 
a front and back side to a Dell 2650 using tg3 and e1000? 
 At first this looked allot like a problem I had with a 
Compaq DL380G3, but it is different.


--Aarön




More information about the Linux-PowerEdge mailing list