<div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature">My dnsmasq server provides DHCP for more than one hundred subnets like this:</div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#000000"><br></font><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-range=set:172.18.14.0-24,172.18.14.0,static,255.255.255.0</font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-option=tag:172.18.14.0-24,option:router,172.18.14.1</font></div><div><font face="monospace"><br></font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0</font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-option=tag:172.18.15.0-24,option:router,172.18.15.1</font></div><div><font face="monospace"><br></font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-range=set:172.18.16.0-24,172.18.16.0,static,255.255.255.0</font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-option=tag:172.18.16.0-24,option:router,172.18.16.1</font></div></blockquote><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">I need to disconnect the dnsmasq server from each of those subnets while continuing to provide reserved leases for clients in them, so I recently upgraded from v2.75 to v2.87 to gain the <font face="monospace">shared-network</font> option. I am currently testing the change on one subnet and it is working as expected:</div><div style="color:rgb(0,0,0)"><br></div><div style=""><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0</font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">dhcp-option=tag:172.18.15.0-24,option:router,172.18.15.1</font></div></blockquote><blockquote style="color:rgb(0,0,0);margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">shared-network=enp2s0,172.18.15.0</font></div></blockquote><font color="#000000"><br></font></div><div style=""><font color="#000000">Ultimately, I will need the <font face="monospace">shared-network</font> behavior for every subnet. Is it allowed to have multiple <font face="monospace">shared-network</font> directives in the config?</font></div><div style=""><font color="#000000"><br></font></div><div style=""><font color="#000000">-Rich</font></div></div></div>