[Kea-users] issue with INIT-REBOOT

Marcin Siodelski marcin at isc.org
Mon Jul 9 11:10:47 UTC 2018


The difficulty with this particular situation is that the capture
doesn't really help determining what happened before the NAK and no
response to Windows client.

The INIT-REBOOT client is the one that remembers its previously assigned
address. If the server doesn't know this lease it can't respond to the
client because it is possible that it was assigned by a different
server. But, this situation should get resolved on its own, because the
client that didn't get a response should eventually try DORA (4-way
exhange) and get the lease.

It seems that the iOS client gets the NAK because the lease he is asking
for is not a valid lease for this client because the client has a lease
for a different address.

So, I presume that the server has a lease for iOS client for some other
address than he is asking and has no lease for the Windows client so it
ignores his request, which all seem to be a valid behavior. But to be
sure we'd need to know what is in the lease database and also how the
clients ended up in the INIT-REBOOT state.

Marcin Siodelski
ISC Engineering



On 04.07.2018 13:08, Hieu Nguyen wrote:
> Please help me
> 
> 2018-07-01 16:08 GMT+07:00 Hieu Nguyen <hieu.ntrong at gmail.com
> <mailto:hieu.ntrong at gmail.com>>:
> 
>     2 client (Windows and iOS) in "INIT-REBOOT" state sends a DHCP
>     Request to KEA through a relay.
>     Requested address (option 50) is its old address. This subnet isn't
>     configured in KEA server.
> 
>     Kea don't know of this client.
> 
>     *+ Observed behavior:*
>      iOS:
>     2018-07-01 15:26:34.892 DEBUG [kea-dhcp4.bad-packets/1553]
>     DHCP4_PACKET_NAK_0002 [hwtype=1 6c:4d:73:f3:d4:19],
>     cid=[01:6c:4d:73:f3:d4:19], tid=0xb858b700: invalid address
>     10.122.23.24 requested by INIT-REBOOT
> 
>     Windows:
>     2018-07-01 15:28:00.290 DEBUG [kea-dhcp4.bad-packets/1553]
>     DHCP4_NO_LEASE_INIT_REBOOT [hwtype=1 f0:42:1c:e5:f3:5d],
>     cid=[01:f0:42:1c:e5:f3:5d], tid=0x954bf4ee: no lease for address
>     10.122.13.204 requested by INIT-REBOOT client
> 
>     Window  client must use the command " ipconfig /release and ipconfig
>     /renew " to obtain new ip address.
> 
>     *+ Expected behavior:*
>     Kea returns a NAK to Windows like iOS. 
> 
>     After that I set up other DHCP Server from Microsoft. It properly
>     returns DHCP NAK to 2 clients.
> 
>     I also attached the capture from kea server. help me this case,plz
> 
> 
> 
> 
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
> 




More information about the Kea-users mailing list