Network lost on the machine
What to check when the machine doesn't respond over SSH and can't access the internet itself: console, interface status, default route, and filter rules.
Updated August 23, 2026
“The network is gone” covers two different cases: nothing reaches the machine from outside, and the machine itself can't reach anything. Start with the console, because SSH is unavailable in this situation, and the console always works — it's connected to the machine directly, bypassing the network.
Step 1. Get in through the console
Open /hosting/vds/m/<id>, the “Console” tab. The text console (serial port) works for any commands; “Screen” (VNC) is needed if the system doesn't present a prompt on the serial line. If the console shows a login prompt, the machine is alive and the problem is the network, not boot.
If there's no prompt and “Screen” shows a kernel error message, see Kernel panic: what to do next.
Step 2. Check the interface and the address
ip -brief address
ip route
The interface should have your public IPv4 address from the “Overview” tab, and the routes should include a default via ... line. Common findings:
- the interface is in state
DOWN— bring it up:ip link set dev ens18 up; - the address disappeared after a manual config edit — restore the settings file and restart the network service (
systemctl restart systemd-networkdornetplan applyon Ubuntu); - there's no default route — temporarily restore it with
ip route add default via <gateway>to regain access, then fix the configuration, otherwise it will happen again after a reboot.
Changes made through ip last only until reboot. The real fix is always in the configuration file.
Step 3. Tell “no connectivity” apart from “no names”
ping -c3 1.1.1.1
ping -c3 millida.net
If the address pings but the name doesn't, the network is fine and name resolution is broken: go to Names won't resolve (DNS).
Step 4. Look at the packet filter
The most common cause of lost access is your own rule that shut off the login. Check:
nft list ruleset
iptables -S
ufw status verbose
If you see a DROP policy on incoming traffic without port 22 allowed, you've cut yourself off from SSH. Restore access through the console:
ufw allow 22/tcp
ufw reload
Before you enable a firewall, always allow the SSH port in the same set of commands. The “deny first, allow later” approach costs you your access.
Step 5. Check the SSH daemon itself
The network can be working while the port is closed because the service crashed:
systemctl status ssh
ss -tlnp | grep :22
See Service won't start: systemd troubleshooting for how to diagnose the service state.
If nothing helped
Boot into the SystemRescue recovery disk from the “Access” tab: root login without a password, and the machine's disk is visible as /dev/sda. Mount the root and fix the network configuration “from outside” the system. When you're done, switch back to normal boot mode and reboot the machine — otherwise it will keep starting into SystemRescue.