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 tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?:

route - show / manipulate the IP routing table

ip - show / manipulate routing, devices, policy routing and tunnels

What is the difference between this two tools?

share|improve this question
up vote 6 down vote accepted

The iproute2 suite is set to replace the net-tools suite of network configuration tools. There are "synonym" commands that perform similar function in each.

While most documentation will refer you to the route command, you'll be ahead of the game to learn ip route since distributions should stop including net-tools at some point.

Deprecated Linux networking commands and their replacements

share|improve this answer
thank you for the link clarifying all the mess with this zoo of networking tools! – static Jul 15 '13 at 14:36

route is a fairly simple tool, perfect for creating static routes, it still present in many distributions for compatibility. ip route is much more powerful, it has much more functionality, and can create more specialized rules.

ip route isn't needed to create a static route, but as it's a much more useful tool, the effort expended in learning it and its syntax is definitely time well spent.

share|improve this answer
thank you! I hope, I don't need now the "ip route" (i.e. that simple "route" will be enough)! – static Jul 15 '13 at 14:38

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.