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