[Kea-users] option 43 coming back blank
Victoria Risk
vicky at isc.org
Mon Apr 17 12:14:17 UTC 2023
Hi Alan,
A couple of weeks ago we had a webinar on configuring custom vendor options in Kea. You might find it to be helpful.
The slides are here: https://www.isc.org/docs/2023kea_custom_options.pdf and the recording is here: https://www.youtube.com/watch?v=mcXO7E9K190&feature=youtu.be
Regards,
Vicky Risk
> On Apr 14, 2023, at 7:43 PM, Alan Batie <alan at peak.org> wrote:
>
> I'm trying to migrate from isc-dhcp to kea, however the option 43 responses are coming back blank (they are actually getting sent, just with an empty value field):
>
> 2023-04-14 16:31:37.551 DEBUG [kea-dhcp4.packets/17503.140114709323392] DHCP4_RESPONSE_DATA [hwtype=1 48:77:46:f9:5b:b0], cid=[no info], tid=0x830e4d5b: responding with packet DHCPACK (type 5), packet details: local_address=207.55.16.91:67, remote_address=207.55.34.22:68, msg_type=DHCPACK (5), transid=0x830e4d5b,
> options:
> type=001, len=004: 4294967280 (uint32)
> type=003, len=004: 207.55.34.17
> type=006, len=008: 69.59.192.61 69.59.192.62
> type=012, len=006: "router" (string)
> type=028, len=004: 207.55.34.31 (ipv4-address)
> type=043, len=000:
> type=051, len=004: 300 (uint32)
> type=053, len=001: 5 (uint8)
> type=054, len=004: 207.55.16.91
> type=082, len=097:,
>
>
> isc relevant config:
>
> global:
> option space CALIXGC;
> option CALIXGC.acs-url code 1 = text;
>
> subnet:
> set vendor-string = option vendor-class-identifier;
> vendor-option-space CALIXGC;
> option CALIXGC.acs-url "<some url>";
>
>
>
> kea relevant config:
>
> {
> "Dhcp4": {
> "option-def": [
> {
> "space": "CALIXGC",
> "name": "acs-url",
> "code": 1,
> "type": "string"
> }
> ],
> "subnet4": [
> {
> "option-data": [
> {
> "name": "vendor-encapsulated-options",
> "code": 43
> },
> {
> "space": "CALIXGC",
> "name": "acs-url",
> "code": 1,
> "data": "<some url>"
> }
> ]
> }
> ]
> }
> }
> --
> 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/20230417/56a5c283/attachment.htm>
More information about the Kea-users
mailing list