I was about to enter a new bug report, but came across yours Ketil. Have
same issue.

The reported source address from the ping reply is wrong when an
intermediary router sent an icmp-host-unreachable, after which the
destination host becomes reachable and starts replying.

In that case the reported source address is that from the intermediary
router (or the originating host itself) that sent the icmp-host-
unreachable, and not of the destination host that sent the icmp-echo-
reply, as it should be.

v@p8p67:~$ ping -n 172.31.168.107
PING 172.31.168.107 (172.31.168.107) 56(84) bytes of data.
>From 172.31.168.161 icmp_seq=1 Destination Host Unreachable
>From 172.31.168.161 icmp_seq=2 Destination Host Unreachable
>From 172.31.168.161 icmp_seq=3 Destination Host Unreachable
64 bytes from 172.31.168.161: icmp_seq=4 ttl=64 time=7.46 ms
64 bytes from 172.31.168.161: icmp_seq=5 ttl=64 time=3.26 ms
64 bytes from 172.31.168.161: icmp_seq=6 ttl=64 time=3.41 ms
...

Obviously the last three lines should start with 64 bytes from
172.31.168.107... and not .161.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471230

Title:
  ping got confused about IP-adress after host unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1471230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to