My VMs don't get IP with libvirt and dnsmasq

Michal Privoznik mprivozn at redhat.com
Fri Apr 17 10:33:04 UTC 2020


On 4/17/20 1:31 AM, Computers Issues wrote:
> Hello there,
> 

There is nothing obviously wrong with XMLs. Couple of things to try:

1) are you sure that the guest actually ask for an IP address? What 
happens when you 'dhclient eth0' from inside the guest (or whatever the 
equivalent is)?

2) is dnsmasq running on the host? If so, there should be 
/var/lib/libvirt/dnsmasq/pepito.conf file, can you share its content?

3) Firewall. A lot of times when something network related doesn't work 
I shut the firewall down and retry. It helps me rule one possible source 
out.


Michal




More information about the libvirt-users mailing list