LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Getting "SIOCADDRT: No such process" when running "service network restart" (http://www.linuxquestions.org/questions/linux-networking-3/getting-siocaddrt-no-such-process-when-running-service-network-restart-846359/)

cmlorentz 11-24-2010 04:45 PM

Getting "SIOCADDRT: No such process" when running "service network restart"
 
I am running Fedora Core 7, starting the other day, every time I run service network restart, I get the following output:

Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
SIOCADDRT: No such process

Everything works fine. I can connect to Internet, all my shares are fine, etc. I've done some poking around and found this issue in numerous postings, and it ALL seems to point to an issue with my IP and gateway. I've triple checked all my config files looking for an error and everything "appears" fine, but I can't seem to get rid of that "SIOCADDRT: No such process" error. Below are the contents of the respective files:

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.0.24.27
NETMASK=255.255.255.0
GATEWAY=10.0.24.1

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rx30.localdomain

/etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.0.87
nameserver 192.168.0.156

Any advice on how to get rid of that pesky "SIOCADDRT: No such process" error would be great.

Touch 11-26-2010 02:06 PM

Try moving the GATEWAY line from the ifcfg-eth0 file and putting it into the network file. Then add

Code:

NETWORK=10.0.24.0
to the ifcfg-eth0 file


All times are GMT -5. The time now is 06:17 AM.