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?
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]