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 thenet-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 learnip route
since distributions should stop includingnet-tools
at some point.Deprecated Linux networking commands and their replacements