More info:
When I start the nat network "vagrant-libvirt", 2 process dnsmasq are started with the same configuration:
nobody 474777 1 0 18:20 ? 00:00:00 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/vagrant-libvirt.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
root 474778 474777 0 18:20 ? 00:00:00 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/vagrant-libvirt.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
Is that normal?
When start the routed network "vagrant-puppet0" (see pastebin) only 1 process is started
nobody 470306 1 0 17:55 ? 00:00:00 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/vagrant-puppet0.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
When I see the (vagrant-libvirt) /var/lib/libvirt/dnsmasq/virbr1.macs content is
[
{
"domain": "node01",
"macs": [
"52:54:00:5a:a3:fb"
]
},
{
"domain": "node02",
"macs": [
"52:54:00:7d:b1:b8"
]
},
]
But if I see the content of /var/lib/libvirt/dnsmasq/virbr1.status (vagrant-libvirt) I see this:
[
{
"ip-address": "192.168.121.154",
"mac-address": "52:54:00:7d:b1:b8",
"hostname": "node02",
"client-id": "ff:d7:6b:blablabla",
"expiry-time": 1569623017
}
]
This file should be have both configuration, I guess, but when I start node02 after node01, the node01 status is replaced by node02 status, that is ok?
Cheers.