📖 ~1 min read
Table of contents
Symptom & Impact
Guest VMs boot but cannot obtain DHCP lease or reach external networks.
Environment & Reproduction
Ubuntu 24.04 LTS with libvirt and qemu-kvm where default network was not autostarted.
Root Cause Analysis
libvirt network definition exists but bridge and dnsmasq components are not active.
Quick Triage
Run virsh net-list –all and systemctl status libvirtd to inspect network lifecycle state.
Step-by-Step Diagnosis
Review virsh net-dumpxml default and verify nftables forwarding rules for virbr0.

Solution – Primary Fix
Start and autostart default network using virsh net-start default and virsh net-autostart default.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Create a custom bridge network if routed or VLAN-backed guest networking is required.
Verification & Acceptance Criteria
Guests receive IP addresses and pass outbound connectivity checks.
Rollback Plan
Destroy custom network and reactivate default NAT network if new topology fails.
Prevention & Hardening
Include virsh network autostart checks in post-provision validation tasks.
Related Errors & Cross-Refs
dnsmasq port conflicts and host firewall forwarding drops can cause similar failures.
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
Libvirt networking documentation for Ubuntu environments.
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.