[libvirt-users] How libvirt interacts with dhcpd?

Laine Stump laine at redhat.com
Mon Jun 18 14:39:14 UTC 2018


On 06/18/2018 09:16 AM, Daniel. wrote:
> Cool, thanks!! Does it have logs?

Whatever dnsmasq chooses to log, and wherever it chooses to log it. (I
actually looked once to see if there was a way of reducing the amount of
logging, and didn't find much of anything useful.)

If you were planning to learn the current IP address of a particular
guest's interface by looking at the logs, you can instead use the virsh
domifaddr to to that.

> 
> 
> Cheers
> 
> Em 18/06/2018 12:55 AM, "Laine Stump" <laine at redhat.com
> <mailto:laine at redhat.com>> escreveu:
> 
>     On 06/15/2018 06:49 PM, Daniel. wrote:
>     > Hi everybody,
>     >
>     > I'm using libvirt together with xCAT, on the same host, for testing
>     > purposes. xCAT install and manages dhcpd. How libvirt interacts with
>     > dhcpd? And if doens't how does the dhcp server of libvirt works, plus
>     > where I can find information on how to troubleshot it?
> 
>     libvirt doesn't use dhcpd. It runs a separate instance of dnsmasq for
>     each virtual network that is defined within libvirt. Each instance
>     listens *only* on the bridge device that was created by libvirt for that
>     network. IIfi dhcpd has an option that tells it to listen on all
>     interfaces (or to automatically start listening on any new interface
>     that is created), you should disable that option so that it doesn't
>     attempt to listen for dhcp requests on the bridges created by libvirt.
> 
> 




More information about the libvirt-users mailing list