<div dir="ltr">I apologize - there's a typo in the subject line.  It should be dhcp-client-identifier (with an "r" at the end, not a "d').<div><br><div>Anyway, I tried running "kea-dhcp4 -t" on one of these files and got this back:</div><div><font face="monospace">2025-02-08 14:18:27.503 ERROR [kea-dhcp4.dhcp4/94820.0x50554e412000] DHCP4_PARSER_FAIL failed to create or run parser for configuration element reservations: one of the supported identifiers must be specified for host reservation: circuit-id, client-id, duid, flex-id, hw-address (kea-head.conf:135:7)<br>Error encountered: one of the supported identifiers must be specified for host reservation: circuit-id, client-id, duid, flex-id, hw-address (kea-head.conf:135:7)</font></div>So - I don't see anything in that list that would correspond to what I've been doing with ISC-dhcp. I tried making up the syntax for client ID, and it didn't like that, either...</div><div><span style="font-family:monospace">      {</span><br style="font-family:monospace"><span style="font-family:monospace">        "hostname": "bringebaer",</span><br style="font-family:monospace"><span style="font-family:monospace">        "ip-address": "192.168.1.57",</span></div><div><font face="monospace">        "client-id": "twister"</font><br style="font-family:monospace"><span style="font-family:monospace">      },</span></div><div>And the parser said:</div><div><br></div><div><font face="monospace">2025-02-08 14:32:29.031 ERROR [kea-dhcp4.dhcp4/94837.0x5775ffa12000] DHCP4_PARSER_FAIL failed to create or run parser for configuration element reservations: invalid host identifier value 'twister' (kea-head.conf:135:7)<br>Error encountered: invalid host identifier value 'twister' (kea-head.conf:135:7)</font></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Feb 8, 2025 at 12:50 PM John Lind <<a href="mailto:steinhelten@gmail.com">steinhelten@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 dir="ltr"><div>Hey, all.  I've spent hours watching recorded webinars, reading documentation, and doing web searches in vain to try to figure out how to get these reservations to work in kea.</div><div><br></div><div>For some of my devices / systems I like to use a value sent by the client rather than the hardware address to match them to a reservation.  This is especially useful in two cases</div><div>1) when I don't know the MAC address</div><div>2) when a device has different ways of connecting to my network (WiFi versus hardwired, and maybe different ethernet ports) but I want it to get the same IP address regardless of how it connects.</div><div><br></div><div>For reference, here's how the values appear in the ISC dhcp leases file when there's not a reservation (yet).</div><div><br></div><div><font face="monospace">        client-hostname "MyQ-5C9";<br>        client-hostname "casper";<br>        client-hostname "StreamingStick4K-ET5";<br>        client-hostname "Pixel-6a";<br>        client-hostname "Paige-s-S23-Ultra";<br>        client-hostname "Milea-s-S20-FE";<br>        client-hostname "DESKTOP-7424SLE";<br>        client-hostname "Pixel-8-Pro";<br>        client-hostname "Pixel-7a";</font></div><div><br></div><div>Here's an example of how I represent that in the dhcpd.conf file:</div><div><font face="monospace"> host bringebaer { fixed-address <a href="http://bringebaer.starfire.mn.org" target="_blank">bringebaer.starfire.mn.org</a>;</font></div><font face="monospace">        option dhcp-client-identifier "bringebaer";<br>        }</font><div>So, of course, keama is going to translate the FQDN to an IP address, but the rest of what it does doesn't seem like what I want:</div><div><br></div><div><font face="monospace">      {<br>        "hostname": "bringebaer",<br>        "ip-address": "192.168.1.57",<br>        "option-data": [<br>          {<br>            "space": "dhcp4",<br>            "name": "dhcp-client-identifier",<br>            "code": 61,<br>//          "original-data": "\"bringebaer\"",<br>            "csv-format": false,<br>            "data": "6272696e676562616572"<br>          }<br>        ]<br>      },</font></div><div>Note - the "data" in the option is actually a string of hex digits which truly does spell out "bringebaer" but I really think that keama is mapping <span style="font-family:monospace">dhcp-client-identifier</span> to completely the wrong thing.</div><div><br></div><div>If anyone can set me on the right course, I sure would appreciate it.</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">John Lind<div><a href="mailto:steinhelten@gmail.com" target="_blank">steinhelten@gmail.com</a></div><div><br></div></div></div></div>
</blockquote></div>