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

    Maximum lease duration not taking affect

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 639 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.
    • S
      Snailkhan
      last edited by

      Hi
      The lease of the ip handled out by The pfsense dhcp is only 2 hours. I adjusted that in the dhcp server under the appropriate interface by setting maximum lease time to 43200 and minimum to 43100. But if I connect to it I do get an ip from it but the lease duration shown by windows and pfsense status is only 2 hours.
      I have restarted the dhcp service several times still no luck.

      I have deployed captive portal and created few rolls that are 12 hours some are 24 hours which will be the most used ones some are 4 months long. I have a static reservation for the 4 months one I do not want the 2 hour lease to kick in and kick out a user whose voucher is valid for another 10 hours,  have have those clients  be asked after each couple of hours for the voucher code.

      Is there anything else that needs to be done to set the lease?
      Using pfsense 2.4.2-Release amd 64.

      I read some where to keep the default lease time in dhcp equal or greater the the hard timeout of cp, I have not set that in cp as I have rolls that are either 12 hours some are 24 hours others are 4 months.

      Regards

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