<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Are you saying that you're making static host reservations in a
      DB, and are they global reservations? From what I'm seeing you can
      only make reservations at the subnet level in 3.0.</p>
    <div class="moz-cite-prefix">On 12/8/25 1:55 PM, Marcin Jurczuk
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+dbQaFCjqm0_CnU4OMDYDDsbOeQw+KVny55PRsEsrMPs9o=oA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hi,</div>
      <div dir="auto">Please look into historical thread past month from
        myself. Been there done that. I’ve tried for exactly the same
        reason for cable modem provisioning. </div>
      <div dir="auto">As of today flex option only sets “real” dhcp
        options and can’t set field in dhcp header. </div>
      <div dir="auto">I’ve end up with cross db syncing by adding
        records to hosts table with db host backend. This table has
        column named dhcp4_boot_filename which is exactly that field.
        Modems work with that. </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Regards </div>
      <div><br>
        <div class="gmail_quote gmail_quote_container">
          <div dir="ltr" class="gmail_attr">On Mon, Dec 8, 2025 at 19:50
            Skyler Blumer <<a
              href="mailto:skyler.blumer@zitomedia.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">skyler.blumer@zitomedia.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">I'm
            Currently testing with kea 3.0. My end goal is to
            dynamically set <br>
            the boot-file-name (legacy BOOTP FNAME field not DHCP option
            67) to the <br>
            CHADDR sent in the request.<br>
            <br>
            Using the below it will set option 67 to
            cm/<CHADDR>.bin<br>
            <br>
                     {   "library": "libdhcp_flex_option.so",<br>
            <br>
                             "parameters": {<br>
                                 "options": [<br>
                                     {<br>
                                         "name": "boot-file-name",<br>
                                         "supersede":
            "lcase(concat('cm/', <br>
            concat(relay4[2].hex, '.bin')))",<br>
                                         "csv-format": false,<br>
                                         "client-class": "docsis"<br>
                                     }<br>
            <br>
            However when I try to do this in a subnet or class the FNAME
            is set to a <br>
            string literal "'cm/', concat(relay4[2].hex, '.bin'"<br>
            <br>
            "boot-file-name": "lcase(concat('cm/', concat(relay4[2].hex,
            '.bin')))"<br>
            <br>
            Is there a way to do this for the legacy FNAME field?<br>
            <br>
            -- <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" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://www.isc.org/contact/</a>
            for more information.<br>
            <br>
            To unsubscribe visit <a
href="https://lists.isc.org/mailman/listinfo/kea-users.Kea-users@lists.isc.org"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.isc.org/mailman/listinfo/kea-users.<br>
              Kea-users@lists.isc.org</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
  </body>
</html>