dnsmasq interfering with bootpd

scar scar at drigon.com
Sat Mar 13 16:50:02 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Markus Schönhaber @ 03/13/2010 02:38 AM:
> 13.03.2010 04:43, scar:
> 
>> Markus Schönhaber @ 03/12/2010 01:46 AM:
> 
>>> WAG: you have libvirt-bin installed which depends on
>>> dnsmasq-base.
>> it seems so... i do have a virtual machine configured, and it now
>> has no network connectivity.
>> 
>> how can we get everyone to get along?  we are in some low-level
>> stuff here and i don't quite know how these programs interact with
>> each other....
> 
> AFAIK libvirt-bin starts dnsmasq with --bind-interfaces, which means
> it will listen to all available interfaces. This makes it impossible
> to successfully run another DHCP server at the same time on the
> machine. I don't know of a way of preventing libvirt from doing this,
> short of not starting libvirt's default networking at all. But this
> would mean that you'd have to configure all the networking stuff
> yourself. http://wiki.libvirt.org/page/Networking
> 
> OTOH, if you can live with stopping libvirt's dnsmasq manually, it is
>  probably enough to assign the VM a fixed address and let it use your
>  upstream DNS.

thank you so much for your valuable help.  since i only need bootpd
sparingly (when i am installing a new system) i think, for now, i will
just use the following commands until i get something more permanent,
like assigning a static address to the VM:

virsh net-destroy default  #kind of harsh sounding, but it does just
                           # stop the dnsmasq process (maybe not good
                           # to execute while a VM is running)
sudo bootp start           #start bootpd
...
sudo bootp stop            #stop bootpd
virsh net-start default    #start up libvirt's dnsmasq process again.
-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkubwjkACgkQXhfCJNu98qAlPACghFlVn7K26/3eEIXYbOOqTWK1
81gAoJeMlwdBRCFqX03qdDN8cpSHqMMa
=PkdE
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list