[Kea-users] Flex Options for BOOTP FNAME
Skyler Blumer
skyler.blumer at zitomedia.com
Mon Dec 8 18:49:55 UTC 2025
I'm Currently testing with kea 3.0. My end goal is to dynamically set
the boot-file-name (legacy BOOTP FNAME field not DHCP option 67) to the
CHADDR sent in the request.
Using the below it will set option 67 to cm/<CHADDR>.bin
{ "library": "libdhcp_flex_option.so",
"parameters": {
"options": [
{
"name": "boot-file-name",
"supersede": "lcase(concat('cm/',
concat(relay4[2].hex, '.bin')))",
"csv-format": false,
"client-class": "docsis"
}
However when I try to do this in a subnet or class the FNAME is set to a
string literal "'cm/', concat(relay4[2].hex, '.bin'"
"boot-file-name": "lcase(concat('cm/', concat(relay4[2].hex, '.bin')))"
Is there a way to do this for the legacy FNAME field?
More information about the Kea-users
mailing list