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

    Come on, let us create DHCP reservations inside the pool

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 6 Posters 1.3k 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
      SteveITS Galactic Empire @CCNewb
      last edited by

      @CCNewb
      https://docs.netgate.com/pfsense/en/latest/services/dhcp/mappings-in-pools.html

      One can also create an Additional pool, so .10-.19 and .21-.49 to exclude .20.

      https://docs.netgate.com/pfsense/en/latest/services/dhcp/ipv4.html#additional-pools

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote ๐Ÿ‘ helpful posts!

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @CCNewb
        last edited by

        @CCNewb so 300 some DHCP servers? I am curious to why you would even be running DHCP on pfsense - if what your after is so simple on any of your 300 some DHCP just run dhcp on one of those pfsense can relay DHCP to one of those

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        C 1 Reply Last reply Reply Quote 0
        • AndyRHA
          AndyRH
          last edited by

          Sometimes context is important. We have over 100 DHCP servers. Sounds crazy, but we have over 100 sites around the world. We have how many we need.

          Back to the subject, it would be nice to be able to have reservations in the scope. The kindly provided links indicate the DHCP server is 1 flag from working this way. If an address has a reservation, a flag needs to be set to NOT give it out if the MAC does not match. One change and the phrase "unexpected behavior" can be removed from the document.

          o||||o
          7100-1u

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @AndyRH
            last edited by

            @AndyRH This is an unbound Redmine but mentions DHCP in the context of registering leases in DNS:
            https://redmine.pfsense.org/issues/5413#note-49
            "It's no secret that ISC DHCPD is dead. I'm exploring Kea as well...."

            You can make a feature request Redmine, but it sounds like they are looking to change software.

            I had this conflict the other way once, an out of state client put a static IP on a switch, and didn't tell anyone, but Windows Server detected that and didn't hand out that IP...until the switch was off one day. Then the switch had an IP conflict once it turned back on. That wasn't fun to diagnose. :(

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @SteveITS
              last edited by

              @SteveITS said in Come on, let us create DHCP reservations inside the pool:

              I had this conflict the other way once, an out of state client put a static IP on a switch, and didn't tell anyone, but Windows Server detected that and didn't hand out that IP...until the switch was off one day. Then the switch had an IP conflict once it turned back on. That wasn't fun to diagnose. :(

              Yep, real fun when a customer decides they know better than you and makes some "improvement".

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

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

                Soon, but not yet:

                https://redmine.pfsense.org/issues/6960#note-12

                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!

                C 1 Reply Last reply Reply Quote 1
                • C
                  CCNewb @johnpoz
                  last edited by

                  @johnpoz we don't use PFSense at work, I use it at home.

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • C
                    CCNewb @jimp
                    last edited by

                    @jimp said in Come on, let us create DHCP reservations inside the pool:

                    Soon, but not yet:

                    https://redmine.pfsense.org/issues/6960#note-12

                    awesome! Looking forward to it

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @CCNewb
                      last edited by

                      @CCNewb said in Come on, let us create DHCP reservations inside the pool:

                      I use it at home.

                      Well why and the heck would you need to adjust your scope for then?

                      as I'm having to resize my pool for the 5th+ time and shuffle IPs around.

                      Sounds like your just lacking when it comes to IP management to be honest.. Especially in a home setup.. Leave IPs open on the front and back for reservations.. If you need more than draw from the back end because the dhcp server starts handing out at front, or vise versa, etc.

                      The idea of making reservations inside a pool, seems like just pointless non feature to be honest. Anyone that has any foresight at all should leave IP on the front and back end of any network for reservations, etc. Been like this since the beginning days of dhcp, etc..

                      Its nice to see a new dhcpd coming, but I don't see why people complain that the reservations needs to be outside the pool.. If you had some actual need to set a reservation in the middle - then create 2 pools ;)

                      I actually have a very small pool for dhcp.. because as I bring a new device I let it grab dhcp, then set its reservation for the IP I want it to have.. Then have it renew - now you don't end up with shotgun IPs for your devices ;)

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SteveITS Galactic Empire @johnpoz
                        last edited by SteveITS

                        @johnpoz said in Come on, let us create DHCP reservations inside the pool:

                        making reservations inside a pool, seems like just pointless non feature

                        One scenario where it's useful is when a client installs a printer/scanner/whatever, then calls us. It's easier to make the IP permanent than try to log in to the device and set one (edit: esp. if they started using it). Just saves us time hence them money.

                        (and yes if we set it up we have a pattern for printer IPs... ๐Ÿ˜„ )

                        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                        Upvote ๐Ÿ‘ helpful posts!

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