my interface bond0 can't bring up automatically after system reboot
Hi
I bonding two networking cards in bond0, however my linux always can't bring up bond0 automatically after reboot, I always have to bring bond0 up by manually, my configuration as below, is there any one could hlep me take a look, any wrong settings? thanks.
#cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
#BONDING_OPTS="mode=1 miimon=100 primary=eth0"
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.254
GATEWAY=192.168.0.1
DNS1=192.168.0.254
DNS2=168.95.1.1
TYPE=Ethernet
PREFIX=24
NAME="System bond0"
UUID=ad33d8b0-1f7b-cab9-9447-ba07f855b143
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 miimon=100 mode=1
Last edited by ericyao; 04-10-2010 at 05:46 AM.
|