Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#15 Bonding multiple sets of cards

open
nobody
None
5
2014-03-18
2003-12-23
Bill
No

Does anyone have any idea what I am doing wrong or if
it's possible to bond several set's of cards as 2 or 3
different devices?

I.E.
bond0 = eth1 & eth3
bond1= eth2 & eth4
bond2= eth0 & eth5 (Not attempting to
configure now)

At this point bond 2 isn’t important I have left eth0
configured by itself in the interest of accessibility during
my experimentation, because the machine is a couple of
steps away. I will tweak the various settings after I can
get greater then one set working.

I am setting this up on an IBM 335X with the 2 on board
nics (eth0&1) a BCM chipset and an Antares Quad
gigabit card (eth2-5). I am running SuSE ver 8.2 kernel
version 2.4.20

I can successfully get bond0 working but I cannot load
any other set? Does anybody have any Ideas?

Here is the error I am getting when I attempt to load
the second devise manually:

# ifconfig bond1###.###.###.### netmask
255.255.255.0 broadcast ###.###.###.255 up
SIOCSIFADDR: No such device
bond1: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
bond1: unknown interface: No such device
bond1: unknown interface: No such device

Here are my various config files:

/etc/sysconfig/network # more ifcfg-*
::::::::::::::
ifcfg-bond0
::::::::::::::
DEVICE=bond0
IPADDR=###.###.###.###
NETMASK=255.255.255.0
NETWORK=###.###.###.0
BROADCAST=###.###.###.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
::::::::::::::
ifcfg-bond1
::::::::::::::
DEVICE=bond1
IPADDR=###.###.###.###
NETMASK=255.255.255.0
NETWORK=###. ###. ###.0
BROADCAST=###. ###. ###.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
::::::::::::::
ifcfg-eth0
::::::::::::::
BOOTPROTO='static'
BROADCAST='###.###.###.255'
IPADDR='###. ###. ###. ###'
MTU=''
NETMASK='255.255.255.0'
NETWORK='###.###.###.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='###'
WIRELESS='no'
::::::::::::::
ifcfg-eth1
::::::::::::::
DEVICE='eth1'
USERCTL='no'
ONBOOT='yes'
MASTER='bond0'
SLAVE='yes'
BOOTPROTO='none'
::::::::::::::
ifcfg-eth2
::::::::::::::
DEVICE='eth2'
USERCTL='no'
ONBOOT='yes'
MASTER='bond1'
SLAVE='yes'
BOOTPROTO='none'
::::::::::::::
ifcfg-eth3
::::::::::::::
DEVICE='eth3'
USERCTL='no'
ONBOOT='yes'
MASTER='bond0'
SLAVE='yes'
BOOTPROTO='none'
::::::::::::::
ifcfg-eth4
::::::::::::::
DEVICE='eth4'
USERCTL='no'
ONBOOT='yes'
MASTER='bond1'
SLAVE='yes'
BOOTPROTO='none'

# tail -13 /etc/modules.conf
alias eth0 bcm5700
alias eth1 bcm5700
alias eth2 tc902x
alias eth3 tc902x
alias eth4 tc902x
alias eth5 tc902x
probeall bond0 eth1 eth3 bonding
probeall bond1 eth2 eth4 bonding
#probeall bond2 eth0 eth5 bonding
alias bond0 bonding
alias bond1 bonding
#alias bond2 bonding

# grep bond /etc/init.d/network
echo " Loading bond device TEST TEST TEST
&&&&&&&&&&!"
echo " Configuring bond Devise 0 "
# bond0
ifconfig bond0 10.250.44.6 netmask 255.255.255.0
broadcast 10.250.44.255 up
/sbin/ifenslave bond0 eth1
/sbin/ifenslave bond0 eth3
echo " Configuring bond Devise 1 "
# bond1
ifconfig bond1 10.250.8.8 netmask 255.255.255.0
broadcast 10.250.8.255 up
/sbin/ifenslave bond1 eth2
/sbin/ifenslave bond1 eth4
echo " Configuring bond Devise 2 "
# bond2
#ifconfig bond2 10.250.5.50 netmask 255.255.255.0
broadcast 10.250.5.255 up
#/sbin/ifenslave bond2 eth0
#/sbin/ifenslave bond2 eth5
# End of bond Section

Thanks in advance

Discussion