[libvirt-users] dnsmasq not started when no dhcp enabled ?

jbd jeanbaptiste.denis at gmail.com
Tue Mar 8 20:21:04 UTC 2011


Hello everybody,

i've defined a simple network, with no dhcp. I'd like to use dnsmasq 
only as a dns server.

$ virsh net-dumpxml basicswitch
<network>
   <name>basicswitch</name>
   <uuid>60f491d2-d6c4-6b57-8a50-081cace8dedc</uuid>
   <forward mode='nat'/>
   <bridge name='virbr1' stp='on' delay='0' />
   <ip address='192.168.100.1' netmask='255.255.255.0'>
   </ip>
</network>

I start it :

$ virsh net-start basicswitch
Network basicswitch started

$  virsh net-list
Name                 State      Autostart
-----------------------------------------
basicswitch          active     no

But i see no dnsmasq process :

$ ps fax|grep dnsmas[q]

Here the output of "virsh version" :

$ virsh version
Compiled against library: libvir 0.8.8
Using library: libvir 0.8.8
Using API: QEMU 0.8.8
Running hypervisor: QEMU 0.12.5

What is funny is that the dnsmasq process is created on another box with 
different version :

$ virsh version
Compiled against library: libvir 0.8.3
Using library: libvir 0.8.3
Using API: QEMU 0.8.3
Running hypervisor: QEMU 0.12.5

$ ps fax|grep dnsmas[q]
7104 ?        S      0:00 dnsmasq --strict-order --bind-interfaces 
--pid-file=/var/run/libvirt/network/basicswitch.pid --conf-file= 
--listen-address 192.168.100.1 --except-interface lo

Any advice on it ?

Regards,

Jean-Baptiste




More information about the libvirt-users mailing list