Ping Issue Over LAN - "Destination Host Unreachable"
by jonshaw199 from LinuxQuestions.org on (#6K2M2)
Hello! I am running into an issue when pinging my desktop PC from my laptop (Lenovo X1 Carbon).
- Both machines are running Ubuntu 22.04
- Both machines are connected using wifi
- The issue starts to happen after I close my laptop lid (or click "suspend"), and then open the lid back up
Things work fine at first and I get a response:
Code:PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
64 bytes from 192.168.1.12: icmp_seq=1 ttl=64 time=7.53 ms
64 bytes from 192.168.1.12: icmp_seq=2 ttl=64 time=8.14 msThen, when I close the lid on my laptop, reopen it, and try to ping again, I get a "Destination Host Unreachable" and "No route to host" error:
Code:PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
From 192.168.1.14 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to hostHowever, I can ping other machines on my network without an issue after opening the lid (i.e. Windows PC, TV, etc.). And I can ping my laptop from my desktop at this point too (the other direction). When I try the ping in the other direction like this, it actually fixes the issue and my laptop can ping my desktop again afterwards!
Any help would be greatly appreciated. My ultimate goal here is to remote into my desktop PC from my laptop. Thanks in advance, Jon.
- Both machines are running Ubuntu 22.04
- Both machines are connected using wifi
- The issue starts to happen after I close my laptop lid (or click "suspend"), and then open the lid back up
Things work fine at first and I get a response:
Code:PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
64 bytes from 192.168.1.12: icmp_seq=1 ttl=64 time=7.53 ms
64 bytes from 192.168.1.12: icmp_seq=2 ttl=64 time=8.14 msThen, when I close the lid on my laptop, reopen it, and try to ping again, I get a "Destination Host Unreachable" and "No route to host" error:
Code:PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
From 192.168.1.14 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to hostHowever, I can ping other machines on my network without an issue after opening the lid (i.e. Windows PC, TV, etc.). And I can ping my laptop from my desktop at this point too (the other direction). When I try the ping in the other direction like this, it actually fixes the issue and my laptop can ping my desktop again afterwards!
Any help would be greatly appreciated. My ultimate goal here is to remote into my desktop PC from my laptop. Thanks in advance, Jon.