<div dir="ltr">Hi,<div><br></div><div>That was right. I mean, I've tried it at the same time in both machines I have (the one where it works and the other), and using tcpdump -i virbr2 in both ones, after creating the domain with virsh, showed that the right one is getting DHCP traffic, but there's no DHCP request or anything about DHCP in the one that is not working.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 17 abr. 2020 a las 12:50, Michal Privoznik (<<a href="mailto:mprivozn@redhat.com">mprivozn@redhat.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/17/20 12:44 PM, Computers Issues wrote:<br>
> Hello!<br>
> <br>
> Thanks for your answer.<br>
> <br>
> Well, I think it has to ask for an IP as I have the same configuration <br>
> in a different machine (with the same OS) and it works, there I see the <br>
> DHCP packets and so on, but not here.<br>
<br>
Well, do you actually see DHCP traffic on the virbr2 bridge? Because if <br>
not then the guest configuration is probably not correct.<br>
<br>
> And yeah, that pepito.conf file <br>
> exists, this is its content:<br>
> ##WARNING:  THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE<br>
> ##OVERWRITTEN AND LOST.  Changes to this configuration should be made using:<br>
> ##    virsh net-edit pepito<br>
> ## or other application using the libvirt API.<br>
> ##<br>
> ## dnsmasq conf file created by libvirt<br>
> strict-order<br>
> user=libvirt-dnsmasq<br>
> pid-file=/var/run/libvirt/network/pepito.pid<br>
> except-interface=lo<br>
> bind-dynamic<br>
> interface=virbr2<br>
> dhcp-range=192.168.150.2,192.168.150.254<br>
> dhcp-no-override<br>
> dhcp-authoritative<br>
> dhcp-lease-max=253<br>
> dhcp-hostsfile=/var/lib/libvirt/dnsmasq/pepito.hostsfile<br>
> addn-hosts=/var/lib/libvirt/dnsmasq/pepito.addnhosts<br>
<br>
This looks good. I suspect it is the guest not asking for DHCP. If it <br>
did, this configuration would assign an IP address.<br>
<br>
Michal<br>
<br>
</blockquote></div>