[arch-general] ip addr show doesn't show my ipv4 address after update, is this expected behaviour?

Lukas Jirkovsky l.jirkovsky at gmail.com
Mon Aug 6 07:47:54 EDT 2012


On 6 August 2012 12:50, Karol Blazewicz <karol.blazewicz at gmail.com> wrote:
>
> $ ip -4 addr
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     inet 127.0.0.1/8 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
>     inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
>
> Read the man page for other options.

Sure that these options works, but the previous behaviour which:
1. was shorter to write
2. allowed to inspect both IPv6 and IPv4
was much better IMO.

The man page only adds confusion, as it says: "ip falls back to the
default one, usually inet or any" when no family was specified and it
cannot be guessed from arguments.


More information about the arch-general mailing list