Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Michal Privoznik
On 4/17/20 1:01 PM, Computers Issues wrote: Hi, 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 traf

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Computers Issues
Hi, 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 abou

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Computers Issues
Hi, Okay! I'll check that and I'll tell what happened. Thanks El vie., 17 abr. 2020 a las 12:50, Michal Privoznik () escribió: > On 4/17/20 12:44 PM, Computers Issues wrote: > > Hello! > > > > Thanks for your answer. > > > > Well, I think it has to ask for an IP as I have the same configuration

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Michal Privoznik
On 4/17/20 12:44 PM, Computers Issues wrote: Hello! Thanks for your answer. Well, I think it has to ask for an IP as I have the same configuration in a different machine (with the same OS) and it works, there I see the DHCP packets and so on, but not here. Well, do you actually see DHCP tra

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Computers Issues
Hello! Thanks for your answer. Well, I think it has to ask for an IP as I have the same configuration in a different machine (with the same OS) and it works, there I see the DHCP packets and so on, but not here. And yeah, that pepito.conf file exists, this is its content: ##WARNING: THIS IS AN A

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Michal Privoznik
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 d

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-17 Thread Computers Issues
Hi! First, thanks for answering. Yes, the network is already started, and I think I have installed the tools needed (as I previously installed qemu, qemu-kvm, libvirt-bin, bridge utils, virt-manager and stuff), so I think I get them. About the bridge, yeah! The vribr2 exists and is created once I

Re: My VMs don't get IP with libvirt and dnsmasq

2020-04-16 Thread Daniel Romero
Hi, I've seen this before. First, the simple steps: have you started that network? (virsh start network-name) do you have installed the tools to work with bridges in your OS? can you check if the bridge exist in your OS and if the vm's interface is attached to it? In rhel you use the command br

My VMs don't get IP with libvirt and dnsmasq

2020-04-16 Thread Computers Issues
Hello there, I wanted to share a problem I'm having with libvirt, for the case someone here could know how to solve it. I'm using an Ubuntu 18.04 LTS, I have libvirtd already installed and I think I got all the dependencies installed. So, I'm using virsh net-create to create this network: p