[libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

Marwan Tanager marwan.tngr at gmail.com
Thu Sep 13 09:26:13 UTC 2012


On Thu, Sep 13, 2012 at 04:14:30PM +0800, Osier Yang wrote:
> 
> Okay, finally I understood, that's because the default network use
> "nat" forward mode, and dnsmasq is the only one supported DHCP
> server libvirt supports for DHCPv4.
> 
> If you want to use the default NAT network, but to use your own
> DHCP server instead of dnsmasq, patches/RFC/ideas are welcomed
> (libvir-list at redhat.com).
> 
> If you want to use network in mode other than NAT. You won't have
> to suffer from the dnsmasq. For the network XML format:
> 
> http://libvirt.org/formatnetwork.html
> 

Well, the only solution then, for PXE to work properly is to use the 'bootp' 
element in the network xml file. I've just tried it after deleting the virtual 
interfaces configurations in my local DHCP server and it worked perfectly.

Thanks Osier for the pointers.

		
	Marwan




More information about the libvirt-users mailing list