[Kea-users] kea server not send custom dhcp options

Anatoly Shipitsin norguhtar at gmail.com
Sun May 24 15:02:00 UTC 2020


Hello. I try add option 209. I read docs but it just not working.

I put in "Dhcp4"

"option-def": [
           {
               "name": "ConfigFile",
               "code": 209,
               "type": "string",
               "array": false,
               "record-types": "",
               "space": "dhcp4",
               "encapsulate": ""
}],

And add in "option-data" after
           { "name" : "routers", "data" : "194.117.250.1" },
           { "name" : "domain-name-servers", "data" : "8.8.8.8, 8.8.4.4" },
this
           {
               "name": "ConfigFile",
               "data": "testtest"
           },



And send dhcp request to server. But server not return 209 option. In
server log i see:

2020-05-24 14:49:11.304 DEBUG [kea-dhcp4.packets/14003] DHCP4_RESPONSE_DATA
[hwtype=1 de:ad:c0:de:ca:fe], cid=[no info], tid=0xfc067955: responding
with packet DHCPOFFER (type 2), packet de
tails: local_address=192.168.1.11:67, remote_adress=255.255.255.255:68,
msg_type=DHCPOFFER (2), transid=0xfc067955,
options:
 type=001, len=004: 4294967040 (uint32)
 type=003, len=004: 192.168.1.1
 type=006, len=008: 8.8.8.8 8.8.4.4
 type=051, len=004: 4000 (uint32)
 type=053, len=001: 2 (uint8)
 type=054, len=004: 192.168.1.10

Where is 209?

Version on kea server:

kea-dhcp4 -v
1.1.0

Linux Distro is Ubuntu 18.04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200524/59e90aff/attachment.htm>


More information about the Kea-users mailing list