[Kea-users] Custom standard option

Darren Ankney darren.ankney at gmail.com
Wed Jan 31 11:10:09 UTC 2024


Hi,

You should be able to put that content in option 66.  According to
this table (https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#id2)
option 66 (tftp-server-name) is a string.  I don't think Kea would
check the value you have put in there.  So something like this:

"option-data": [
  {
    "name": "tftp-server-name",
     "data": "'ftp://ftp.domain|user:pass@domain/subpage'"
  }
]

should work.

thank you,
Darren Ankney

On Wed, Jan 31, 2024 at 5:18 AM Jonas <jonaslui at gmail.com> wrote:
>
> Hello everyone,
>
> Currently I have an issue, I need to send an option 66, that is standard, but there is a trick to it, instead of the usual ftp://domain, it is like this ftp://ftp.domain|user:pass@domain/subpage, if I could do the configuration like in ISC DHCP it could be done creating an option 66 ascii, is there a way to override the standard type(I would try string in this context)? (it cannot be encapsulated, by my understanding and testing if I use another space, it gets encapsulated and not sent even with the query data optin 55 asking for it).
>
> Thanks in advance
> --
> 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.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list