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

    [SOLVED] services_dhcp.php only show last fixed lease

    2.1 Snapshot Feedback and Problems - RETIRED
    2
    3
    1.3k
    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.
    • B
      bluenote
      last edited by

      Hello,
      In pfsense 2.1 beta 1 build 20130514-0000 I noticed that fixed lease where added to /etc/hosts and that they were perfectly resolved.

      Then I noticed a weird behavior.
      When I add a fixed lease to using services_dhcp.php -> services_dhcp_edit.php I only have in the table bellow the last fixed lease submitted by the form in services_dhcp_edit.php.

      Ofcourse I checked /etc/hosts and same behavior only the last fixed lease entred is written.

      I use pfsense 2.1 because I have a NIC not working in 2.0.3.

      1 Reply Last reply Reply Quote 0
      • B
        bluenote
        last edited by

        found the problem ! it shows when you setup MULTIPLE DHCP  pool in a same interface configuration.

        I disabled the multipool and added a new fixed lease and I got the fixed lease list shown perfectly.

        I put this to solved but then there is still a problem there!

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Should be fixed by this:
          https://github.com/pfsense/pfsense/commit/37c922a6faff0e55db04fb66e43b76180e1c1449

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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