<div dir="ltr"><div dir="ltr">nevermind :-) I ended up finding out from <a href="https://forum.openwrt.org/t/dhcp-being-stubborn-keep-getting-wrong-subnet-ip-even-with-a-static-lease-set-up/171987/13">the openwrt forum post</a> i made that the cause of this ended up being me trying to use dhcp-option-force in the multi-instance deployment vs the single one.. apologies for the noise! </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 Sept 2023 at 14:24, AleksM <<a href="mailto:a%2Bdnsmasq@alek.cx">a+dnsmasq@alek.cx</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Hi all,</span></div><div><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div>I'm running on OpenWRT (<span style="font-size:13px;color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">SNAPSHOT r23935+13-c1206675a4) which has installed dnsmasq 2.89 and my client is a macbook running MacOS 12.3.1 and </span><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">I recently switched from a single dnsmasq instance to a multi-</span><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">instance</span><span style="font-size:13px;color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"> dnsmasq setup (because i wanted a different subdomain name given for the different networks i have dnsmasq listen on and that was the approach suggested in openwrt forum), </span></div><div><span style="font-size:13px;color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><br></span></div><div><span style="font-size:13px;color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">But when i performed this change, i found out (after many days of troubleshooting) that the dhcp response no longer contained a subnet-mask field (which was causing my client to use the default /16 for a classful CIDR of that address space, which caused connectivity issues that were hilariously baffling at first).</span></div><div><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(64,64,64);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Is there some bug here, or am I doing something wrong?</span></div><div><br></div><div>Attaching both the single-instance dnsmasq.conf (working) and the DHCPOFFER response as well as the offending instance in the multi-instance dnsmasq.conf (broken) and the DHCPOFFER response, where the subnet-mask option is omitted (despite me attempting to add it as an extra DHCPOPTION #1 even!)</div><div><br></div><div>Any advice or anything else to look at?</div><div><br></div><div>Warm regards,</div><div>Aleks</div></div>
</blockquote></div></div>