Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have come up against this error a number of times, but haven't yet found an explanation of what the error means, or what can cause the problem.

I'm not posting my configs or the specific route I'm trying to add as I don't want someone to tell me what I've done wrong THIS time, I'd like an understanding of what the error means (what is RTNETLINK for a start), and what are the common/known causes of this error, so that I can solve it for myself this and next time.

# ip route add .....
RTNETLINK answers: No such process
share|improve this question

1 Answer 1

up vote 15 down vote accepted

Rtnetlink allows the kernel's routing tables to be read and altered. It is used within the kernel to communicate between various subsystems, and for communication with user-space programs. Source

The most common cause for the message I've seen is that you're trying to route via a path that is not known to the host. For example, LAN is 192.168.56.100 and WAN is 10.0.3.15. ip route add 8.8.8.8/32 via 192.168.6.1 results in RTNETLINK answers: No such process because 192.168.6.1 is not known to the host.

share|improve this answer
3  
Thanks (I'd upvote if I could). Could I paraphrase that as "the host must have an interface on the subnet containing the next hop in the route?" –  TaninDirect Oct 12 '12 at 5:43

Your Answer

 
discard

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.