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

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

1 Answer 1

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
Thanks for the answer. I was about to ask if route comes from net-tools, which packages gives us ip and iproute2. I found out that iproute2 packages gives us these commands by googling. –  Srikanth Jan 25 '13 at 10:07

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.