<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I'm using isc-dhcp-server 4.4.1-2 on RasPiOS Buster, and it's working fine with the following subnet declaration:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">subnet 192.168.92.0 netmask 255.255.255.0 {<o:p></o:p></p>
<p class="MsoNormal">    option domain-search "foo.com", "dyn.foo.com";<o:p></o:p></p>
<p class="MsoNormal">    option broadcast-address 192.168.92.255;<o:p></o:p></p>
<p class="MsoNormal">    allow duplicates;<o:p></o:p></p>
<p class="MsoNormal">    ddns-updates off;<o:p></o:p></p>
<p class="MsoNormal">    pool {<o:p></o:p></p>
<p class="MsoNormal">        ddns-updates on;<o:p></o:p></p>
<p class="MsoNormal">        allow unknown-clients;<o:p></o:p></p>
<p class="MsoNormal">        option domain-name "dyn.foo.com";<o:p></o:p></p>
<p class="MsoNormal">        ddns-rev-domainname "dhcp";<o:p></o:p></p>
<p class="MsoNormal">        default-lease-time 86400;<o:p></o:p></p>
<p class="MsoNormal">        max-lease-time 86400;<o:p></o:p></p>
<p class="MsoNormal">        range 192.168.92.101 192.168.92.127;<o:p></o:p></p>
<p class="MsoNormal">    }<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This same subnet config worked on Ubuntu 21.04 a couple of weeks ago, with isc-dhcp-server V4.4.1-2.2-ubuntu6 on it. Today I updated on Ubuntu, got isc-dhcp-server V4.4.1-2.2ubuntu6.1 and now isc-dhcp-server complains about "Can't clone
 pool group".<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found that I can put the pool declaration outside of the subnet declaration on Ubuntu, and it works correctly. Unfortunately, doing this on RasPiOS fails!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Am I totally using subnet and pool incorrectly, or is this an incompatible change in isc-dhcp-server? And, is it an intended change coming to mainline isc-dhcp-server or did Ubuntu bork it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is important (to me, anyhow), since I have a tool that automatically builds dhcpd.conf from a database, and now it's broken with no easy way to fix other than putting in "do it this way/that way" switches.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your help!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>