Hi,
I don't fully agree that option 150 can be anything. It is a standard
DHCP option defined in https://www.rfc-editor.org/rfc/rfc5859.html and,
as Veronique said, it's also recognized by ISC DHCP
(https://kb.isc.org/v1/docs/isc-dhcp-44-manual-pages-dhcp-options#standard-dhcpv4-options).
That's why we would expect it to be recognized by Kea as well without
the need to define it ourselves (as we do now).
Cheers,
Maria
On 11.01.22 10:29, Gordon Ross wrote:
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-boun...@lists.isc.org> on behalf of
Veronique Lefebure <veronique.lefeb...@cern.ch>
*Date: *Tuesday, 11 January 2022 at 09:25
*To: *Kea-users@lists.isc.org <Kea-users@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
_______________________________________________
ISC funds the development of this software with paid support subscriptions.
Contact us athttps://www.isc.org/contact/ for more information.
To unsubscribe visithttps://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
Kea-users@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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users