[libvirt] dnsmasq, dhcp - bug or feature

Daniel P. Berrange berrange at redhat.com
Tue Sep 21 16:57:59 UTC 2010


On Fri, Sep 17, 2010 at 09:55:42PM +0200, Zdenek Styblik wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello list,
> 
> I have network definition like this:
> 
> <network>
>   <name>default</name>
>   <uuid>5539715b-ae89-c15c-aa2e-2f5a7afd55b8</uuid>
>   <forward mode='route'/>
>   <bridge name='virbr0' stp='on' delay='0' />
>   <ip address='10.117.9.1' netmask='255.255.255.224'>
>   </ip>
> </network>
> 
> and I would assume it means DHCP is off. Even virt-manager claims it's
> off, yet dnsmasq gets started every time. And what's "worse", it's
> giving away IP addresses.

It always has to be started so that guests get the DNS service from it. 
It should have the DHCP service disabled though if you don't give any
DHCP lines in the XML.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list