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

I see both ip and route commands used for configuring the kernel routing tables. What's the difference? It seems to me that the ip command is preferred more. Is it so, and why?

share|improve this question
up vote 6 down vote accepted

Using the ip command and iproute2 tools in general is the preferred way to do this now as the net-tools package is deprecated, the last release being 1.6.

Having said that it seems likely that net-tools will be around for a long time to come as it is so deeply entrenched in the sysadmin muscle memory.

share|improve this answer

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.