Michael Grinnell
2006-Jun-22 21:21 UTC
[CentOS] HP DL360, tg3 driver, bonding and link flapping
Hi *, I'm running into a problem configuring bonding on an HP DL 360 G4p, running 4.3 + tg3 driver version 3.43f. I'm connecting eth0 and eth1 to a Cisco 2948 (CatOS 8.1(3)) and receiving flapping notices. The ethernet address is that of the primary interface. I have tried several different modes, including balance-rr (0), active-backup (1), and balance-alb (6). All have the same problem. More detailed info follows. 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/ Linux [root at centos-test ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.100.71 NETMASK=255.255.255.0 NETWORK=192.168.100.0 BROADCAST=192.168.100.255 GATEWAY=192.168.100.1 ONBOOT=yes BOOTPROTO=none USERCTL=no [root at centos-test ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none [root at centos-test ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none [root at centos-test~]# cat /etc/modprobe.conf alias eth0 tg3 alias eth1 tg3 alias bond0 bonding options bond0 mode=0 miimon=100 alias scsi_hostadapter cciss alias usb-controller ohci-hcd [root at centos-test ~]# modinfo tg3 filename: /lib/modules/2.6.9-34.ELsmp/kernel/drivers/net/tg3.ko author: David S. Miller (davem at redhat.com) and Jeff Garzik (jgarzik at pobox.com) description: Broadcom Tigon3 ethernet driver license: GPL version: 3.43f 7AC5B2FE640CA3E42CEB7C1 parm: tg3_debug:Tigon3 bitmapped debugging message enable value vermagic: 2.6.9-34.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 Port Name Status Vlan Level Duplex Speed Type ----- ------------------ ---------- ---------- ------ ------ ----- ------------ 2/11 Port 11 connected 256 normal a-full a-100 10/100BaseTX 2/12 Port 12 connected 256 normal a-full a-100 10/100BaseTX 2006 Jun 22 16:01:01 EDT -05:00 %ETHC-5-PORTTOSTP:Port 2/11 joined bridge port 2/11 2006 Jun 22 16:01:01 EDT -05:00 %ETHC-5-PORTTOSTP:Port 2/12 joined bridge port 2/12 2006 Jun 22 16:01:02 EDT -05:00 %SYS-4-P2_WARN: 1/Host 00:14:38:4c:e1:ee is flapping between port 2/12 and port 2/11 2006 Jun 22 16:01:19 EDT -05:00 %SYS-4-P2_WARN: 1/Host 00:14:38:4c:e1:ee is flapping between port 2/11 and port 2/12 I found http://www.uwsg.iu.edu/hypermail/linux/net/0605.1/0008.html but it wasn't very helpful. Other users seem to have it "just work." If anybody has run into this, I would appreciate some pointers. Thanks, Michael Grinnell Network Security Administrator The American University