On Fri, Apr 20, 2012 at 12:11:08PM +0200, Alex Schuster wrote > Peter Humphrey writes: > > > On Thursday 19 April 2012 20:56:59 Michael Mol wrote: > > > > > The 'ip' command is far and away a nicer tool than ifconfig, once you > > > get a handle on it. > > > > Which package is it in? > > sys-apps/iproute2
It's also a built-in for busybox, which is part of the system package. On my machine... waltdnes@d531 ~ $ busybox ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1454 qdisc pfifo_fast qlen 1000 link/ether 00:1d:09:96:6c:1c brd ff:ff:ff:ff:ff:ff waltdnes@d531 ~ $ busybox ip addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1454 qdisc pfifo_fast qlen 1000 link/ether 00:1d:09:96:6c:1c brd ff:ff:ff:ff:ff:ff inet 192.168.123.251/29 brd 192.168.123.255 scope global eth0 inet 169.254.1.4/16 brd 169.254.255.255 scope global eth0:1 -- Walter Dnes <waltd...@waltdnes.org>