<div dir="ltr">Hi.<br><br>I'm running dnsmasq as the local DHCP server in a container/VM/jail intended to serve as a router for multiple VMs, and the router VM is set up with multiple vnics, each on a different subnet.<br><br>vnic1: Subnet A -> 192.168.11.0 (external)<br>vnic2: Subnet B -> 192.168.21.0 (internal)<br>vnic3: Subnet C -> 192.168.31.0 (storage)<br><br>The problem I'm having is that as soon as a VM on subnet A requests a DHCP address, dnsmasq will not respond to any future requests from VMs on subnet B or subnet C. If I restart the dnsmasq service, and if the first DHCP request is from subnet B, it won't respond to queries from subnet A/C. Etc.<br><br>Is this peculiar to the particular version of dnsmasq-2.86? I've tried everything, with and without option bind-interfaces, with and without all interfaces explicitly listed, exclude-interfaces, etc.<br><br>Any help on this would be greatly appreciated. I've already spent 2 days trying to figure out what was going on. I'm trying to set up containers/VMs. The problem I face is that once I set up a VM on one subnet, VM creation fails for all other subnets. A restart of dnsmasq doesn't help, because then dnsmasq responds to the first and subsequent DHCP requests from a subnet, but stops responding to VMs on other subnets.<br><br>Thanks very much.<br><br>Sam<br><br>My dnsmasq.conf included below for reference.<br>------------------------------------------<br>dhcp-authoritative<br>dhcp-lease-max=1000<br>dhcp-leasefile=/var/cache/dnsmasq/dnsmasq.leases<br>dhcp-rapid-commit<br><div>log-facility=/var/log/dnsmasq/dnsmasq.log<br>log-queries<br>log-dhcp<br><br># NAT Interface<br>except-interface=net0<br>no-dhcp-interface=net0<br><br>domain=zetac.lan<br><br># Subnet A<br>interface=net1<br>bind-interfaces<br>listen-address=192.168.11.1<br>dhcp-range=set:extl,192.168.11.101,192.168.11.200,12h<br>dhcp-option=tag:extl,option:dns-server,192.168.11.1<br>dhcp-option=option:netmask,255.255.255.0<br>dhcp-option=option:domain-name,zetac.lan<br><br># Subnet B<br>interface=net2<br>bind-interfaces<br>listen-address=192.168.21.1<br>dhcp-range=set:intl,192.168.21.101,192.168.21.200,12h<br>dhcp-option=tag:intl,option:dns-server,192.168.21.1<br>dhcp-option=option:netmask,255.255.255.0<br>dhcp-option=option:domain-name,zetac.lan<br><br># Subnet B<br>interface=net3<br>bind-interfaces<br>listen-address=192.168.31.1<br>dhcp-range=set:intl,192.168.31.101,192.168.31.200,12h<br>dhcp-option=tag:intl,option:dns-server,192.168.31.1<br>dhcp-option=option:netmask,255.255.255.0<br>dhcp-option=option:domain-name,zetac.lan<div><br></div><div>bogus-priv<br>filterwin2k<br>no-hosts<br>no-resolv<br>no-poll<br>expand-hosts<br>domain-needed<br>dns-forward-max=150<br>neg-ttl=3600<br></div><div><br></div></div></div>