Thanks

Sten

> On 24 May 2020, at 17.02, Anatoly Shipitsin <[email protected]> wrote:
> 
> 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.

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.

> 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 <http://192.168.1.11:67/>, 
> remote_adress=255.255.255.255:68 <http://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 
> _______________________________________________
> 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
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-users

_______________________________________________
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to