<div dir="ltr">>The problem is that are for some reason no available leases for this client on subnet-id 3.<div>Yeah... my colleague's assumption is that kea lacks the correct vendor client-classes. Let me try cover the simple stuff and elaborate. I the option-data and pools I have defined: That data is pulled from a working windows DHCP server </div><div><br></div><div><br></div><div> "option-data": [<br> {<br> "always-send": false,<br> "code": 43,<br> "csv-format": false,<br> "data": "
0x4d4552414b49",<br> "name": "MERAKI_AP_CLASS",<br> "never-send": false,<br> "space": "dhcp4"<br> },<br> {<br> "always-send": true,<br> "code": 43,<br> "csv-format": true,<br> "data": "0x4d4552414b49",<br> "name": "MERAKI_AP_CLASS",<br> "never-send": false,<br> "space": "vendor-encapsulated-options-space"<br> }<br> ],<br> "pools": [<br> {<br> "client-class": "MERAKI_AP_CLASS",<br> "option-data": [],<br> "pool": "xxx.xxx.11.1-xxx.xxx.13.127"<br> },<br> {<br> "client-class": "MERAKI_AP_CLASS",<br> "option-data": [],<br> "pool": "xxx.xxx.13.128-xxx.xxx.15.254"<br> }<br> ],<br><br><br> "client-classes": [<br> {<br> "boot-file-name": "",<br> "name": "MERAKI_AP_CLASS",<br> "next-server": "0.0.0.0",<br> "option-data": [<br> {<br> "always-send": false,<br> "code": 43,<br> "csv-format": true,<br> "data": "0x4d4552414b49",<br> "name": "MERAKI_AP_CLASS",<br> "never-send": false,<br> "space": "dhcp4"<br> },<br> {<br> "always-send": true,<br> "code": 43,<br> "csv-format": true,<br> "data": "0x4d4552414b49",<br> "name": "MERAKI_AP_CLASS",<br> "never-send": false,<br> "space": "vendor-encapsulated-options-space"<br> }<br>]</div><div><br></div><div>Since putting these stanza in place the nature of the error has changed slightly to </div><div><br>2024-05-14 18:45:16.013 ERROR [kea-dhcp4.bad-packets/1184246] <b><u>DHCP4_PACKET_NAK_0001 </u></b>[hwtype=1
xx:xx:xx:xx:xx:xx ], cid=[
xx:xx:xx:xx:xx:xx ], tid=0x3fe164bf: failed to select a subnet for incoming packet, src xxx.xxx.10.1, type DHCPDISCOVER<br></div><div><br></div><div>The src that is forwarding these requests is not part of the pool that is defined. Is that an issue? Sorry I am a bit new to DHCP in general and vendor classes especially. There is a lot of throwing things at the wall and seeing what sticks at the moment.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><font face="courier new, monospace" color="#999999">CS, cs.Temp.Mail@gMail.com</font></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 May 2024 at 01:17, Peter Davies <<a href="mailto:peterd@isc.org">peterd@isc.org</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"><u></u>
<div>
<p><span>Hi CS,</span></p>
<p><span> </span><span>Kea sees the vendor ID and
automatically creates the VENDOR_CLASS_MERAKI class</span><span>, which is</span><span> associated with this client.</span></p>
<p><span>The problem is that </span><span>are </span><span>for</span><span> some reason</span><span> </span><span>no</span><span> available leases for this client
on subnet-id 3.</span></p>
<p></p>
<p><span>It is </span><span>not possible to give a better
explanation</span><span> based on
the data presented here.</span></p>
<p></p>
<p><span>Kind Regards Peter</span></p>
<p></p>
<div>On 13/05/2024 22.33, CS wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I am trying to migrate onto a kea server however I think I
am stymied by vendor classes/options and my lack of
understanding of the concept. On the server I am logging the
following:</div>
<div><br>
</div>
2024-05-10 05:18:35.064 WARN [kea-dhcp4.alloc-engine/1184246]
ALLOC_ENGINE_V4_ALLOC_FAIL_SUBNET [hwtype=1 xx:xx:xx:xx:xx:xx],
cid=[xx:xx:xx:xx:xx:xx:xx], tid=0x58cf5641: failed to allocate
an IPv4 lease in the subnet xx.xx.xx.xx/xx, subnet-id 3, shared
network (none)<br>
2024-05-10 05:18:35.064 WARN [kea-dhcp4.alloc-engine/1184246]
ALLOC_ENGINE_V4_ALLOC_FAIL_NO_POOLS [hwtype=1
xx:xx:xx:xx:xx:xx], cid=[xx:xx:xx:xx:xx:xx], tid=0x58cf5641: no
pools were available for the address allocation<br>
2024-05-10 05:18:35.064 WARN [kea-dhcp4.alloc-engine/1184246]
ALLOC_ENGINE_V4_ALLOC_FAIL_CLASSES [hwtype=1
xx:xx:xx:xx:xx:xx], cid=[xx:xx:xx:xx:xx:xx], tid=0x58cf5641:
Failed to allocate an IPv4 address for client with classes: ALL,
<a href="http://HA_kea1.org.org" target="_blank">HA_kea1.org.org</a>,
VENDOR_CLASS_MERAKI, UNKNOWN
<div><br>
</div>
<div>Since I have pools defined with all their IP addresses
available, I assume this is because I need to define a vendor
class for the meraki access points that are DORA but I can't
seem to craft the configuration that can move this forward.
Probably because . When I look at our old windows DHCP server
I have the following reference but I am still stuck.</div>
<div><br>
</div>
<div><Class><br>
<Name>MERAKI_AP_CLASS</Name><br>
<Type>Vendor</Type><br>
<Data>0x4d4552414b49</Data></div>
<div></Class><br>
</div>
<div><br>
</div>
<div>Any thoughts, advice, direction? Working my way through <a href="https://kea.readthedocs.io/en/latest/arm/classify.htmlbut" target="_blank">https://kea.readthedocs.io/en/latest/arm/classify.htmlbut</a>
I'm not sure I fully understand the vendor options concept of
all this...especially in resolving my isseu.</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature"><font face="courier new, monospace" color="#999999">CS,
<a href="mailto:cs.Temp.Mail@gMail.com" target="_blank">cs.Temp.Mail@gMail.com</a></font></div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<pre cols="72">--
Peter Davies
Support Engineer
Internet Systems Corporation
</pre>
</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" 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" 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">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>