📖 ~1 min read
Table of contents
Symptom & Impact
Network disappears after reboot and remote SSH access is lost on renamed interfaces.
Environment & Reproduction
Occurs on Ubuntu 24.04 LTS after hypervisor NIC model changes or PCI reorder events.
Root Cause Analysis
Static interface names in netplan no longer match actual kernel device names at boot.
Quick Triage
Compare expected netplan interface labels with live link names before applying configuration.
ip -brief link; ls /etc/netplan
Step-by-Step Diagnosis
Validate YAML syntax, inspect generated config, and inspect udev predictable naming behavior.
sudo netplan generate --debug; sudo networkctl status

Solution – Primary Fix
Use match clauses by MAC address and set-name for deterministic naming, then reapply netplan.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudoedit /etc/netplan/01-netcfg.yaml && sudo netplan apply

Solution – Alternative Approaches
Pin names with udev rules or move to DHCP on transitional recovery windows.
Verification & Acceptance Criteria
Interface receives expected address, default route exists, and DNS resolution succeeds.
Rollback Plan
Restore prior netplan YAML from backup and run netplan apply from console access.
Prevention & Hardening
Template netplan with MAC matches and maintain console access path for remote nodes.
Related Errors & Cross-Refs
Related issues include cloud-init network override and missing default route.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Netplan documentation and systemd-networkd manuals.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.