On 8/1/19 4:21 AM, Christian Kujau wrote:
This is basically a continuation of an older posting[0] I found, but
apparently no solution has been posted. So, I'm trying to setup static
DHCP leases with dnsmasq that is being started by libvirtd:
-----------------------------------------------------------
$ sudo virsh net-dumpxml --network default
<network>
[...]
<dns enable='no'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.130' end='192.168.122.250'/>
<host mac='08:00:27:e2:81:39' name='f30'
ip='192.168.56.139'/>
This is clearly a misconfiguration. 192.168.56.139 is not from
192.168.122.130/24 subnet. Libvirt should report an error in this case
but it doesn't (tested right now with the current git HEAD), which is a
bug. I believe if you'd s/56/122/ in the <host/> you'll find it working
again.
Michal