virsh network commands
These are the virsh net commands that usually matter first when guests lose connectivity or a lab network does not come online. net list Use net list to confirm whether the network exists, whether it is active, and wheth
These are the virsh net-* commands that usually matter first when guests lose connectivity or a lab network does not come online.
net-list
virsh net-list --allUse net-list to confirm whether the network exists, whether it is active, and whether autostart is configured.
net-start
virsh net-start isolated-labUse net-start when the XML definition already exists and you only need to bring the virtual network online.
net-autostart
virsh net-autostart isolated-labAutostart is the persistence knob. Set it when the network must survive host reboots.
net-dumpxml
virsh net-dumpxml defaultUse net-dumpxml when you need the exact bridge name, forwarding mode, DHCP range, or DNS settings that the host is enforcing.
net-dhcp-leases
virsh net-dhcp-leases defaultThis is the quickest confirmation that the NAT-backed network handed a guest an address.