Destination Host Unreachable
by olevlad from LinuxQuestions.org on (#6HBCR)
I have two Linux servers, one has VM with virt-manager. The VMs are in the 192.168.122.0 subnet. On the other server I can't reach the VM on the other server and get the "Host Unreachable" error.
[username@rocky ~]$ ping 192.168.122.2
PING 192.168.122.2 (192.168.122.2) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
I have added a route but still can't reach them.
This is from the server with the error message
$ ip route
0.0.0.0 dev wlp0s26u1u5 proto static scope link metric 600
default via 192.168.0.1 dev wlp0s26u1u5 proto dhcp src 192.168.0.249 metric 600
192.168.0.0/24 dev wlp0s26u1u5 proto kernel scope link src 192.168.0.249 metric 600
192.168.10.0/24 dev wlp0s26u1u5 proto static scope link metric 600
192.168.100.0/24 dev virbr0 proto kernel scope link src 192.168.100.1
192.168.122.0 via 192.168.0.1 dev wlp0s26u1u5
Both the physical boxes are on the same WiFi router. I added this route on the router but still can not reach them, the router address is 192.168.0.1
Name Destination Gateway Netmask Metric Status
Network(Home/Office) 192.168.122.0 192.168.0.1 255.255.255.0 1 Applied
[username@rocky ~]$ ping 192.168.122.2
PING 192.168.122.2 (192.168.122.2) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
I have added a route but still can't reach them.
This is from the server with the error message
$ ip route
0.0.0.0 dev wlp0s26u1u5 proto static scope link metric 600
default via 192.168.0.1 dev wlp0s26u1u5 proto dhcp src 192.168.0.249 metric 600
192.168.0.0/24 dev wlp0s26u1u5 proto kernel scope link src 192.168.0.249 metric 600
192.168.10.0/24 dev wlp0s26u1u5 proto static scope link metric 600
192.168.100.0/24 dev virbr0 proto kernel scope link src 192.168.100.1
192.168.122.0 via 192.168.0.1 dev wlp0s26u1u5
Both the physical boxes are on the same WiFi router. I added this route on the router but still can not reach them, the router address is 192.168.0.1
Name Destination Gateway Netmask Metric Status
Network(Home/Office) 192.168.122.0 192.168.0.1 255.255.255.0 1 Applied