Re: ip addr show doesn't show my ipv4 address after update, is this expected behaviour?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 6 August 2012 09:44, Oon-Ee Ng <ngoonee.talk@xxxxxxxxx> wrote:
> Hi, iproute2 just got updated to 3.5.0-1 (previously was 3.4.0-2),
> because I use [testing].
>
> ip addr show seems to work differently now, showing me my ipv6
> assigned address by default rather than my ipv4 address (which was
> what I previously got when running ip addr show.
>
> The man page for ip-address says the command 'displays addresses and
> their properties', which means it should at least show the ipv4
> address as well?
>
> I'm wondering whether this is simply an upstream change/bug, since the
> man page is a bit unclear and a change in behaviour is normally
> mentioned in man pages (isn't it?).
>
> Of course, easy to workaround using ip -4 addr show....

I have the same problem, but it doesn't even show the IPv6 address.
Only the link address is shown, which is of no use.

iproute2 3.4.0-2:
---------------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
    link/ether 20:cf:30:55:81:2d brd ff:ff:ff:ff:ff:ff
    inet 10.77.116.13/24 brd 10.77.116.255 scope global eth0
    inet6 2a01:490:11:7488:22cf:30ff:fe55:812d/64 scope global dynamic
       valid_lft 2591780sec preferred_lft 604580sec
    inet6 fe80::22cf:30ff:fe55:812d/64 scope link
       valid_lft forever preferred_lft forever

iproute2 3.5.0-1
---------------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
    link/ether 20:cf:30:55:81:2d brd ff:ff:ff:ff:ff:ff


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux