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

    TESTING NEEDED: Multiple DHCP pools within a subnet

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    28 Posts 9 Posters 25.2k 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 Offline
      robfantini
      last edited by

      after deleting the fixed lease the client got the correct sub pool nameserver.

      on our current dhcp server we use 'group' to assign some dhcp options:

      
             group {
                              option ntp-servers  10.100.100.17;
                              next-server 10.100.100.17;
      
                              host phone30 {
                                      hardware ethernet 00:0E:08:19:.....;
                                      fixed-address 10.100.199.30;
                                      }
      
                              host phone31 {
                                      hardware ethernet 70:81:05:-----;
                                      fixed-address 10.100.199.30;
                                      }
                     # we have about 20 more devices...
      }
      
      

      the isc-dhcp-server server runs on Debian wheezy . here is version info:

      
      fbc123  /etc/dhcp # aptitude show isc-dhcp-server
      Package: isc-dhcp-server                 
      State: installed
      Automatically installed: no
      Version: 4.2.2.dfsg.1-5+deb70u2
      
      

      I think
      maybe fixed leases could be assigned to a  group?

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

        With some more coding changes, perhaps.

        Fixed leases do not belong to a pool so no pool-specific settings will apply to them.

        Eventually someone could take the pool type settings and apply that to static leases as well, since most all of those settings are also valid for static leases.

        But doing the groups thing, though interesting, would greatly increase the complexity of the code on the page, and it's already pretty complicated.

        Possible, yes, but unless someone pumps some funding into it, not likely to happen anytime soon.

        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
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          FYI- Input validation was added last week to prevent overlapping pools from being saved. Testing would be helpful there also.

          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
          • B Offline
            bluenote
            last edited by

            I tested multiple DHCP pool for a subnet (LAN) and I noticed that the fixed lease were not anymore handle properly. Only the last one inserted was show in the fixed lease table in the bottom of services_dhcp.php.

            Every new insertion made the previous record to be delete.

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

              @bluenote:

              I tested multiple DHCP pool for a subnet (LAN) and I noticed that the fixed lease were not anymore handle properly. Only the last one inserted was show in the fixed lease table in the bottom of services_dhcp.php.

              Every new insertion made the previous record to be delete.

              On 2.1 or with a 2.0.x patch? (I would expect issues with the 2.0.x patch, it wasn't meant to be used, use 2.1 instead)

              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
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                @jimp:

                @bluenote:

                I tested multiple DHCP pool for a subnet (LAN) and I noticed that the fixed lease were not anymore handle properly. Only the last one inserted was show in the fixed lease table in the bottom of services_dhcp.php.

                Every new insertion made the previous record to be delete.

                On 2.1 or with a 2.0.x patch? (I would expect issues with the 2.0.x patch, it wasn't meant to be used, use 2.1 instead)

                Seems to 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
                • W Offline
                  WetWilly
                  last edited by

                  Is "Multiple DHCP pools outside of subnet"

                  Anywhere on the roadmap?

                  Or is there any smooth way to a DHCP-range outside of LAN interface subnet?

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

                    @WetWilly:

                    Is "Multiple DHCP pools outside of subnet"

                    Anywhere on the roadmap?

                    Or is there any smooth way to a DHCP-range outside of LAN interface subnet?

                    It's closer to being possible, but not going to happen any time soon (maybe 2.2, if someone has the time or funding for it).

                    There is no way to do DHCP for another subnet on an interface currently. That's a question for another thread, though.

                    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.