LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-10-2012, 10:26 AM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
network issue: bringing up interface eth0 rtnetlink answers file exists


Hi all,

OS: fedora release 10

when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1

Code:
bringing up interface eth0 rtnetlink answers file exists
error adding <IP Address here> to eth0

bringing up interface eth0 rtnetlink answers invalid argument
below are ifcfg-eth0 and eth1 files under /etc/sysconfig/network-scripts/ directory

Code:
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=19.16.12.255
HWADDR=<MAC ADDRESS HERE>
IPADDR=19.16.12.125
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=19.16.12.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
NM_CONTROLLED=yes

# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
HWADDR=<MAC ADDRESS HERE>
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
NETMASK=255.255.255.0
IPADDR=<IP ADDRESS HERE>
GATEWAY=<GATEWAY HERE>
NM_CONTROLLED=yes
PEERDNS=No
DNS1=127.0.0.1
DNS2=<DNS IP HERE>


# service network status
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0 eth1


# service NetworkManager status
NetworkManager (pid  4236) is running...
Please help to troubleshoot.
Thanks in advance!
 
Old 10-10-2012, 10:51 AM   #2
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
There is another similar server, and ifcfg-eth0 and ifcfg-eth1 are similar(ofcourse different IP etc).
The other server is working fine.

difference is

Code:
on WORKING server

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
IP ADDRESS HERE *               255.255.255.0   U     1      0        0 eth1
19.16.12.1      *               255.255.255.0   U     1      0        0 eth0
default         GATEWAY HERE    0.0.0.0         UG    0      0        0 eth1


on NON-WORKING server
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
IP ADDRESS HERE  *               255.255.255.0   U     1      0        0 eth1
19.16.12.0      *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0   U     1002      0        0 eth0
link-local      *               255.255.0.0   U     1003      0        0 eth1
default         GATEWAY HERE    0.0.0.0         UG    0      0        0 eth1
and WORKING server is able to resolve IP but NON-WORKING server is not able resolve IP and ending up with an error when it try to use nslookup command to resolve some other server
Code:
;; connection timed out; no server could be reached
Code:
on WORKING server
# more /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver <DNS IP HERE>

on NON-WORKING server
# more /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver <SAME DNS IP HERE AS ABOVE FOR WORKING SERVER>

Last edited by linuxandtsm; 10-10-2012 at 11:52 AM.
 
  


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
RTNETLINK answers: File exists Winanjaya Linux - Networking 5 06-24-2014 05:22 AM
rtnetlink answers file exists jai_nagarajan Linux - Networking 2 02-16-2012 11:14 AM
RTNETLINK answers: File exists Seregwethrin Linux - Networking 2 11-01-2010 01:16 AM
bringing up interface eth1 rtnetlink answers file exists, error adding address homyangcha Linux - Newbie 7 10-20-2010 11:40 PM
fc9 booting Bringing up interface eth0: RTNETLINK answers: File exists pankajd Linux - Software 0 11-27-2008 08:33 AM

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

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