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

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.