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

    DHCP minimum and maximum lease problem

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 311 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.
    • K
      kutsheax
      last edited by

      Hi All,

      I have set my dhcp lease on the following setup:

      Minimum : 2 days
      Maximum 31 days

      These are my setting on the dhcp server:

      f1c70940-5a6c-4103-a7d3-bb325aeee8c2-image.png

      but on the UI lease status. this is what i see. The start and end seems abnormal. only 10minutes difference???

      05e5a76c-4799-4266-a8a1-6dde0e12beac-image.png

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by Gertjan

        Release the lease for a device, use the release command.
        For windows, that will be

        ipconfig /release
        

        Then renew.

        Also, packet-capture the whole DHCP communication. Use wire-shark and friends to detail all the info.
        You'll see what will be asked for, and what the DHCP server (pfSense) is handing out.

        Another test :
        Disconnect all devices - rip out cables, shut down radio devices.
        Stop the DHCP server - all LAN type interfaces.
        Delete all the DHCP lease cache files : /var/dhcpd/var/db/
        Start DHCP server(s)
        And check.

        edit : and what devices ?
        Some just don't implement the DHCP protocol 'by the book'.

        What LAN ? Settings for the DHCP LAN server does not affect the settings of another LAN type (OPTx) interface.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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