[Kea-users] DHCP NAK through relay option 82

Brazda.Libor at seznam.cz Brazda.Libor at seznam.cz
Thu Mar 28 17:40:53 UTC 2024


Hi, I am trying to start kea dhcp with client classification using option 82
through dhcp relay server.




When client tries to do renew of ip address, tries to prolongate his lease, 
kea response with NAK.

The problem is that when client makes simple dhcp discover, the packet goes 
broadcast through the router, router acts like dhcp relay and relays packet 
to dhcp server kea with added option 82.

But when client makes dhcp renewal-packet goes unicast directly to dhcp 
server without option 82. As I understand, this causes kea to response with 
NAK, because packet doesn't match to subnet rule criteria. In the logs I see
message "ailed to select a subnet for incoming packet, src 100.64.1.1, type 
DHCPREQUEST"




Is there a way to configure kea to accept renewal requests if lease already 
exists and mac address of a client corresponds to stores lease?




Full log - https://pastebin.com/yviEFneL

Full config - https://pastebin.com/2DxfQKb6




Thanks for any advice





Libor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240328/df284166/attachment.htm>


More information about the Kea-users mailing list