When we first installed and started the libvirt daemon, a few things happened automatically:
- A new Linux bridge was created with the name and IP address defined in the /etc/libvirt/qemu/networks/default.xml configuration file
- The dnsmasq service was started with a configuration specified in the /var/lib/libvirt/dnsmasq/default.conf file
Let's examine the default libvirt bridge configuration:
root@kvm:~# cat /etc/libvirt/qemu/networks/default.xml<network> <name>default</name> <bridge name="virbr0"/> <forward/> <ip address="192.168.122.1" netmask="255.255.255.0"> <dhcp> <range start="192.168.122.2" end="192.168.122.254"/> </dhcp> </ip></network>root@kvm:~#
This is the default network that libvirt created for us, specifying ...