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>"
          }
        ]
      }
    ]
  }
}

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
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

Reply via email to