Interview Prep/Networking/Connectivity: refused, timed out, no route

`telnet: Unable to connect to remote host: Network is unreachable`

BeginnerTroubleshootingConnectivity: refused, timed out, no route
Answer

Likely causes → The local kernel has no route that matches the destination (often no default route), or the interface is down. This is ENETUNREACH and is raised locally before any packet leaves.

Diagnose →

ip route
ip -br link
ip route get 8.8.8.8

Fix → Bring the interface up, renew DHCP (dhclient -v eth0 or networkctl renew eth0), or add the default route: ip route add default via 10.0.0.1.

Prevent → Persist routes in netplan/NetworkManager/systemd-networkd, not ad-hoc ip route commands.

All Networking questions Roadmap: Networking for DevOps

More on Connectivity: refused, timed out, no route