LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-10-2010, 05:39 AM   #1
ericyao
LQ Newbie
 
Registered: Jan 2010
Posts: 18

Rep: Reputation: 0
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.
 
Old 04-10-2010, 10:45 AM   #2
mweed
Member
 
Registered: Mar 2006
Posts: 33

Rep: Reputation: 17
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?
 
Old 04-11-2010, 12:19 AM   #3
ericyao
LQ Newbie
 
Registered: Jan 2010
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 04-11-2010, 11:16 PM   #4
mweed
Member
 
Registered: Mar 2006
Posts: 33

Rep: Reputation: 17
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to bring up <Interface> jose_tk Linux - Networking 1 11-04-2009 07:48 AM
bond0 and eth0 both active after reboot wortmanb Linux - Networking 2 10-20-2009 01:13 PM
system hangs up on booting when starting bond0 raj1986 Linux - Software 2 09-27-2009 09:25 AM
Uninstalling Bond0 Interface? your_shadow03 Linux - Networking 1 08-21-2008 09:16 AM
Bring up interface tr0 hangs system on bootup eroica Mandriva 1 01-30-2004 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration