Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    KeaDHCP4 messages different tid assigning leases for same computer

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 109 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rasputinthegreatest
      last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.