<div dir="ltr"><div dir="ltr"><div><div class="gmail_signature">Yes, we are using multiple shared-network statements with v2.87 and this is working as we expect. Thanks for your help.</div></div><div class="gmail_signature"><br></div><div class="gmail_signature">-Rich</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 14, 2022 at 11:44 AM Geert Stappers <<a href="mailto:stappers@stappers.nl">stappers@stappers.nl</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 Mon, Oct 31, 2022 at 08:52:29PM +0000, Simon Kelley wrote:<br>
> On 31/10/2022 14:15, Rich Otero via Dnsmasq-discuss wrote:<br>
> > My dnsmasq server provides DHCP for more than one hundred subnets like this:<br>
> > <br>
> > dhcp-range=set:172.18.14.0-24,172.18.14.0,static,255.255.255.0<br>
> > dhcp-option=tag:172.18.14.0-24,option:router,172.18.14.1<br>
> > <br>
> > dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0<br>
> > dhcp-option=tag:172.18.15.0-24,option:router,172.18.15.1<br>
> > <br>
> > dhcp-range=set:172.18.16.0-24,172.18.16.0,static,255.255.255.0<br>
> > dhcp-option=tag:172.18.16.0-24,option:router,172.18.16.1<br>
> > <br>
> > <br>
> > I need to disconnect the dnsmasq server from each of those subnets while<br>
> > continuing to provide reserved leases for clients in them, so I recently<br>
> > upgraded from v2.75 to v2.87 to gain the shared-network option. I am<br>
> > currently testing the change on one subnet and it is working as<br>
> > expected:<br>
> > <br>
> > dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0<br>
> > dhcp-option=tag:172.18.15.0-24,option:router,172.18.15.1<br>
> > shared-network=enp2s0,172.18.15.0<br>
> > <br>
> > <br>
> > Ultimately, I will need the shared-network behavior for every subnet. Is<br>
> > it allowed to have multiple shared-network directives in the config?<br>
> <br>
> Yes, there are no limits on the number of shared-network statements.<br>
> <br>
> Simon.<br>
> <br>
> > -Rich<br>
<br>
Hi Rich,<br>
Hi Co-workers of Rich,<br>
<br>
<br>
Please consider a "Yes, the multiple shared-network statements work fine"<br>
or something like "Yeah, dnsmasq is doing what I expected from it!"<br>
<br>
<br>
Groeten<br>
Geert Stappers<br>
-- <br>
Silence is hard to parse<br>
</blockquote></div></div>