<div dir="ltr">Hi,<div><br></div><div>I discovered that using dnsmasq as a dhcp (ip4) server on a system with another nic that has no ip, causes the automatic determination of the subnet mask to fail, and the server offers leases with a subnet mask of 0.0.0.0.  I have worked around it by specifying the subnet mask in the config.</div><div><br></div><div>dnsmasq configuration</div><div>---</div><div>dhcp-option=option:domain-name, "local"<br>dhcp-authoritative<br>dhcp-no-override<br>dhcp-leasefile=/var/db/dnsmasq.dhcpd.leases<br>dhcp-range=set:lan,192.168.1.100,192.168.1.199<br> dhcp-option=tag:lan,option:dns-server,192.168.1.1<br> dhcp-option=tag:lan,option:router,192.168.1.1<br></div><div>---</div><div>system (freebsd 11.3) interfaces</div><div><br></div><div>vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br>inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255<br>media: Ethernet autoselect (100baseTX <full-duplex>)<br>        status: active</div><div><br>vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br>media: Ethernet autoselect (none)<br>     status: no carrier<br></div><div><br></div><div>Thanks</div><div><br></div><div>Andrew</div></div>