[Kea-users] option 43 coming back blank

Alan Batie alan at peak.org
Fri Apr 14 23:43:55 UTC 2023


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>"
           }
	]
       }
     ]
   }
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3987 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230414/683353bf/attachment.bin>


More information about the Kea-users mailing list