<div dir="ltr"><div dir="ltr"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Plain v2.87 or v2.87 with the fix from git repo?</blockquote><div><br></div><div>I'm using a plain v2.87 binary built on my server with <span style="color:rgb(0,0,0);font-family:monospace">COPTS=’-DHAVE_DBUS -DHAVE_DNSSEC’</span><span style="color:rgb(0,0,0)"><font face="arial, sans-serif">. I am not using </font><font face="monospace">dhcp-rapid-commit</font><font face="arial, sans-serif">, so I haven't taken Simon's fix for that.</font></span></div></div><div><span style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></span></div><div><span style="color:rgb(0,0,0)"><font face="arial, sans-serif">-Rich</font></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 29, 2022 at 4:59 PM Geert Stappers via Dnsmasq-discuss <<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</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">On Fri, Oct 28, 2022 at 06:44:36PM -0400, Rich Otero via Dnsmasq-discuss wrote:<br>
> On Thu, Oct 27, 2022 at 7:15 AM Simon Kelley wrote:<br>
> > On 27/10/2022 11:49, Simon Kelley wrote:<br>
> > > Rich Otero:<br>
> > > > .... dnsmasq v2.75 ...<br>
> > > ....<br>
> > > strange things were happening, which I'll look into now, so make sure<br>
> > > you don't have that. (I might have found a bug for my efforts).<br>
> > ><br>
> ><br>
> > I did indeed find a bug, and if you _are_ using rapid commit, that might<br>
> > be a problem, I doubt you are. The fix is in the git repo now.<br>
> ><br>
> <br>
> I think I've arrived at a solution. With v2.87<br>
<br>
Plain v2.87 or v2.87 with the fix from git repo?<br>
<br>
<br>
> and the following configuration, clients are now receiving<br>
> the expected leases:<br>
> <br>
> # /etc/dnsmasq.d/172.18.0.0-16<br>
> dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0<br>
> shared-network=enp2s0,172.18.15.0<br>
> <br>
> <br>
> # /etc/dhcp-hosts/172.18.15.0-24<br>
> 00:c0:b7:f1:0f:65,rack7-pdu1<br>
> 00:c0:b7:f1:a3:71,rack7-pdu2<br>
> <br>
> <br>
> # /etc/dhcp-opts/172.18.15.0-24<br>
> tag:172.18.15.0-24,option:router,172.18.15.1<br>
> <br>
> <br>
> # /etc/static-hosts/172.18.15.0-24<br>
> 172.18.15.106 rack7-pdu1<br>
> 172.18.15.107 rack7-pdu2<br>
> <br>
> <br>
<br>
Thanks for sharing that.<br>
<br>
<br>
<br>
> This leads me to another question:<br>
<br>
To be put in fresh thread ...<br>
<br>
<br>
> There are 129 other subnets whose gateway IP addresses will be moved<br>
> away from the dnsmasq server. Is it allowed to have many shared-network<br>
> directives in the config?<br>
> <br>
> shared-network=enp2s0,172.18.0.0<br>
> shared-network=enp2s0,172.18.1.0<br>
> shared-network=enp2s0,172.18.2.0<br>
> < … ><br>
> shared-network=enp2s0,172.18.125.0<br>
> shared-network=enp2s0,172.18.126.0<br>
> shared-network=enp2s0,172.18.127.0<br>
> shared-network=enp2s0,172.18.128.0<br>
> <br>
> <br>
> Thanks again for all of the help.<br>
<br>
???<br>
<br>
<br>
Groeten<br>
Geert Stappers<br>
-- <br>
Silence is hard to parse<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div></div>