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 |
My manually do you mean brctl etc. or ifup bond0?
When they system is booting does it even mention bond0 when starting network services? As a sanity check the network service is set to start on boot right? Is networkmanager installed? |
Hi
Thanks for your quickly replied, Please see my feedback words in blue My manually do you mean brctl etc. or ifup bond0? I meant command #service network restart When they system is booting does it even mention bond0 when starting network services? I used command ifconfig to checked only see eth0 & eth1 up, but didn't see bond0 up. As a sanity check the network service is set to start on boot right? Is networkmanager installed? networkmanager? I though when I installed Fedora 12 the networkmanager has been installed. |
NetworkManager will be the default on fedora 12. Unfortunately it does things differently than the standard network service. Honestly without doing research I do not know how to configure bonded interfaces within NetworkManager.
If you chkconfig --list network it should show all levels off. If this machine is a server type system it may be worth while turning NetworkManager off and turning network on and then relying on the network-scripts alone. NetworkManager is more suited to desktops and laptops that use VPNs, wireless, ppp etc whose configs may change fairly frequently. |
All times are GMT -5. The time now is 03:31 PM. |