<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>For completeness on the list I am summarizing the outcome of my situation.</p>
<p><br>
</p>
<p>After a conversation offline with Slawek, he identified that you can't search by MAC address for DHCP v6 leases. This is a limitation on the Kea side and not a Stork limitation. However, the Stork context help documentation does not indicate searching by MAC
 address is only applicable for v4 leases. Slawek opened a bug to get the Stork documentation corrected. <a href="https://gitlab.isc.org/isc-projects/stork/-/issues/1150" class="OWAAutoLink">https://gitlab.isc.org/isc-projects/stork/-/issues/1150</a></p>
<p><br>
</p>
<p><span style="font-size: 12pt;">Thanks again for your help Slawek.</span><br>
</p>
<div><br>
</div>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Stork-users <stork-users-bounces@lists.isc.org> on behalf of Justin Krejci <JKrejci@usinternet.com><br>
<b>Sent:</b> Tuesday, August 29, 2023 3:18 PM<br>
<b>To:</b> Slawek Figiel; stork-users@lists.isc.org<br>
<b>Subject:</b> Re: [stork-users] DHCP Lease Search</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Slawek,</p>
<p><br>
</p>
<p>Yes, I followed the exact steps you outlined.</p>
<p>Step 5 on your list - this results in my previously mentioned response of "no leases found"</p>
<p><br>
</p>
<p>Does this mailing list support image attachments? I can send some screeenshots or just mail them directly to you.</p>
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Stork-users <stork-users-bounces@lists.isc.org> on behalf of Slawek Figiel <slawek@isc.org><br>
<b>Sent:</b> Tuesday, August 29, 2023 2:51 PM<br>
<b>To:</b> stork-users@lists.isc.org<br>
<b>Subject:</b> Re: [stork-users] DHCP Lease Search</font>
<div> </div>
</div>
<div>
<p>Hello Justin!</p>
<p><br>
</p>
<p>Are you sure you have a lease for a given MAC address? I have now checked the lease search in our test environment, and it seems it works appropriately.<br>
<br>
Please, make this test:<br>
<br>
1. Search for a lease by IP<br>
2. Check if there is a visible box titled "Client"<br>
3. Check if the "MAC address" field inside the box has an expected value.<br>
4. Copy this value (MAC address) to the search box and press Enter.<br>
5. Check if the lease is found<br>
</p>
<p><br>
</p>
<p>I'm waiting for your feedback.</p>
<p>Regards<br>
Slawek<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 29/08/2023 21:31, Justin Krejci wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>I have a Kea DHCPv6 server running (no v4). It hands out NA and PD. No problems here.</p>
<p>I have the Stork agent running on the Kea server. No problems.</p>
<p>I have the Stork server running on a separate server. No problems.</p>
<p><br>
</p>
<p>Stork server version: <span>1.12.0.230802125039</span></p>
<p><span><br>
</span></p>
<p>The problem I am seeing is in the Stork server when I do a DHCP lease search.</p>
<p>Searching on the IPv6 NA it gives the results as expected</p>
<p><span style="">Searching on </span><span style="">the IPv6 PD it gives the results as expected</span></p>
<p><span style=""><span style="">Searching on the DUID <span style="">it </span><span style="">gives</span><span style=""> the results as expected (showing both NA and PD leases)</span></span></span></p>
<p><span style="">Searching on the MAC address gives: No results found matching <mac-address>.</span></p>
<p><br>
</p>
<p>I've tried all kinds of various MAC address formatting, including all three specified as supported in the "Help for leases search" context help.</p>
<p><br>
</p>
<p>Am I missing something or is this just a bug?</p>
<p><br>
</p>
<p>Thanks!!</p>
<p><br>
</p>
<p><br>
</p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset> </blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>