<div dir="ltr"><p>Hi everyone,</p>
<p>I’m running Kea DHCP4 together with Stork, and I’ve encountered something I don’t fully understand regarding how Stork calculates the total number of addresses in a subnet.</p>
<p>I have a <strong>1XX.9.3.0/24</strong> subnet configured, with only a very small dynamic pool:</p>
<pre class="gmail-overflow-visible!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-corner-superellipse/1.1 gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre!"><span class="gmail-hljs-attr">pools:</span>
  <span class="gmail-hljs-bullet">-</span> <span class="gmail-hljs-attr">pool:</span> <span class="gmail-hljs-number">1XX.9</span><span class="gmail-hljs-number">.3</span><span class="gmail-hljs-number">.250</span><span class="gmail-hljs-number">-1XX.9</span><span class="gmail-hljs-number">.3</span><span class="gmail-hljs-number">.254</span>
</code></div></div></pre>
<p>All other addresses in the /24 are used exclusively as <strong>static host reservations</strong>.</p>
<p>However, Stork reports the following:</p>
<ul>
<li>
<p><strong>Total addresses:</strong> 62</p>
</li>
<li>
<p><strong>Assigned:</strong> 51</p>
</li>
<li>
<p><strong>Free:</strong> 11</p>
</li>
<li>
<p><strong>Usage:</strong> 82.3% (yellow warning shown)</p>
</li>
</ul>
<p>My question is:</p>
<h3><strong>Why does Stork calculate only 62 total usable addresses for this subnet, when the subnet is actually a full /24?</strong></h3>
<p>I understand that my dynamic pool only contains 5 addresses, but I expected Stork to consider the rest of the /24 as part of the subnet, since I use those addresses for reservations.</p>
<p>Is this the expected behavior?<br>
Does Stork count only “usable” addresses as those inside dynamic pools plus explicitly configured reservations?<br>
Is there a recommended way to have Stork recognize the entire /24 range so it doesn’t trigger a high-usage warning?</p>
<p>Operationally everything works fine — I can continue creating reservations without any issue — but I’d like to confirm whether this behavior is normal or whether I might be missing something in the configuration.</p>
<p>Thanks in advance,<br>Oliver</p><p><br></p></div>