When I ping an IP address, what is the difference between Request timed out and Destination host unreachable returned from the command?
Destination Host Unreachable
This message indicates one of two problems: either the local system has no route to the desired destination, or a remote router reports that it has no route to the destination.
If the message is simply "Destination Host Unreachable," then there is no route from the local system, and the packets to be sent were never put on the wire.
If the message is "Reply From < IP address >: Destination Host Unreachable," then the routing problem occurred at a remote router, whose address is indicated by the "< IP address >" field.
Request Timed Out
This message indicates that no Echo Reply messages were received within the default time of 1 second. This can be due to many different causes; the most common include network congestion, failure of the ARP request, packet filtering, routing error, or a silent discard.
For more info Refer: http://technet.microsoft.com/en-us/library/cc940095.aspx
ping <remote-host-ip>
, and then check ARP entry arp
on the local host if it got resolved. If it is incomplete
for the remote-host-ip, then it means the ping ICMP packet never left the local host machine, the local machine doesn't know where to send the packet. –
Televisor Destination Host Unreachable
may actually show up (tested on ArchLinux) if arp request didn't get a reply. It may be worth mentioning in the answer, which currently states that "failure of the ARP request" will result in "Request Timed Out" which isn't the case. My testcase: I have two laptops directly connected via ethernet and statically assigned IPs. One has faulty ethernet port requiring you to wiggle cable till connection appears. And sometimes there is a power between the ports, but no packets is actually coming through, resulting in "unreachable" error. –
Scandent Request timed out means that the local host did not receive a response from the destination host, but it was able to reach it. Destination host unreachable means that there was no valid route to the requested host.
As I understand it, "request timeout" means the ICMP packet reached from one host to the other host but the reply could not reach the requesting host. There may be more packet loss or some physical issue. "destination host unreachable" means there is no proper route defined between two hosts.
As khaos said, a destination unreachable could also mean that something is blocking the way from or to your destination. For example an ACL that filters bad IP addresses.
Put very simply, request timeout means there was no response whereas destination unreachable may mean the address specified does not exist i.e. you typed in the wrong IP address.
© 2022 - 2024 — McMap. All rights reserved.