LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2012, 05:14 PM   #1
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Rep: Reputation: 15
Network manager


Hello everyone.
Recently i have installed centos 6 and created two configs for my two eth interfaces in sysconfig directory so when i reboot the system my eth0 and eth1 will have ip addresses.However when i rebooted the system, config for eth1 also went to eth0. I think it may be network manager which did it because when i turn it off everything is ok. How can i configure it to defeat this problem or is it better to shut it down?
 
Old 04-27-2012, 09:15 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
That's really not much to go on.

Could you provide more detail about what exactly you put in your configuration files and what your actual working ifconfig output is?
 
Old 04-28-2012, 12:38 AM   #3
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Original Poster
Rep: Reputation: 15
I have two files:
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:03:47:72:15:8C
TYPE=Ethernet
#DNS=10.36.1.101
#PEERDNS=yes
BOOTPROTO=static
IPADDR=10.36.197.50
NETMASK=255.255.255.0
#NETWORK=10.36.197.0
#BROADCAST=10.36.197.255
#ONBOOT=yes
NAME=eth1

and /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:30:05:3F:AD:CB
TYPE=Ethernet
#DNS=8.8.8.8
#PEERDNS=yes
BOOTPROTO=static
IPADDR=82.207.79.87
NETMASK=255.255.255.192
NETWORK=82.207.79.64
BROADCAST=82.207.79.127
ONBOOT=yes
NAME=eth0

The otput of ifconfig is:
eth0 Link encap:Ethernet HWaddr 00:30:05:3F:AD:CB
inet addr:10.36.197.50 Bcast:10.36.197.255 Mask:255.255.255.0
inet6 addr: fe80::230:5ff:fe3f:adcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1831 errors:0 dropped:0 overruns:0 frame:0
TX packets:1010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:170367 (166.3 KiB) TX bytes:333952 (326.1 KiB)
Interrupt:18
eth1 Link encap:Ethernet HWaddr 00:03:47:72:15:8C
inet addr:10.36.197.50 Bcast:10.36.197.255 Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fe72:158c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17680 errors:0 dropped:0 overruns:0 frame:0
TX packets:9804 errors:0 dropped:0 overruns:0 carrier:0
collisions:1 txqueuelen:1000
RX bytes:1592239 (1.5 MiB) TX bytes:1711797 (1.6 MiB)

As you can see two interfaces have the same addresses.
 
  


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
Wireless network connects and works fine, but doesnt show up on the network manager newbie236 Linux - Newbie 1 07-07-2010 12:47 AM
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Debian 5 05-29-2009 02:02 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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