Hostname changes after replies restart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iputils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
iputils-ping:
Installed: 3:20121221-
Candidate: 3:20121221-
Version table:
*** 3:20121221-
500 http://
100 /var/lib/
3:
500 http://
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Expected: Returned FQDN and IP should be that of box sending ICMP errors/replies.
Actual: Getting the FQDN and IP of an intermediate router, even though replies are coming from another host.
Situation:
Pinged a remote box which was restarting. Initially got ICMP from the intermediate router but when pings restarted the FQDN & IP are that of the router, not the pinged host:
Log:
$ ping edi
PING edi.sub.domain.tld (x.y.1.131) 56(84) bytes of data.
From router0.
From router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
64 bytes from router0.
^C
--- edi.sub.domain.tld ping statistics ---
119 packets transmitted, 26 received, +2 errors, 78% packet loss, time 118718ms
rtt min/avg/max/mdev = 0.091/406.
$ ping edi
PING edi.sub.domain.tld (x.y.1.131) 56(84) bytes of data.
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=1 ttl=63 time=0.208 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=2 ttl=63 time=0.168 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=3 ttl=63 time=0.207 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=4 ttl=63 time=0.201 ms
^C
--- edi.sub.domain.tld ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.168/0.
$ ping edi
PING edi.sub.domain.tld (x.y.1.131) 56(84) bytes of data.
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=1 ttl=63 time=0.167 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=2 ttl=63 time=0.213 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=3 ttl=63 time=0.236 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=4 ttl=63 time=0.234 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=5 ttl=63 time=0.171 ms
64 bytes from edi.sub.domain.tld (x.y.1.131): icmp_seq=6 ttl=63 time=0.199 ms
^C
--- edi.sub.domain.tld ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5001ms
rtt min/avg/max/mdev = 0.167/0.
Setup:
1. Hosts "me" (x.y.2.60) and "edi" (x.y.1.131) connected via router (x.y.1.1 and x.y.2.1)
2. Disconnect or reboot remote box "edi"
3. Start ping.
4. Watch for ICMP Destination Host Unreachable from router
5. Connect (or wait for reboot to complete) remove box "edi".
6. Note that ICMP replies will start but show FQDN & IP of intermediate router, not the pinged host.
Think the router FQDN is being cached and returned in error.