From Windows CMD, when trying to ping another computer on our internal LAN, the IP obviously fails to respond. However the reply of "Destination host unreachable." comes from yet a different IP, and not that of the router.
In my network, the gateway is 10.0.0.252, but I'm getting a reply from 10.0.20.188; which is an dynamic DHCP allocated IP to general devices.
C:\Users\drodecker>ping pbx
Pinging pbx.office.relevantads.com [10.1.1.211] with 32 bytes of data:
Reply from 10.0.20.188: Destination host unreachable.
Reply from 10.0.20.188: Destination host unreachable.
Reply from 10.0.20.188: Destination host unreachable.
Reply from 10.0.20.188: Destination host unreachable.
Ping statistics for 10.1.1.211:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
SIMPLE ANSWER: Your PC is trying to resolve the Ethernet MAC address of the next-hop interface, but it can not find none (eg: the target PC is powered off). So it reports a "Destination host unreachable" ICMP message originating from its own interface.
LONG ANSWER An IP-over-Ethernet network has two complementary network addresses: a non-routable, link-layer physical addressing (the MAC address) and a routable, network-layer logical addressing (the IP address).
When trying to ping another hosts, your PC must:
Point n.2 is were behavior can diverge:
So, if your ping failed with a reply from your own PC interface, we have two possibility: