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

Do you use dhcp reservations?

Off-Topic & Non-Support Discussion
26
62
13.6k
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.
  • J
    JonathanLee
    last edited by JonathanLee Jun 29, 2024, 6:16 AM Mar 15, 2024, 8:28 PM

    I use them for every single device on my network. My 48 bit addresses and layer 2 addresses are all purple here because I do not want any mac address cloning going on. That is a cool pen testing tool to see that done.

    login-to-view

    Make sure to upvote

    J 1 Reply Last reply Mar 15, 2024, 9:11 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @JonathanLee
      last edited by Mar 15, 2024, 9:11 PM

      @JonathanLee said in Do you use dhcp reservations?:

      I do not want any mac address cloning going on.

      Who is going to clone your macs? And for what purpose? Mac cloning is only a thing if they are already on your network..

      Here is my pc mac.. Clone away ;)

         Connection-specific DNS Suffix  . : home.arpa
         Description . . . . . . . . . . . : Killer E2600 Gigabit Ethernet Controller
         Physical Address. . . . . . . . . : B0-4F-13-0B-FD-16
         DHCP Enabled. . . . . . . . . . . : Yes
         Autoconfiguration Enabled . . . . : Yes
         IPv4 Address. . . . . . . . . . . : 192.168.9.100(Preferred)
         Subnet Mask . . . . . . . . . . . : 255.255.255.0
         Lease Obtained. . . . . . . . . . : Wednesday, March 6, 2024 2:02:01 PM
         Lease Expires . . . . . . . . . . : Monday, March 18, 2024 2:02:00 PM
         Default Gateway . . . . . . . . . : 192.168.9.253
         DHCP Server . . . . . . . . . . . : 192.168.9.253
         DNS Servers . . . . . . . . . . . : 192.168.3.10
         NetBIOS over Tcpip. . . . . . . . : Enabled
      

      I would love to hear your theory how anyone could use that to do anything? That doesn't already have full access to my network anyway..

      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

      J S 2 Replies Last reply Mar 15, 2024, 9:27 PM Reply Quote 2
      • J
        JonathanLee @johnpoz
        last edited by Mar 15, 2024, 9:27 PM

        @johnpoz bro now I can run airsnort on your network and packet sniff hahahaha. Jk

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • K
          KOM @Sergei_Shablovsky
          last edited by Mar 15, 2024, 11:48 PM

          @Sergei_Shablovsky said in Do you use dhcp reservations?:

          give You flexibility when hardware changes

          New hardware? What's that?? My company runs on Dell blades from 2012. We don't ever get new hardware because that would cost more than zero. Same with our desktops.

          1 Reply Last reply Reply Quote 1
          • E
            Epimpin @johnpoz
            last edited by Epimpin Mar 16, 2024, 3:26 AM Mar 16, 2024, 3:22 AM

            @johnpoz Yes, I use dhcp reservations for my wireless clients, but sometimes it does not quite work as I would Like. It works hand in hand with my macsec implementation and hardens my certificate based user auth and aids in my acl implementation.

            C 1 Reply Last reply Mar 16, 2024, 4:56 AM Reply Quote 0
            • C
              coxhaus @Epimpin
              last edited by coxhaus Mar 16, 2024, 4:58 AM Mar 16, 2024, 4:56 AM

              @Epimpin
              That means you are going to spend a lot of time chasing MACs for all devices that come into your network. I have better things to do with my time than track every iPhone or whatever IP devices that comes into my network. Those devices are not going to work without you setting up the MAC for a DHCP reservation. Create a setup so it can be automated. And that means don't use DHCP reservations as it is too limiting. Use DHCP for a general class of devices. You can use scopes to separate devices and classes.

              E 1 Reply Last reply Mar 16, 2024, 8:13 AM Reply Quote 2
              • E
                Epimpin @coxhaus
                last edited by Epimpin Mar 16, 2024, 8:20 AM Mar 16, 2024, 8:13 AM

                @coxhaus
                Well it all starts with having a good understanding of what a mac address consists of. For instance, the first 6 digits(3 octets) tell you who manufacures the device and when and is called an OUI.

                I have a locally stored OUI database installed in my auth scheme and I have ACL'S that block any device made by Huawei for instance and sends them to a walled garden with a message regarding Huawei devices with specific information.

                You should know what type of devices you should expect on your network. With some simple network automation you don't have to "chase" mac addresses.

                Then for things like switch to switch communications in your core, you should only ever see mac addresses of the neighboring switch. It doesn't have to be hard.

                The dhcp reservations work well for allowing my roaming clients in my wireless networks to maintain a consistent connection and also allows my gigamon boxes to assign an identifier and gives good deduplication and solid subscriber tracking and less logging without having to implement a complex gtp/gprs configuration.

                It works for me.

                C 1 Reply Last reply Mar 16, 2024, 2:21 PM Reply Quote 1
                • C
                  coxhaus @Epimpin
                  last edited by coxhaus Mar 16, 2024, 2:33 PM Mar 16, 2024, 2:21 PM

                  @Epimpin
                  I am glad it works for you. If you work on a network with 4 or 5 thousand PCs plus devices you are not going to be able to do that and do your job.

                  You are building a structure that is going to be limited.

                  J 1 Reply Last reply Mar 16, 2024, 3:11 PM Reply Quote 0
                  • J
                    JonathanLee @coxhaus
                    last edited by Mar 16, 2024, 3:11 PM

                    @coxhaus the reservations is more for tracking specific devices and or needs. Smaller networks yes it’s ok, but for thousands it gets harder to keep track of. A way around this is to set the dhcp pool lease timers really high so devices get the same IP address each time.

                    Make sure to upvote

                    C 1 Reply Last reply Mar 16, 2024, 4:05 PM Reply Quote 0
                    • C
                      coxhaus @JonathanLee
                      last edited by Mar 16, 2024, 4:05 PM

                      @JonathanLee
                      Plus using long DHCP lease times reduces your broadcast traffic immensely. Reducing the loads on your network.

                      1 Reply Last reply Reply Quote 2
                      • C
                        cwagz
                        last edited by Mar 16, 2024, 4:11 PM

                        Number one reason for using dhcp reservation in my house is to allow me to direct the kids to different Pi-holes as they get older. This allows me to control YouTube restrictions and filter settings by maturity. All outside dns is blocked and I have a lot of fail safes in place that land “new” devices in the most restrictive Pi-hole group. This has worked really well until they get savvy. Then I have to decide if it is worth playing the cat and mouse game.

                        The pi-hole remote app is great because it has built in blocking controls for things like Roblox and discord. I can switch one kid off if they aren’t doing their homework or whatever.

                        Netgate 6100 MAX

                        J 1 Reply Last reply Mar 16, 2024, 4:16 PM Reply Quote 2
                        • J
                          JonathanLee @cwagz
                          last edited by Mar 16, 2024, 4:16 PM

                          @cwagz I also have controls set up with mine and the LEDs on the firewall change if someone is on devices at night that should be sleeping. I customized the LEDs to state specific activation.

                          Make sure to upvote

                          A 1 Reply Last reply Mar 16, 2024, 6:48 PM Reply Quote 2
                          • E
                            Epimpin
                            last edited by Epimpin Mar 16, 2024, 4:26 PM Mar 16, 2024, 4:22 PM

                            DHCP reservations allow us to have the ease, simplicity and benefits of DHCP without some of its pitfalls allowing us to rely on and use persistence of IP as a tool in other implementations and tools.

                            Ive seen how it works on other systems and it almost never works the way it should or how you think it should, but on pfsense it just simply works and as you would expect (most of the time).

                            1 Reply Last reply Reply Quote 0
                            • A
                              ahking19 @JonathanLee
                              last edited by Mar 16, 2024, 6:48 PM

                              @JonathanLee Why not use time based rules instead of LED lights you have to monitor?

                              https://docs.netgate.com/pfsense/en/latest/firewall/time-based-rules.html

                              J 1 Reply Last reply Mar 16, 2024, 7:31 PM Reply Quote 0
                              • J
                                JonathanLee @ahking19
                                last edited by Mar 16, 2024, 7:31 PM

                                @ahking19 shared devices sometimes I want to watch a streaming movie at night is all

                                Make sure to upvote

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sergei_Shablovsky @johnpoz
                                  last edited by Sergei_Shablovsky Mar 22, 2024, 12:26 AM Mar 22, 2024, 12:11 AM

                                  @johnpoz said in Do you use dhcp reservations?:

                                  @JonathanLee said in Do you use dhcp reservations?:

                                  I do not want any mac address cloning going on.

                                  Who is going to clone your macs?

                                  Hackers. Black hackers.
                                  Or cyber warriors from China, Iran, russia. (They are in 120-180ms distance from Your data ;)

                                  And for what purpose?

                                  Steal money. Or steal some info about Your clients to steal MUCH MORE money from them.
                                  2.
                                  Make damage for Your country.

                                  Mac cloning is only a thing if they are already on your network..

                                  Because around 80% of devices at home, work and office are connected by WiFi, airsnort, fake DHCP server for MITM doing work well.

                                  I would love to hear your theory how anyone could use that to do anything? That doesn't already have full access to my network anyway..

                                  Hm. Are You serious? I do not believe that You say that…

                                  BTW, I prefer to using “IP reservation “ feature ONLY as some sort of helpful feature in administration and of pf rules work.
                                  And THIS IS NOT AS A SECURITY BARRIER any way!

                                  When planning infrastructure each one need to keep in mind that MAC/IP - NOT MAKE DEVICE TRUSTED, this is just ID.
                                  And like Your passport w/o photo or biometric chip,- may be stealing by someone.

                                  One of the basic rules nowadays must be: EACH DEVICE MUST HAVE OWN SERTS. NO SERTS,- NO ANY RIGHTS, NO ACCESS ANYWHERE !

                                  Am I wrong?

                                  —
                                  CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                  Help Ukraine to resist, save civilians people’s lives !
                                  (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                  1 Reply Last reply Reply Quote 0
                                  • G Gertjan referenced this topic on Jul 3, 2024, 8:52 AM
                                  56 out of 62
                                  • First post
                                    56/62
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.