LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-09-2012, 11:39 AM   #1
Need2BaGeek
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Rep: Reputation: Disabled
2 eth interfaces not coming up at boot


Hi everyone,

Need a little help here. I have 2 interfaces configured on a RHEL 6.2 server: eth0 and eth2. I chose these two interfaces because I may end up having two bonds in the future: eth0/1 and eth2/3.

These interfaces work fine when they're up. The problem is that they don't come up at boot. I have to run the commands ifup eth0 and ifup eth2 to bring them up manually. If I run service network restart it only stops/starts the loopback interface.

Here is the output of chkconfig showing that network should come up when I boot into run level 3:
Code:
[root@lab-vm-ps1 ~]# chkconfig --list | grep network
matahari-network        0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
I should also mention this is a brand new VM running in KVM, which is also on a RHEL 6.2 host. Not sure how much difference it makes that it's virtual.

Anyone know why the network service wouldn't see these interfaces and I'd have to manually manage them with ifup/ifdown? Any help is greatly appreciated.

Thanks
 
Old 04-09-2012, 01:12 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
The interfaces will come up on boot if you add the following line to your /etc/sysconfig/network-scripts/ifcfg-eth# files.

Code:
ONBOOT=yes
 
Old 04-09-2012, 03:37 PM   #3
Need2BaGeek
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Wow. That was simple. Thanks for helping a noob out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting metric for eth interfaces? Calab Linux - Networking 15 12-01-2015 11:16 AM
Multiple eth interfaces, gateways, SuSE 10 b1f30 Linux - Networking 6 07-11-2008 05:20 PM
eth interfaces drop after a while agreenwood Slackware 2 01-31-2006 01:27 PM
configuring eth interfaces problem cranium2004 Linux - Networking 5 04-07-2005 06:55 AM
Two eth interfaces, but one only with internet... Creak Linux - Networking 6 03-12-2005 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:47 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