I'm trying to change dhcp range in libvirt default network. Idea is to limit dhcp range, since part of addresses are reserved for static ip's.
First I simply edited /etc/libvirt/qemu/networks/default.xml and run 'service libvirt-bin restart'. No change in dnsmasq. Tried killing dnsmask, and libvirt-bin restart, but dnsmasq was not started at all. Tried rebooting whole machine. No change.
After it, I tried 'virsh net-edit default'. Editing goes fine, but virsh net-dumpxml shows nothing changed.
So few questions arise:
1) who starts dnsmasq, if not libvirs-bin? I cannot find anythign under /etc
root@sr1:/etc# find . | grep -i dnsmasq
root@sr1:/etc# find . -type f -print0 | xargs -0 grep -i dnsmasq
./insserv.conf:$named +named +dnsmasq +lwresd +bind9 $network
2) why editing default.xml or virsh net-edit doesn't have any effect?
3) should I report bug?
System is ubuntu 10.04, all packets updated at the of writing this.
Edit: editing /var/lib/libvirt/network/default.xml and rebooting whole machine fixed it for now, but real answers missing
Bookmarks