ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    DHCP Logic

    IT Discussion
    16
    81
    5.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.
    • G I JonesG
      G I Jones
      last edited by

      A coworker and I are having a disagreement about something and I wanted to get you all's expert opinions/experiences.

      I've set a DHCP reservation for something important, but that thing is within the scope of the DHCP address pool. (bad setup I know, but I'm gonna fix that). Anyway, he said even if there is a reservation, if that thing goes to sleep, then other things can still snatch up that IP address because it's in the pool. I didn't think that's how reservations worked. Please advise.

      scottalanmillerS 2 Replies Last reply Reply Quote 2
      • DustinB3403D
        DustinB3403
        last edited by

        Your coworker is a moron.

        Reservations are meant to keep that IP for that MAC address. Period.

        1 Reply Last reply Reply Quote 8
        • coliverC
          coliver
          last edited by

          No. The DHCP reservation says, "Only hand this IP address out to this MAC address."

          1 Reply Last reply Reply Quote 3
          • coliverC
            coliver
            last edited by

            So unless something is spoofing the MAC address then there would be no way for the reservation address to be "snatched" away.

            1 Reply Last reply Reply Quote 3
            • DustinB3403D
              DustinB3403
              last edited by

              I guess I should go join Torvalds Linus and learn to be nicer. . .

              G I JonesG 1 Reply Last reply Reply Quote 1
              • G I JonesG
                G I Jones
                last edited by

                Thank you all.

                1 Reply Last reply Reply Quote 0
                • G I JonesG
                  G I Jones @DustinB3403
                  last edited by

                  @dustinb3403 haha, yea that was a little rough, but I hear you.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by DustinB3403

                    While it is bad practice to create a reservation within the scope, there are cases where you might want or need this. For example you have a trouble user who is doing something they shouldn't and to simplify the tracking process you reserve that users MAC address within the DHCP scope.

                    That MAC will always get that IP address, so when you talk to HR you have simple proof.

                    But still, reservations assign the IP address to the MAC address in which they are created.

                    ObsolesceO 1 Reply Last reply Reply Quote 2
                    • wirestyle22W
                      wirestyle22
                      last edited by wirestyle22

                      It sounds like your co-worker is only thinking of DHCP scope and IP addresses in use, not actual reservations. Even then though the lease would have to expire.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @wirestyle22
                        last edited by DustinB3403

                        @wirestyle22 said in DHCP Logic:

                        It sounds like your co-worker is only thinking of DHCP scope and IP addresses in use, not actual reservations. Even then though the lease would have to expire.

                        Which even in this case, the client would ask the DHCP server if that IP address is still available, and if it says "Yes" then the client just keeps the IP address it already has.

                        1 Reply Last reply Reply Quote 1
                        • tonyshowoffT
                          tonyshowoff
                          last edited by

                          I'll jump in and add: then what does he think reservations do? That's what I'd ask him. Reservations are considered permanent assignments.

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @G I Jones
                            last edited by

                            @g-i-jones said in DHCP Logic:

                            I've set a DHCP reservation for something important, but that thing is within the scope of the DHCP address pool.

                            Isn't that the only possible way to have a DHCP reservation?

                            G I JonesG 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @G I Jones
                              last edited by

                              @g-i-jones said in DHCP Logic:

                              Anyway, he said even if there is a reservation, if that thing goes to sleep, then other things can still snatch up that IP address because it's in the pool.

                              That makes no sense at all. He's thinking of DHCP Preferences, not related to Reservations. The entire concept of a reservation doesn't mesh with this definition at all.

                              Imagine if you had a restaurant reservation that only worked if you were already at the restaurant waiting. No need for a reservation if you are already there and have the table, right? Completely nonsensical.

                              tonyshowoffT 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @tonyshowoff
                                last edited by

                                @tonyshowoff said in DHCP Logic:

                                I'll jump in and add: then what does he think reservations do?

                                This is the key. If he thinks that they aren't reservations, what the heck does he think that they are?

                                1 Reply Last reply Reply Quote 0
                                • tonyshowoffT
                                  tonyshowoff @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in DHCP Logic:

                                  @g-i-jones said in DHCP Logic:

                                  Anyway, he said even if there is a reservation, if that thing goes to sleep, then other things can still snatch up that IP address because it's in the pool.

                                  That makes no sense at all. He's thinking of DHCP Preferences, not related to Reservations. The entire concept of a reservation doesn't mesh with this definition at all.

                                  Imagine if you had a restaurant reservation that only worked if you were already at the restaurant waiting. No need for a reservation if you are already there and have the table, right? Completely nonsensical.

                                  Reminds me of Seinfeld and his car reservation

                                  Youtube Video

                                  zachary715Z 1 Reply Last reply Reply Quote 1
                                  • ObsolesceO
                                    Obsolesce @DustinB3403
                                    last edited by

                                    @dustinb3403 said in DHCP Logic:

                                    While it is bad practice to create a reservation within the scope, there are cases where you might want or need this. For example you have a trouble user who is doing something they shouldn't and to simplify the tracking process you reserve that users MAC address within the DHCP scope.

                                    That MAC will always get that IP address, so when you talk to HR you have simple proof.

                                    But still, reservations assign the IP address to the MAC address in which they are created.

                                    It doesn't matter, I do that all the time. Mostly because it's easier to right click on what it gets automatically and set it as a reservation, and also ran out of excluded IPs.

                                    They are all listed under reservations anyways, so still easy to find and manage.

                                    1 Reply Last reply Reply Quote 1
                                    • zachary715Z
                                      zachary715 @tonyshowoff
                                      last edited by

                                      @tonyshowoff said in DHCP Logic:

                                      @scottalanmiller said in DHCP Logic:

                                      @g-i-jones said in DHCP Logic:

                                      Anyway, he said even if there is a reservation, if that thing goes to sleep, then other things can still snatch up that IP address because it's in the pool.

                                      That makes no sense at all. He's thinking of DHCP Preferences, not related to Reservations. The entire concept of a reservation doesn't mesh with this definition at all.

                                      Imagine if you had a restaurant reservation that only worked if you were already at the restaurant waiting. No need for a reservation if you are already there and have the table, right? Completely nonsensical.

                                      Reminds me of Seinfeld and his car reservation

                                      Youtube Video

                                      Oh this is one of my favorite scenes. Absolutely hilarious!

                                      jmooreJ 1 Reply Last reply Reply Quote 0
                                      • jmooreJ
                                        jmoore @zachary715
                                        last edited by

                                        @zachary715 The video wouldn't play for me but yeah Seinfeld is great.

                                        1 Reply Last reply Reply Quote 0
                                        • G I JonesG
                                          G I Jones @scottalanmiller
                                          last edited by

                                          @scottalanmiller Nah, you can set them outside the scope or in the scope. I prefer to put them outside the scope because i like to think i have my own little secret cubbyhole for IP's that no one can take, and I strive for super organization.

                                          I have more experience than my coworker with DHCP, so I don't know why I let him try to convince me what I already knew was wrong. I think I forgot to take my B vitamins yesterday lol. Anyway, thanks for the reply's.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller @G I Jones
                                            last edited by

                                            @g-i-jones said in DHCP Logic:

                                            @scottalanmiller Nah, you can set them outside the scope or in the scope. I prefer to put them outside the scope because i like to think i have my own little secret cubbyhole for IP's that no one can take, and I strive for super organization.

                                            Reservation = no one can take.

                                            Being in or out of scope has no bearing on that. If you have a reservation outside of the scope, that makes it part of the scope no matter how you look at it. Maybe you are using a DHCP GUI that says it is not in scope, but it's lying to you. You can't have a reservation outside of scope or the DHCP server can't set the reservation.

                                            1 G I JonesG 4 Replies Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • First post
                                              Last post