I'm used to using commands such as ifconfig, route and so forth on linux to check and change network information. However I know there is an ip command (with various subcommands). I heard somewhere this is 'The right way' now. Any particular reason why I should ditch ifconfig/route/etc? What's your preference? Is there anything one set can do that the others can't?
| |||
|
feedback
|
|
i think you cannot access more advanced iproute2 features [ for instance multiple routing tables, routing based on src address or filter ] using ipconfig+route. for me syntax of ip is much more logical and easier to use. | ||||
|
feedback
|
|
The command Their manifesto:
In short it combines a number of different legacy interfaces and provides access to newer features such as policy based routing. With the benefit of a more consistent command set. | |||||||||||
feedback
|
|
iproute will eventually supersede ifconfig et al. currently there is little difference, but the syntax of ip is (at least for me) way more readable. | |||
|
feedback
|
|
ifconfig and route are available on all Unixes under the sun (oh oh oh) since 1985 or so (and even on non-unixes, route exists under windows too). ip is overall better, but still uncommon except on recent linux distros. So what? know both ways and hope that everyone will switch to ip soon :) | |||
|
feedback
|
|
I too have been advised to move from route/ifconfig over to ip, but just have never got round to it! Has anyone seen a side-by-side comparison of the two to make the switch a little less painless. (Not that using route was painfree!). | |||
|
feedback
|
|
Found a quick comparison for the basic tasks here: http://www.tty1.net/blog/2010-04-21-ifconfig-ip-comparison_en.html | |||
|
feedback
|