On Tue, 17 Feb 2009 10:37:35 +0000 Stroller <strol...@stellar.eclipse.co.uk> wrote:
> Hi there, > > Could I possibly draw on the combined wisdom of the list to explain > to me the difference between net-tools & iproute2, please? I'd quote wikipedia article, since it really explains what iproute2 is about: --- iproute2 is intended to replace an entire suite of legacy Unix networking tools that were previously used for the tasks of configuring network interfaces, routing tables, and managing the ARP table. Tools replaceable by iproute2 include the ifconfig and route utilities, as well as the arp command and various commands related to creating IP tunnels. iproute2 unifies the syntax for these various commands, which evolved over many years of Unix development. The iproute2 syntax is much simpler and more consistent for all of the functions that it provides, and imitates the syntax of Cisco's IOS operating system. --- I find it to be true, especially the syntax part - you never ever have to go to manpage with iproute2 if you've grasped it once. > I have this idea that I read a while back that ifconfig is > old-fangled &/or depreciated and that there's a more modern tool for > the job. ... > So am I right in this understanding? > Does iproute2 equal ifconfig-TNG? That's not universal truth, too. BSD ifconfig is much more powerful than one, shipped with linux distributions, so there's not much need for iproute2, althrough I hate it's syntax. Still, on linux, it's more of a fact. > So should I just forget about ifconfig & learn iproute2? Yes. > Does anyone have any hints or a cheatsheet of most-common commands > that I should know before getting my feet wet? Just type 'ip addr' and you see the syntax - it's the same, as in the lines displayed, but if you need something else - just type 'ip addr help', and you'll get everything about 'addr', same for just 'ip help' -- Mike Kazantsev // fraggod.net
signature.asc
Description: PGP signature