<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Thanks</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Sten</div>
</div>

<div><br class=""><blockquote type="cite" class=""><div class="">On 24 May 2020, at 17.02, Anatoly Shipitsin <<a href="mailto:norguhtar@gmail.com" class="">norguhtar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello. I try add option 209. I read docs but it just not working.<div class=""><br class=""></div><div class="">I put in "Dhcp4"</div><div class=""><span style="font-family:monospace" class=""><span style="" class=""><br class=""></span></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">"option-def": [
</span><br class="">            {
<br class="">                "name": "ConfigFile",
<br class="">                "code": 209,
<br class="">                "type": "string",
<br class="">                "array": false,
<br class="">                "record-types": "",
<br class="">                "space": "dhcp4",
<br class="">                "encapsulate": ""</span></div><div class=""><span style="font-family:monospace" class="">}</span><span style="font-family:monospace" class="">],</span></div><div class=""><span style="font-family:monospace" class=""><br class=""></span></div><div class=""><span style="font-family:monospace" class="">And add in "option-data" after </span></div><div class=""><span style="font-family:monospace" class=""><font class="">           { "name" : "routers", "data" : "194.117.250.1" },
<br class="">            { "name" : "domain-name-servers", "data" : "8.8.8.8, 8.8.4.4" },
<br class=""></font></span></div><div class=""><span style="font-family:monospace" class=""><font class="">this </font></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">           {
</span><br class=""><font class="">                "name": "ConfigFile",
<br class="">                "data": "testtest"
<br class=""></font>            },</span></div><div class=""><span style="font-family:monospace" class=""><br class="">
<br class=""></span></div><div class=""><span style="font-family:monospace" class=""><br class=""></span></div><div class=""><span style="font-family:monospace" class="">And send dhcp request to server. But server not return 209 option.</span></div></div></div></blockquote><div><br class=""></div>Does the client ask for it? usually options besides the most basic are not sent if the client does not ask for them. The thinking behind is AFAIK that if the client does not ask, it will not know what to do with it, so no reason to send it.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><span style="font-family:monospace" class=""> In server log i see:</span></div><div class=""><span style="font-family:monospace" class=""><br class=""></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">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</span><br class="">tails: local_address=<a href="http://192.168.1.11:67/" class="">192.168.1.11:67</a>, remote_adress=<a href="http://255.255.255.255:68/" class="">255.255.255.255:68</a>, msg_type=DHCPOFFER (2), transid=0xfc067955,
<br class="">options:
<br class="">  type=001, len=004: 4294967040 (uint32)
<br class="">  type=003, len=004: 192.168.1.1
<br class="">  type=006, len=008: 8.8.8.8 8.8.4.4
<br class="">  type=051, len=004: 4000 (uint32)
<br class="">  type=053, len=001: 2 (uint8)
<br class="">  type=054, len=004: 192.168.1.10<br class="">
<br class=""></span></div><div class=""><font face="monospace" class="">Where is 209?</font></div><div class=""><font face="monospace" class=""><br class=""></font></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">Version on kea server: </span></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class=""><br class=""></span></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">kea-dhcp4 -v
</span><br class="">1.1.0<br class="">
<br class=""></span></div><div class=""><span style="font-family:monospace" class="">Linux Distro is Ubuntu 18.04 </span></div></div>
_______________________________________________<br class="">ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" class="">https://www.isc.org/contact/</a> for more information.<br class=""><br class="">To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" class="">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br class=""><br class="">Kea-users mailing list<br class=""><a href="mailto:Kea-users@lists.isc.org" class="">Kea-users@lists.isc.org</a><br class="">https://lists.isc.org/mailman/listinfo/kea-users<br class=""></div></blockquote></div><br class=""></body></html>