[Pkg-libvirt-maintainers] Bug#503904: libvirt-bin uses dhcp-server

Julien HEYMAN julien.heyman at atosorigin.com
Wed Oct 29 10:54:04 UTC 2008


Ok, libvirt-bin use dnsmasq for dhcp service. 

but, when you start your host, dnsmasq start. libvirt-bin start too.

But in this configuration, the guest don't receive ip by the dhcp,
because dnsmasq has a bad configuration.

But if you stop dnsmasq, and you restart libvirt-bin, dnsmasq is restart
too by the libvirt daemon, and the good configuration. Guest can receive
ip.

For a good configuration,  you must do this:
/etc/init.d/dnsmasq stop
/etc/init.d/libvirt-bin restart

and if you do that, it's ok.

When you start dnsmasq, you have this : /usr/sbin/dnsmasq -u dnsmasq

but, when libvirt-bin start dnsmasq, you have this : dnsmasq
--keep-in-foreground --strict-order --bind-interfaces --pid-file
--conf-file  --listen-address 192.168.122.1 --except-interface lo
--dhcp-leasefile=/var/lib/libvirt/dhcp-default.leases --dhcp-range
192.168.122.2,192.168.122.254


In the syslog : 
DHCP, plage d'adresses 192.168.122.2 -- 192.168.122.254, durée de bail
1h

maybe put this information in the README.Debian if it's a normal
behavior.






More information about the Pkg-libvirt-maintainers mailing list