[CentOS] bond empty after reboot

wessel van der aart wessel at postoffice.nl
Mon May 16 13:20:08 UTC 2011


Hi all,

I've setup a ethernet bond on my centos 5.6 server , when i do a reboot 
the bond does come up but cleared all the slaves
and i've to manually re-add them with ifenslave.
does anyone know a solution to this? am i missing something? offcourse i 
can add it to my rc.local but there must be a more elegant way. please 
see my configs below

Thanks,

Wessel


ifcfg-bond0:
DEVICE=bond0
IPADDR=xxx.xx.x.xx
NETMASK=255.255.255.0
NETWORK=xxx.xx.x.xx
BROADCAST=xxx.xx.x.xx
GATEWAY=
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
BONDING_MODULE_OPTS='mode=802.3ad miimon=80'
TYPE=BOND


ifcfg-eth0 (same for eth1,eth2 & eth3):
# Intel Corporation 82576 Gigabit Network Connection
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=YES
TYPE=ethernet
HWADDR=xx:xx:xx:xx:xx:xx

/etc/modprobe.conf:
alias eth0 igb
alias eth1 igb
alias eth2 igb
alias eth3 igb
alias eth4 bnx2
alias eth5 bnx2
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 ata_piix
alias scsi_hostadapter3 usb-storage
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias bond0 bonding
options bond0 miimon=80 mode=4










More information about the CentOS mailing list