{"id":614,"date":"2016-04-26T15:09:15","date_gmt":"2016-04-26T09:39:15","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=614"},"modified":"2016-04-26T15:09:15","modified_gmt":"2016-04-26T09:39:15","slug":"siocaddrt-file-exists","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/04\/26\/siocaddrt-file-exists\/","title":{"rendered":"SIOCADDRT: File exists"},"content":{"rendered":"<p>SIOCADDRT: File exists\u00a0error pops up in Linux while configuring network interfaces.<\/p>\n<p>We should first understand what exactly SIOCADDRT mean before checking the message.<\/p>\n<p><strong>SIOC<\/strong>: <strong>S<\/strong>erial <strong>I<\/strong>nput <strong>O<\/strong>utput <strong>C<\/strong>ontroller<br \/>\n<strong>ADD<\/strong>: <strong>ADD<\/strong><br \/>\n<strong>RT<\/strong>: <strong>R<\/strong>ou<strong>T<\/strong>e<\/p>\n<p><strong>File Exists<\/strong>: Route is already configured in the Network interfaces.<\/p>\n<p>After doing a basic internet search, I could realize that somewhere the eth0 interface was not properly set along with the gateway. I had to set the eth0 interface again by deleting the old IP and then it started to work.<\/p>\n<p>Below message pops up id you try to restart the network having the wrong IP. Update the interface with proper IP and then restart the network.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-641 size-full\" src=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/04\/nw1.png\" alt=\"SIOCADDRT: File exists\" width=\"622\" height=\"126\" srcset=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/04\/nw1.png 622w, http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/04\/nw1-300x61.png 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><\/p>\n<p>\/etc\/sysconfig\/network-scripts\/ifcfg-eth0 &#8211;&gt; File where I have edited the correct IP and then it started working.<\/p>\n<p>While checking on internet, I could also see customers posting questions related to below values and almost most of the solutions are related to change in IPs,<\/p>\n<p>SIOCADDRT: No such process<\/p>\n<p>SIOCADDRT: Network is unreachable<\/p>\n<p>SIOCADDRT: No such device<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SIOCADDRT: File exists\u00a0error pops up in Linux while configuring network interfaces. We should first understand what exactly SIOCADDRT mean before checking the message. SIOC: Serial Input Output Controller ADD: ADD RT: RouTe File Exists: Route is already configured in the Network interfaces. After doing a basic internet search, I could realize that somewhere the eth0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[50,171],"class_list":["post-614","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-siocaddrt"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=614"}],"version-history":[{"count":1,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":642,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/614\/revisions\/642"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}