SIOCADDRT: File exists [FIXED] Linux Network IP
Posted: November, 24 2008This error can normally show up when adding or modifying an IP address. The fix is relatively simple, but not always particularly obvious with the lack of documentation, so here’s a fix for those in need.
The Problem
After a service network restart, this error can present its self.
Breakdown of message: SIOCADDRT: File exists
SIOC - Serial Input Output Controller
ADD - Add
RT - Route
File exists - Route already configured
The Solution
Quite simple, you will need to check and edit each IP address in the corresponding ifcg file.
Example
1. Open ifcfg file vi /etc/sysconfig/network-scripts/ifcfg-eth0:7
2. NETWORK=217.174.242.0 Make sure this address is unique to each ifcfg file; if you use the same address in another ifcfg file you will receive the aforementioned error.
3. Edit if required by pressing i to begin insert mode, make the changes, then pressing Esc to return to view mode.
3. Save the document by using a SHIFT ZZ combination.
4. Restart the network: service network restart
That’s it, said it was easy, that should have fixed the error message, let us know how you get on with a comment below.
Related Articles
- 20.05.09: Joomla E-mail could not be sent [FIXED] (6)
- 22.07.09: How to reset Linux Firewall (0)
- 30.11.09: Multiple Image uploads in Magento (3)
- 22.09.09: Reset Session storage options in Magento (0)
- 27.10.09: How to remove Blogroll title from WordPress (2)







Comments RSS Feed




I have this error but do not have that directory in sidux. Do you know where this file might be for sidux?
Go to Top of the page
Hi Brian, I’m not familiar with Sidux, have you tried:
/etc/network/interfaces
http://manual.sidux.com/en/internet-connecting-wpa-en.htm#wpa7
Section 5
Go to Top of the page
well i think your right as far as i can find sidux looks very debian based. so /etc/network/interfaces will do.
but i have a problem i have one ip on a ubuntu server.
i have search a couple off websites and nothing will do. the network interface is perfectly programmed and the server shows in mii-diag that the server have link but the server is not comming online already flushed the iptables and there is no firewall on it.
and still when i put eth0 up : SIOCADDRT: File exists.
well i don’t know what it is but when i find out i will let you know.
Go to Top of the page
Many thanks, I would have been in for a long haul trying to guess that one, without your info.
Go to Top of the page