touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #87594
[Bug 1471230] [NEW] ping got confused about IP-adress after host unreachable
Public bug reported:
I tried pinging an IP address on an internal network. My IP is
10.0.0.95, and I'm trying to ping 10.0.0.96. Here's what it looked like:
$ ping 10.0.0.96
PING 10.0.0.96 (10.0.0.96) 56(84) bytes of data.
>From 10.0.0.95 icmp_seq=1 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=2 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=3 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=4 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=5 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=6 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=7 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=8 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=9 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=10 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=11 Destination Host Unreachable
>From 10.0.0.95 icmp_seq=12 Destination Host Unreachable
64 bytes from 10.0.0.95: icmp_seq=13 ttl=64 time=5.01ms
64 bytes from 10.0.0.95: icmp_seq=14 ttl=64 time=0.658ms
64 bytes from 10.0.0.95: icmp_seq=15 ttl=64 time=0.459ms
64 bytes from 10.0.0.95: icmp_seq=16 ttl=64 time=0.432ms
64 bytes from 10.0.0.95: icmp_seq=17 ttl=64 time=0.437ms
64 bytes from 10.0.0.95: icmp_seq=18 ttl=64 time=0.348ms
64 bytes from 10.0.0.95: icmp_seq=19 ttl=64 time=0.485ms
64 bytes from 10.0.0.95: icmp_seq=20 ttl=64 time=0.529ms
64 bytes from 10.0.0.95: icmp_seq=21 ttl=64 time=0.459ms
[snip]
^C
--- 10.0.0.96 ping statistics ---
47 packets transmitted, 35 received, +12 errors, 25% packet loss, time 46069ms
rtt min/avg/max/mdev = 0.348/2.693/70.753/11.712 ms, pipe 3
$ ping 10.0.0.96
PING 10.0.0.96 (10.0.0.96) 56(84) bytes of data.
64 bytes from 10.0.0.96: icmp_seq=1 ttl=64 time=0.324ms
64 bytes from 10.0.0.96: icmp_seq=2 ttl=64 time=0.405ms
64 bytes from 10.0.0.96: icmp_seq=1 ttl=64 time=0.357ms
etc...
So on the initial run, ping claims it got a ping reply from 10.0.0.95, which isn't the address I'm pinging. It's my host, and it's normal to get the initial ICMP "Destination Host Unreachable" messages from the local IP when ARP fails. I almost immediately reran ping, and now the host was up from the start, and see responses coming from the actual host that I'm pinging.
Looking at the times, the ping replies appear to actually come from
10.0.0.96, or at least some other remote host, based on the time values.
If I ping 10.0.0.95 (my own IP), I'm seeing time values of 0.040ms or
thereabouts, so an order of magnitude faster.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: iputils-ping 3:20121221-4ubuntu1.1
Uname: Linux 3.17.1-031701-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 3 15:16:40 2015
InstallationDate: Installed on 2014-10-09 (266 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: iputils
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: iputils (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iputils in Ubuntu.
https://bugs.launchpad.net/bugs/1471230
Title:
ping got confused about IP-adress after host unreachable
Status in iputils package in Ubuntu:
New
Bug description:
I tried pinging an IP address on an internal network. My IP is
10.0.0.95, and I'm trying to ping 10.0.0.96. Here's what it looked
like:
$ ping 10.0.0.96
PING 10.0.0.96 (10.0.0.96) 56(84) bytes of data.
From 10.0.0.95 icmp_seq=1 Destination Host Unreachable
From 10.0.0.95 icmp_seq=2 Destination Host Unreachable
From 10.0.0.95 icmp_seq=3 Destination Host Unreachable
From 10.0.0.95 icmp_seq=4 Destination Host Unreachable
From 10.0.0.95 icmp_seq=5 Destination Host Unreachable
From 10.0.0.95 icmp_seq=6 Destination Host Unreachable
From 10.0.0.95 icmp_seq=7 Destination Host Unreachable
From 10.0.0.95 icmp_seq=8 Destination Host Unreachable
From 10.0.0.95 icmp_seq=9 Destination Host Unreachable
From 10.0.0.95 icmp_seq=10 Destination Host Unreachable
From 10.0.0.95 icmp_seq=11 Destination Host Unreachable
From 10.0.0.95 icmp_seq=12 Destination Host Unreachable
64 bytes from 10.0.0.95: icmp_seq=13 ttl=64 time=5.01ms
64 bytes from 10.0.0.95: icmp_seq=14 ttl=64 time=0.658ms
64 bytes from 10.0.0.95: icmp_seq=15 ttl=64 time=0.459ms
64 bytes from 10.0.0.95: icmp_seq=16 ttl=64 time=0.432ms
64 bytes from 10.0.0.95: icmp_seq=17 ttl=64 time=0.437ms
64 bytes from 10.0.0.95: icmp_seq=18 ttl=64 time=0.348ms
64 bytes from 10.0.0.95: icmp_seq=19 ttl=64 time=0.485ms
64 bytes from 10.0.0.95: icmp_seq=20 ttl=64 time=0.529ms
64 bytes from 10.0.0.95: icmp_seq=21 ttl=64 time=0.459ms
[snip]
^C
--- 10.0.0.96 ping statistics ---
47 packets transmitted, 35 received, +12 errors, 25% packet loss, time 46069ms
rtt min/avg/max/mdev = 0.348/2.693/70.753/11.712 ms, pipe 3
$ ping 10.0.0.96
PING 10.0.0.96 (10.0.0.96) 56(84) bytes of data.
64 bytes from 10.0.0.96: icmp_seq=1 ttl=64 time=0.324ms
64 bytes from 10.0.0.96: icmp_seq=2 ttl=64 time=0.405ms
64 bytes from 10.0.0.96: icmp_seq=1 ttl=64 time=0.357ms
etc...
So on the initial run, ping claims it got a ping reply from 10.0.0.95, which isn't the address I'm pinging. It's my host, and it's normal to get the initial ICMP "Destination Host Unreachable" messages from the local IP when ARP fails. I almost immediately reran ping, and now the host was up from the start, and see responses coming from the actual host that I'm pinging.
Looking at the times, the ping replies appear to actually come from
10.0.0.96, or at least some other remote host, based on the time
values. If I ping 10.0.0.95 (my own IP), I'm seeing time values of
0.040ms or thereabouts, so an order of magnitude faster.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: iputils-ping 3:20121221-4ubuntu1.1
Uname: Linux 3.17.1-031701-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 3 15:16:40 2015
InstallationDate: Installed on 2014-10-09 (266 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: iputils
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1471230/+subscriptions
Follow ups
References