KeaDHCP4 messages different tid assigning leases for same computer
-
Can someone explain why I see multiple messages from KeaDHCP4 in my DHCP logs for the same computer with a time difference of 15mins? The lease is allocated for 7200 seconds so it should not change in that time frame. I also noticed that the transaction ID has changed but not sure this has any implication? Is this expected behaviour.
Jun 27 15:43:18 kea-dhcp4 41329 INFO [kea-dhcp4.leases.0x29d3ba171000] DHCP4_LEASE_ALLOC [hwtype=1 mymac], cid=[01:mymac], tid=0xb5e31850: lease 192.168.10.100 has been allocated for 7200 seconds Jun 27 15:43:18 kea-dhcp4 41329 INFO [kea-dhcp4.dhcpsrv.0x29d3ba171000] EVAL_RESULT Expression pool_opt1_0 evaluated to 1 Jun 27 15:43:18 kea-dhcp4 41329 INFO [kea-dhcp4.dhcpsrv.0x29d3ba171000] EVAL_RESULT Expression pool_lan_0 evaluated to 1 Jun 27 15:43:18 kea-dhcp4 41329 INFO [kea-dhcp4.leases.0x29d3ba171000] DHCP4_LEASE_ADVERT [hwtype=1 mymac], cid=[01:mymac], tid=0xb5e31850: lease 192.168.10.100 will be advertised Jun 27 15:58:08 kea-dhcp4 41329 INFO [kea-dhcp4.leases.0x29d3ba017400] DHCP4_LEASE_ALLOC [hwtype=1 mymac], cid=[01:mymac], tid=0xe863835a: lease 192.168.10.100 has been allocated for 7200 seconds Jun 27 15:58:08 kea-dhcp4 41329 INFO [kea-dhcp4.leases.0x29d3ba017400] DHCP4_INIT_REBOOT [hwtype=1 mymac], cid=[01:mymac], tid=0xe863835a: client is in INIT-REBOOT state and requests address 192.168.10.100 Jun 27 15:58:08 kea-dhcp4 41329 INFO [kea-dhcp4.dhcpsrv.0x29d3ba017400] EVAL_RESULT Expression pool_opt1_0 evaluated to 1 Jun 27 15:58:08 kea-dhcp4 41329 INFO [kea-dhcp4.dhcpsrv.0x29d3ba017400] EVAL_RESULT Expression pool_lan_0 evaluated to 1
-
The client device will usually renew the lease at half the lease time but it doesn't have to. It could choose to renew it every 15mins. There are limits though. The server will refuse if clients try to renew too rapidly.
Check the client config. Or run a pcap for it and see if it's actually requesting it.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.