[Sussex] Bonding silly

Brendan Whelan b_whelan at mistral.co.uk
Wed Sep 14 11:43:55 UTC 2005


Hello,

I had the bonding of the two Ethernet ports on my test system working. Unfortunately, being a development machine things were changed and the bonding no longer works. (My business partner calls this software rot.) Below are details of the various files and output from the system.

Can anyone spot the error?

Thanks, Brendan
-----------------------------------------------------------------
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
nnn.nnn.40.0    0.0.0.0         255.255.255.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 bond0

ifconfig
bond0     Link encap:Ethernet  HWaddr 00:C0:9F:39:3F:20
          inet addr:nnn.nnn.40.31  Bcast:nnn.nnn.40.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:5 dropped:0 overruns:0 carrier:5
          collisions:0 txqueuelen:0
          RX bytes:354 (354.0 b)  TX bytes:2124 (2.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2823089 (2.6 MiB)  TX bytes:2823089 (2.6 MiB)
-------------------------------------------------
/etc/modprobe.conf
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias eth0 e1000
alias eth1 e100
alias usb-controller2 ohci-hcd
alias bond0 bonding
options bond0 miimon=100 

-------------------------------------------------
Was advised to created this file but not sure if it is needed?
/etc/modules.conf
alias bond0 bonding

-------------------------------------------------
/etc/sysconfig/network-scripts/ifcfg-bond0
# Bond Ethernet ports
DEVICE=bond0
TYPE=bonding
IPADDR=nnn.nnn.40.31
NETMASK=255.255.255.0
NETWORK=nnn.nnn.40.0
BROADCAST=nnn.nnn.40.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

-------------------------------------------------
/etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corp. 82540EM Gigabit Ethernet Controller
DEVICE=eth0
USERCTL=no
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
TYPE=ethernet

-------------------------------------------------
/etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corp. 82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
USERCTL=no
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
TYPE=ethernet



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20050914/d11fb93d/attachment.htm 


More information about the Sussex mailing list