42
7
Edit for future readers who get here from google:
This question is now the top google result when searching for 'destination host unreachable from my own ip address'. If that's how you got here, then you should know that my problem was a silly one probably caused by temperamental hardware, so don't bother reading through the walls of text below. The sole piece of information that's probably useful to you comes from Harry Johnston's comment below:
Getting a "destination unreachable" message from your own machine is normal behaviour in recent Windows versions. It just means that the arp failed, i.e., the IP address couldn't be located on the LAN
To confirm this, try running arp -a
on your machine, and you'll see a list of all the IP addresses that could be found on your LAN. If you don't see the IP address that you're trying to ping, then that explains why your pings are returning 'unreachable' from your own machine. As for how to fix that problem, it could be caused by anything. Try resetting your router, resetting your network adapters, fiddling with static/dynamic IP addresses etc etc.
^^ If you came from google, you probably just want to read the above ^^
I've been trying to play Terraria on my home network, but I'm having troubles. After checking that the Terraria game and server were being allowed through Windows firewall on both machines, I decided to see if the two machines could ping each other, and they can't.
At home I have router 1 downstairs, connected to the internet (this is 192.168.1.1
). Router 2 is upstairs, connected to router 1 by Cat5, providing wifi to the two machines in question (this is 192.168.1.254
). Both machines can successfully ping both routers, and can use the internet just fine.
However, when I try to ping one machine from the other, I get 'Destination host unreachable' from the machine that is sending the ping.
For example when I'm sitting at 192.168.1.2
:
C:\Users\Cam>ping 192.168.1.9
Pinging 192.168.1.9 with 32 bytes of data:
Reply from 192.168.1.2: Destination host unreachable.
Reply from 192.168.1.2: Destination host unreachable.
Reply from 192.168.1.2: Destination host unreachable.
Reply from 192.168.1.2: Destination host unreachable.
And the other way:
C:\Users\Bianca>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.9: Destination host unreachable.
Reply from 192.168.1.9: Destination host unreachable.
Reply from 192.168.1.9: Destination host unreachable.
Reply from 192.168.1.9: Destination host unreachable.
Here is the ipconfig from my machine:
C:\Users\Cam>ipconfig
Windows IP Configuration
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : home
Link-local IPv6 Address . . . . . : fe80::e193:4df5:1f0f:d454%17
IPv4 Address. . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:1cac:3b08:8cbf:4c0e
Link-local IPv6 Address . . . . . : fe80::1cac:3b08:8cbf:4c0e%12
Default Gateway . . . . . . . . . : ::
Tunnel adapter Reusable ISATAP Interface {DFC85B2E-7BFA-4F6D-8290-297D34E6DB51}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : home
Tunnel adapter isatap.{14B82FE3-FC4C-49FF-AF35-5808CA779909}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Why can't I ping between these machines, and why is the error reply coming from the originating machine?
Edit as requested:
C:\Users\Cam>route print
===========================================================================
Interface List
17...f4 ec 38 98 2a bf ......TP-LINK 150Mbps Wireless Lite N Adapter
11...50 e5 49 42 88 f7 ......Realtek PCIe GBE Family Controller
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.2 281
192.168.1.2 255.255.255.255 On-link 192.168.1.2 281
192.168.1.255 255.255.255.255 On-link 192.168.1.2 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.2 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.2 281
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
12 58 ::/0 On-link
1 306 ::1/128 On-link
12 58 2001::/32 On-link
12 306 2001:0:4137:9e76:1cac:3b08:8cbf:4c0e/128
On-link
17 281 fe80::/64 On-link
12 306 fe80::/64 On-link
12 306 fe80::1cac:3b08:8cbf:4c0e/128
On-link
17 281 fe80::e193:4df5:1f0f:d454/128
On-link
1 306 ff00::/8 On-link
12 306 ff00::/8 On-link
17 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
Edit: route table for second machine:
C:\Users\Bianca>route print
===========================================================================
Interface List
29 ...f8 d1 11 0c a5 e4 ...... TP-LINK 150Mbps Wireless Lite N Adapter
11 ...00 22 19 e9 98 13 ...... Broadcom NetLink (TM) Gigabit Ethernet
1 ........................... Software Loopback Interface 1
23 ...00 00 00 00 00 00 00 e0 isatap.{B2C8981A-B289-467B-AE63-54B849BE78CD}
10 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
22 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #7
16 ...00 00 00 00 00 00 00 e0 6TO4 Adapter
17 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #2
18 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #3
19 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #4
20 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #5
21 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #6
27 ...00 00 00 00 00 00 00 e0 isatap.{BA694930-3E1A-44DB-9BEB-5B4B22E4C956}
30 ...00 00 00 00 00 00 00 e0 isatap.{4DA30C6C-EFD0-4CEE-A93D-375FC1878C51}
25 ...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #9
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.9 281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.9 281
192.168.1.9 255.255.255.255 On-link 192.168.1.9 281
192.168.1.255 255.255.255.255 On-link 192.168.1.9 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.9 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.9 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.1.1 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
10 18 ::/0 On-link
1 306 ::1/128 On-link
10 18 2001::/32 On-link
10 266 2001:0:4137:9e76:47:11ff:3f57:fef6/128
On-link
29 281 fe80::/64 On-link
10 266 fe80::/64 On-link
10 266 fe80::47:11ff:3f57:fef6/128
On-link
29 281 fe80::95c:9958:d93d:f2e4/128
On-link
1 306 ff00::/8 On-link
10 266 ff00::/8 On-link
29 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
Even though that's not my case, ⁺¹ for the mention of arp scanning, and the command, that's already a lot of info. – Hi-Angel – 2015-09-04T07:47:27.430
arp - a
shows you the cache of arp entries. If a given machine hasn't interacted with your computer, then arp -a would not show it. It is wrong to say it shows you all the IP addresses on your network. – iheanyi – 2017-03-27T17:28:11.220Strange... I'm not sure I'll be able to answer after that but, could you show us the output of "route print" on your machine ? – Flinth – 2012-07-26T14:50:44.887
@epingle Done. Also, I've tried running the command from this answer on both machines, and that didn't help.
– Cam Jackson – 2012-07-26T14:54:41.913Interesting. After reading this answer, I tried running
– Cam Jackson – 2012-07-26T14:58:25.937arp -a
on both machines, and 192.168.1.9 doesn't show up. But that's definitely the ipv4 address that shows up when I run ipconfig on the second machine.How about the route table from the other machine? – Garrett – 2012-07-26T15:00:08.743
@Garrett Added. The two computers are wi-fi'd to 192.168.1.254, which is Cat5'd to 192.168.1.1. – Cam Jackson – 2012-07-26T15:10:02.917
@CamJackson Sorry for my answer your were right, this wasn't relevant to your problem :/ – Flinth – 2012-07-26T15:23:46.530
What are the IP addresses of each router? – Tanner Faulkner – 2012-07-26T15:37:52.097
@r.tanner.f Router 1 (internet) is 192.168.1.1, and router 2 (wifi) is 192.168.1.254. – Cam Jackson – 2012-07-26T15:41:20.563
I say to hell with it and fire up a packet sniffer, see what's really going on. – Tanner Faulkner – 2012-07-26T16:00:29.620
3Getting a "destination unreachable" message from your own machine is normal behaviour in recent Windows versions. It just means that the arp failed, i.e., the IP address couldn't be located on the LAN. – Harry Johnston – 2012-07-26T22:22:04.933