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

    Do you use dhcp reservations?

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    62 Posts 26 Posters 13.8k 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.
    • bmeeksB
      bmeeks @AndyRH
      last edited by bmeeks

      @AndyRH said in Do you use dhcp reservations?:

      I only use static when I have to, gateway, Proxmox, Piholes.
      Anything that I care about the address is a DHCP reservation, such as AP, computers, servers, cameras.

      Not trying to be argumentative, and don't want to start a war ... just asking why choose reservation over static when you want a given device to have a given IP.

      To me, it is easier in such situations to use a static IP assignment. That way, should I replace the physical device, I simply configure it with the same static IP.

      If I use a reservation, I have to find the new MAC address for the replacement device, then go edit the DHCP reservation, then either reboot the device or renew its lease so it picks up the proper IP address. It just seems like extra work. Carving out a section of the IP space for static assignments seems easier. For example, in a /24 netblock I might carve out .1 through .29 for static assignments (more or less depending on anticipated needs). And in the DHCP configuration in pfSense, you can't assign a reservation from your DHCP scope anyway. It must be a separate IP address not covered in the active DHCP scope pool. At least in Windows you can arbitrarily choose any IP within the scope to be a DHCP reservation.

      AndyRHA maverickwsM A 3 Replies Last reply Reply Quote 0
      • AndyRHA
        AndyRH @bmeeks
        last edited by AndyRH

        @bmeeks No war needed. If I change PiHoles, which has happened, I update DHCP and the changes are propagated. Same thing with NTP.
        When I changed physical firewalls, it was great. I just put in the new settings and waited a day then turned off the old one.
        Either way is valid.

        o||||o
        7100-1u

        bmeeksB 1 Reply Last reply Reply Quote 0
        • maverickwsM
          maverickws @bmeeks
          last edited by

          @bmeeks said in Do you use dhcp reservations?:

          just asking why choose reservation over static when you want a given device to have a given IP

          Mind elaborating the difference between "reservation" and "static" in your perspective. afaik there is none.

          bmeeksB 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @AndyRH
            last edited by bmeeks

            @AndyRH said in Do you use dhcp reservations?:

            @bmeeks No war needed. If I change PiHoles, which has happened, I update DHCP and the changes are propagated. Same thing with NTP.
            When I changed physical firewalls, it was great. I just put in the new settings and waited a day then turned off the old one.
            Either way is valid.

            Agree that either way is valid. It is a lot based on personal preference.

            I came from a Fortune 500 network environment where we managed probably 50,000 devices or more (nearly 30,000 of those were employee desktop PCs and laptops). We made extensive use of Windows DHCP dynamic DNS updates to register those employee devices so the internal Help Desk could find them quickly by name instead of having to talk the user through identifying the particular IP address they had at the moment. We named the devices using a variation of the employee's network login ID.

            We also used small static IP blocks carved out of the various IP subnets. In those static blocks is where we put things like core switches, network closet switch stacks, and most servers.

            1 Reply Last reply Reply Quote 0
            • bmeeksB
              bmeeks @maverickws
              last edited by bmeeks

              @maverickws said in Do you use dhcp reservations?:

              @bmeeks said in Do you use dhcp reservations?:

              just asking why choose reservation over static when you want a given device to have a given IP

              Mind elaborating the difference between "reservation" and "static" in your perspective. afaik there is none.

              Reservation is a DHCP construct based off of the client's MAC address. So anytime the hardware changes (new device or replace the network card), the MAC changes and you need to edit the reservation in the DHCP server. With static IP, I simply type in the desired IP address in the client's network setup screen. Both yield the same end result -- a given client gets a particular fixed IP address. What's different is exactly how you get there (at least that's how I define it).

              maverickwsM 1 Reply Last reply Reply Quote 0
              • maverickwsM
                maverickws @bmeeks
                last edited by maverickws

                @bmeeks I don't think it was ever discussed in this topic "client-side configurations".

                Truth be told, there is no reference on the pfSense software to DHCP Reservations (may be wrong but I really don't think there are).
                When you go to DHCP Server you have an option to add a static entry. I believe it's a colloquialism where people are using reservation instead of static entry. You can't add "reservations" on pfSense, at least not by that nomenclature.

                bmeeksB 1 Reply Last reply Reply Quote 0
                • bmeeksB
                  bmeeks @maverickws
                  last edited by bmeeks

                  @maverickws said in Do you use dhcp reservations?:

                  @bmeeks I don't think it was ever discussed in this topic "client-side configurations".

                  Truth be told, there is no reference on the pfSense software to DHCP Reservations (may be wrong but I really don't think there are).
                  When you go to DHCP Server you have an option to add a static entry. I believe it's a colloquialism where people are using reservation instead of static entry.

                  The wording can be confusing. I like to think of it as a reservation because you are reserving that IP address in the mind of the DHCP server, but only for a client whose MAC address matches the one you enter in the static assignment setup.

                  The other way, when I say "static", is on the actual client device I configure the network for "static IP" and not DHCP, and I manually type in the address and subnet I want that client to use. I realize that in the world of IoT, there may be devices that can only do DHCP, and if that is the case then you would need to use the DHCP reservation route to have a known, fixed IP address on the device.

                  So, to clarify, when I say "reservation" I am thinking of an entry in the DHCP server's configuration where I link a particular MAC address with a particular IP address. When I say "static", I am thinking of the situation where the client device is NOT using DHCP and I instead enter the IP information directly into the client manually. Been doing this sort of thing for a little over 40 years, and that's just the way I learned way back when.

                  maverickwsM 1 Reply Last reply Reply Quote 1
                  • M
                    mer
                    last edited by

                    Yep. Been using them for a long time on the home network.
                    Makes it very easy to distingush "normal" devices from guests.
                    Since pretty much everything defaults to doing DHCP you wind up managing everything from a single place.

                    1 Reply Last reply Reply Quote 0
                    • maverickwsM
                      maverickws @bmeeks
                      last edited by maverickws

                      @bmeeks got it.
                      I figured it was just some nuance of speech but wanted to clear it out just to make sure. Personally I most times call them "static mappings" or "arp mappings".

                      Also I believe there is a situation here, if I'm wrong please someone correct me but

                      pfSense allows a static mapping from many to one. This is, you can have several static entries using different MACs and the same IP address.
                      Now I am not sure because I hardly ever selected this option, but I figure when you select the option to have that
                      ARP Table Static Entry maybe then it is a reservation? Again, not sure on this one.
                      But in the true concept of the term, as it allows several entries for the same IP, it hardly ever is a reservation.
                      Also, by the way pfSense works, static mappings only exist outside the DHCP dynamic range, so an IP on the range "static" wouldn't go to the dynamic attributions.

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • Bob.DigB
                        Bob.Dig LAYER 8
                        last edited by Bob.Dig

                        I use it, even with IPv6.
                        (One person doesn't like this)

                        1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM
                          last edited by

                          I don't use reservations at home or at the office. For me the only benefit would be easier renumbering, and that's something I haven't needed to do in the 20+ years I've been at this company. I report directly to the owners and they want to be able to do whatever they want when they want including weekends and evenings when I'm not around. I appreciate the security aspects but the owners don't like security getting in the way of their convenience.

                          Sergei_ShablovskyS 1 Reply Last reply Reply Quote 0
                          • A
                            azdeltawye @johnpoz
                            last edited by

                            @johnpoz
                            Yes, I rely heavily on DHCP reservations for firewall rules and grouping of similar devices..

                            Does Kea DHCP not allow for static mappings?

                            johnpozJ 1 Reply Last reply Reply Quote 1
                            • A
                              azdeltawye @bmeeks
                              last edited by

                              @bmeeks said in Do you use dhcp reservations?:

                              To me, it is easier in such situations to use a static IP assignment....

                              Maybe in some cases. However, many dumb IOT devices are 'hardwired' for DHCP.

                              1 Reply Last reply Reply Quote 0
                              • M
                                MoonKnight @johnpoz
                                last edited by

                                @johnpoz

                                Yes I use lot of DHCP Static Mappings all over my VLAN's :)

                                --- 24.11 ---
                                Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                                Kingston DDR4 2666MHz 16GB ECC
                                2 x HyperX Fury SSD 120GB (ZFS-mirror)
                                2 x Intel i210 (ports)
                                4 x Intel i350 (ports)

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

                                  @azdeltawye said in Do you use dhcp reservations?:

                                  Does Kea DHCP not allow for static mappings?

                                  It does, but does not register them in unbound for dns as of yet.

                                  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.7.2, 24.11

                                  G 1 Reply Last reply Reply Quote 0
                                  • ahking19A
                                    ahking19
                                    last edited by

                                    Yes, for all my home VLANs except the Guest one.

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

                                      @maverickws said in Do you use dhcp reservations?:

                                      Personally I most times call them "static mappings" or "arp mappings".

                                      Why I called it out and hope make clear what I was talking about.. The static mapping term seems to be newer wording.. Us old farts, at least in my part of the world use reservation - because that is what they are, they are reservation for that mac to get this specific IP.. Kind of like when you make a reservation at a restraunt for table by the window..

                                      But maybe it also just regions of the world use different terms?

                                      That is another thing that is curious ;) maybe I could start another poll - hehehe

                                      static mapping and arp mapping don't make a lot sense to me... Because that is not what it is, its a "reservation" on the dhcp server to give client X ip Y..

                                      And unlike the Seinfeld episode, a dhcp server normally knows how to hold a reservation ;)

                                      Youtube Video

                                      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.7.2, 24.11

                                      bmeeksB PhizixP maverickwsM 3 Replies Last reply Reply Quote 4
                                      • bmeeksB
                                        bmeeks @johnpoz
                                        last edited by bmeeks

                                        @johnpoz said in Do you use dhcp reservations?:

                                        Us old farts, at least in my part of the world use reservation

                                        Welcome to the official pfSense old farts club 🙂. We can be the charter members!

                                        1 Reply Last reply Reply Quote 3
                                        • PhizixP
                                          Phizix @johnpoz
                                          last edited by

                                          @johnpoz
                                          I use them extensively. I also have Aliases for groups of addresses that I put them into, so I can make rules. Example Desktops, Laptops, and a combined alias of Computers (Desktop + Laptops). IOT devices, etc . . . .

                                          I leave DHCP assigned to a certain range for new devices. I periodically (about once per week) look for any leases in that range (and hunt them down and kill them - J/K). If they are a new device that needs to be statically mapped I do so. If it is some temporary device I just make a mental note of it.

                                          Phizix

                                          1 Reply Last reply Reply Quote 2
                                          • G
                                            gauthig @johnpoz
                                            last edited by

                                            @johnpoz
                                            This is the real problem with migrating to Kea at this time. It is irrespective of using static mappings (or reservations), fully DHCP or a combination of both on each subnet.

                                            A good network should be using SSL on servers/services. An API call or just using a web browser breaks the validation of your cert if you use IP address instead of a FQDN. Modern browsers also are stopping you by forcing an acknowledgement to go to the site if you did not use the correct name in the URL, i.e. IP address.

                                            One way around this is to set up all servers, like NAS, Plex, Home Assistant, Grafana, Influx.... (whatever you have on your local network), with static IP's (or static mappings) and then manually create an entry in unbound. But that extra work, more like BOUND and not unbound.

                                            Let's just keep asking to add the KEA to unbound integration as a priority.
                                            In the meantime, I'll be watching for any isc-dhcp CVE's and determine if I go the manual BOUND route or not.

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