When I ping an IP address, what is the difference between Request timed out and Destination host unreachable returned from the command?
5 Answers
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
-
32So how do you fix this, "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."– KomengemJun 18, 2014 at 16:21
-
13What does it mean when you get "Reply From < IP address >: Destination Host Unreachable,", with <IP address> being the local ip address of the machine you're pinging from (not the gateway or router or ...)? Feb 3, 2017 at 7:11
-
3Thanks @sanderd17, in case anyone else lands here I figured it out: My Linux server was configured with an Ethernet interface with static IP (which I pulled the cable out of once wifi was working) and a Wireless interface that was actually connected. Because of the static IP the Linux server saw the Ethernet inteface as still enabled even though it didn't have a cable any more, and (I think) was trying to reply to my Wireless ping on the Ethernet interface... or something like that. Disabling the Ethernet interface fixed it, anyway!– MattFeb 20, 2017 at 18:31
-
6To check if there is no route on the local host to the remote, ping the remote client
ping <remote-host-ip>
, and then check ARP entryarp
on the local host if it got resolved. If it isincomplete
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. May 25, 2017 at 18:27 -
2In my case the <IP address> is ip of the pc I ran the ping from, so calling it "remote" doesn't make sense. And it's not consistent either, one run it pings just fine, next run it shows host unreachable.– vanowmMay 15, 2020 at 17:41
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.