Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 35424

Network issue: bringing up interface eth0 rtnetlink

$
0
0
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...

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:

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>

Thanks in advance!

Viewing all articles
Browse latest Browse all 35424

Trending Articles