[libvirt] dnsmasq, dhcp - bug or feature

Zdenek Styblik stybla at turnovfree.net
Tue Sep 21 17:30:53 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/21/10 18:57, Daniel P. Berrange wrote:
> 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

Hello Daniel,

thank you for your reply, although it gave me couple minutes to figure
it out; that dnsmasq serves also as an DNS forwarder. Well, I haven't
thought about this one, because we have everything external. Providing
such option would be great; dnsmasq optionality; yet I'm pretty sure it
would complicate (or even break) a lot of other things.

Ok, at least one mystery got explained. :o)

Thanks,
Zdenek

- -- 
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla at turnovfree.net
jabber: stybla at jabber.turnovfree.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyY680ACgkQ8MreUbSH7ik17gCfbEq6Z2bSE8nHmqzoamp/RxoZ
dFMAn3Ryhv1wd4UmythbKEXa5rmYhDXE
=5c0W
-----END PGP SIGNATURE-----




More information about the libvir-list mailing list