Linux – the difference between “route” and “ip route”

configurationiplinuxnetworkingroute

I tried to understand the networking tools on Linux. I am confused now about what I should 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 these two tools?

Best Answer

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