[Kea-users] KEA support for option 150 (tftp-server-ip)

Gordon Ross gr306 at cam.ac.uk
Tue Jan 11 09:29:30 UTC 2022


Option 150 can be anything so you have to define it yourself.

//Define some custom options
    "option-def": [

    //Option for Cisco IP Phones to find CUCM.
    {
        "name": "cisco-cucm-servers",
        "code": 150,
        "type": "ipv4-address",
        "array": true
    }
]

From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Veronique Lefebure <veronique.lefebure at cern.ch>
Date: Tuesday, 11 January 2022 at 09:25
To: Kea-users at lists.isc.org <Kea-users at lists.isc.org>
Subject: [Kea-users] KEA support for option 150 (tftp-server-ip)
Hello,
In ISC DHCP v4.4.2 we have (https://downloads.isc.org/isc/dhcp/4.4.2/dhcp-4.4.2-RELNOTES<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownloads.isc.org%2Fisc%2Fdhcp%2F4.4.2%2Fdhcp-4.4.2-RELNOTES&data=04%7C01%7Cgr306%40universityofcambridgecloud.onmicrosoft.com%7C3bf0cfae0b6e4bed9d9008d9d4e3efb1%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637774899185495933%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=vlNzPfz5%2B0C0vFxsPpCtcNTWNv9SMiiEoEPUqD0KmKM%3D&reserved=0>) :

Support for sending and receiving additional DHCP4 options has been added to both the dhcpd and dhclient. Specifically: option codes 93,94, and 97 (RFC 4578); code 150 (RFC 5859); and codes 209,219, and 211 (RFC 5071). Beyond configuring, sending, requesting, and receiving these options neither server nor client apply any additional logic based on their values. Thanks to Peter Lewis for requesting this change. [ISC-Bugs 47062]


In KEA, it seems that option 150 is not support.
We get this error:

 [Validation] Error encountered: definition for the option 'dhcp4.tftp-server-ip' having code '0' does not exist

Is there a solution or do we have to define that option ourselves?

Thanks,
Veronique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220111/78458840/attachment-0001.htm>


More information about the Kea-users mailing list