Hi all,

I am seeing a problem on the kea 1.3 server where one of my custom options
are causing the following error, only for a couple devices:

2019-01-17 11:14:17.186 INFO  [kea-dhcp4.leases/21772] DHCP4_LEASE_ADVERT
[hwtype=1 e0:07:1b:c8:10:86], cid=[no info], tid=0x69c96d1f: lease
10.50.22.109 will be advertised
2019-01-17 11:14:17.186 ERROR [kea-dhcp4.options/21772]
DHCP4_PACKET_PACK_FAIL [hwtype=1 e0:07:1b:c8:10:86], cid=[no info],
tid=0x69c96d1f: preparing on-wire-format of the packet to be sent failed
DHCPv4 Option 239 is too big. At most 255 bytes are supported.

However I know the defined option is not large:
        "option-data": [
           <snip>
            {
                "code": 239,
                "csv-format": true,
                "data": "http://monster-01/ztp.txt";,
                "name": "cumulus-provision-url",
                "space": "dhcp4"
            },
          <snip>
        ],
        "option-def": [
            {
                "code": 239,
                "name": "cumulus-provision-url",
                "space": "dhcp4",
                "type": "string"
            },

I am not sure how to debug exactly what is causing this to fail for a
couple of hosts. Any ideas?

I am planning to upgrade to 1.4 or 1.5, but I have not had the time to work
on that.

Thanks,
Jason
_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to