Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


 /etc/init.d/networking restart
 * Reconfiguring network interfaces...
SIOCADDRT: File exists
Failed to bring up eth0.
netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 eth0         UG        0 0          0 eth0         UG        0 0          0 eth0

ip route list dev eth0  proto kernel  scope link  src  metric 1 
default via dev eth0  proto static 
default via dev eth0  metric 100 

/etc/network# more interfaces 
auto eth0
iface eth0 inet static
more hosts  jenkins-server-1 jenkins-server-1 # Added by NetworkManager
#  localhost.localdomain   localhost  jenkins-server-1
#  jenkins-server-1
::1 jenkins-server-1    localhost6.localdomain6 localhost6
# jenkins-server-1
#::1    jenkins-server-1    localhost6.localdomain6 localhost6
# The following lines are desirable for IPv6 capable hosts
#::1     localhost ip6-localhost ip6-loopback
::1     jenkins-server-1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
share|improve this question
up vote 3 down vote accepted

If you are changing the network configuration, it is normal to get such type of errors when restarting the network. If you are not accessing the machine remotely, you can first stop the network and then start it. If your configuration is fine, the interface(s) should be up again.

If you are still getting errors, you can try using ifconfig directly.

share|improve this answer

As background information: In the context of network configuration, the File Exists error message is a bit misleading. What it means is that the network element you're trying to add (usually a network route) conflicts with an existing one or has already been added.

For example, you'll get this error if you try to add a "default" route if it has already been set.

share|improve this answer

In my case, the gateway had a problem. When I restarted gateway computer, and rerun the statement:

/etc/init.d/networking restart

The error message gone and worked properly.

share|improve this answer
The accepted answer already covered this. – chutz Oct 19 '12 at 22:58
@chutz my answer mentions the gateway restart – Ebru Yener Jul 20 '15 at 7:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.