Tell "no path" from "no reply"
student@ubuntu:~$ ping -c 2 192.0.2.1
ping: connect: Network is unreachable
Network is unreachable is printed at once: the kernel has no route to the address,
and the request never left. Check addresses and routes: ip -br a, ip r (see
ip).
If there is a path but no reply, there are no reply lines at all, and the summary shows
100% packet loss: the requests went out and nothing came back. The host doesn't
exist, is off, or a firewall drops the replies.
Destination Host Unreachable
From 192.0.3.10 icmp_seq=1 Destination Host Unreachable
A host in your subnet didn't answer ARP — it's missing or off. The line comes from
your machine (From is your address) or a gateway on the way. This is not a timeout:
an error reply did arrive.
Inside the training network
sudo ip netns exec lab-client ping -c 2 192.0.2.1
The training machine has no network except lo: the client and server live in
network namespaces joined by a veth pair. ping without ip netns exec
looks for the address in the machine's own network and gets Network is unreachable.