RTNETLINK answers: File exists in alpine router

Posted on

A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about RTNETLINK answers: File exists in alpine router was one problem in server stack that need for a solution. Below are some tips in manage your linux server when you find problem about linux, networking, routing, router, alpine.

I already know that this ask may already be made here but i couldnt solve this there, idk if i made bad or something, so im asking with my own case, sorry if my english is bad but here it is

this is how i have the content of /etc/network/interfaces


for some reason, when i do ifup in eth1 it retrieves RTNETLINK answers: File exists but the strange thing is here:

it only happens in up ip route add … …

but if i comment the line and uncomment the, and any other line below…

this works, everything works, my virtual machines connect well with the router and with internet, but its not what i need cause i have all my virtual machines with 192.168.1…. ip`s, and cant change it now, so i need this route to be 192.168.1, and well, i have the said error message

and thatas all, thanks for reading, im still studyng so this can be a problem ogf how i configure anythin, but cant imagine what can be
if anyone has any idea of what can be or how to solve this, im glad of reading

Your system has an eth0 interface, where the subnet is

When you are trying to add a route on second interface for the same subnet, the kernel returns the error message, because that would create duplicate routing entry for the subnet: One via eth0 interface and another via router.

Leave a Reply

Your email address will not be published.