<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>It was actually IPv6, so:<br>https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp6-srv.html#allocation-strategies-in-dhcpv6<br></div><div><br></div><div><span id="zwchr" data-marker="__DIVIDER__">----- On May 6, 2024, at 12:12 PM, David Farje <davidabelfarje@gmail.com> wrote:<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Definitely string ID is nicer to manage. The thing is, Kea seems to be designed to support a large number of subnets and DB backend. In this case it is better to use an integer because I don't think you want a string based primary key on a DB table with millions of entries.<br><div>Regarding your second question I believe you may find some answers here:</div><div><a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#address-allocation-strategies-in-dhcpv4" target="_blank" rel="nofollow noopener noreferrer">https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#address-allocation-strategies-in-dhcpv4</a><br></div><br><div>Regards,</div><div>David</div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 6, 2024 at 9:21 AM <<a href="mailto:mxhajduczenia@gmail.com" target="_blank" rel="nofollow noopener noreferrer">mxhajduczenia@gmail.com</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"><div class="msg-2439711016816801178"><div lang="EN-US"><div class="m_-2439711016816801178WordSection1"><p class="MsoNormal"><span style="font-size:11pt">I can confirm – the lack of support for string ID is pretty annoying right now, and forces me to create ranges for specific applications, which will not scale well in production. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">On the second one, I observed that it goes numerically from the bottom of the pool range up, so ::2, ::3, etc. In ISC, it seems to have been random selection from the pool, with attempt made to populate all stanzas. Kea seems to prefer numerically incrementing assignment, which is pretty bad for security purposes (if a user knows it, they can pretty much guess previous assignments). I preferred personally the old ISC way of doing things. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Marek<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb( 225 , 225 , 225 );padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:'calibri' , sans-serif">From:</span></b><span style="font-size:11pt;font-family:'calibri' , sans-serif"> Kea-users <<a href="mailto:kea-users-bounces@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">kea-users-bounces@lists.isc.org</a>> <b>On Behalf Of </b>Xiao, Yu (CCI-Atlanta) via Kea-users<br><b>Sent:</b> Monday, May 6, 2024 6:10 AM<br><b>To:</b> Kea user's list <<a href="mailto:kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">kea-users@lists.isc.org</a>><br><b>Cc:</b> Xiao, Yu (CCI-Atlanta) <<a href="mailto:yu.xiao@cox.com" target="_blank" rel="nofollow noopener noreferrer">yu.xiao@cox.com</a>><br><b>Subject:</b> [Kea-users] Two questions regarding to kea subnet configuration<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11pt">Greetings,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">I have two questions related to the kea design. First, seems currently we can only assign numeric IDs to subnets, but for subnet management, it’s more convenient to use a string, is it possible to add this feature? Second, how kea design to distribute the ip addresses inside of the subnet esp ipv6 subnet? Is it totally random? Thank you. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><div><div><p class="MsoNormal"><span style="font-size:11pt;font-family:'calibri' , sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'calibri' , sans-serif">Best Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:'calibri' , sans-serif">Yu<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="nofollow noopener noreferrer">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div></blockquote></div>
<br>-- <br>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.<br><br>To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.<br><br>Kea-users mailing list<br>Kea-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/kea-users<br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Dan Geist dan(@)polter.net<br>http://www.polter.net<br>(404)786-6206</div></div></body></html>