[Kea-users] Custom standard option

Jonas jonaslui at gmail.com
Wed Jan 31 14:32:33 UTC 2024


Got it working, it was a glitch in another place, although I still would
like to know if it is possible to override standard options not
encapsulated.

On Wed, Jan 31, 2024 at 8:28 AM Jonas <jonaslui at gmail.com> wrote:

> True that is it a string already, sorry about that mistake, but it doesn´t
> work like ISC would with ascii (by the way,if it it wasn´t a string, could
> the "standard '' be changed without encapsulating?)
>
> On Wed, Jan 31, 2024 at 8:10 AM Darren Ankney <darren.ankney at gmail.com>
> wrote:
>
>> 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
>> --
>> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240131/75e4259d/attachment.htm>


More information about the Kea-users mailing list