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

    Back to static addressing I guess...

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 2 Posters 1.1k 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.
    • F
      furom
      last edited by

      Hi,

      I have been trying to get the static DHCP to work for me with pfSense, but for unknown reason addresses do not stick, and changes if not accessed in a while. So my question is,
      if not using pfSense for DHCP, can I still register hosts in its DNS? And where would it be possible to edit the DNS entries?
      Thanks

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

        @furom said in Back to static addressing I guess...:

        but for unknown reason addresses do not stick

        You know what that screams of to be honest - another dhcp server on your network.

        Sorry but if you setup a reservation for mac address aa:bb:cc:aa:bb:01 - that is the only device getting that IP from that dhcp server. And it sure wouldn't hand it out a different IP out of the pool when it had a valid reservation for that mac, etc.

        In the like 12 some years been using pfsense - never seen an issue with dhcp reservations, and I have plenty of them over multiple networks, etc.

        But sure if you want to run a different dhcp server and just setup host override for dns entries on pfsense that works too.

        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

        F 1 Reply Last reply Reply Quote 0
        • F
          furom @johnpoz
          last edited by

          @johnpoz said in Back to static addressing I guess...:

          And it sure wouldn't hand it out a different IP out of the pool when it had a valid reservation for that mac, etc.

          That is entirely true, agreed. What I mean is that the lease expire (or seems to do) and the IP changes to another nearby one. So my guess is that that registration fails for me for some reason. It is annoying as it messes with my ssh keys. (May be a unifi issue, only happening on that controller)

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

            @furom said in Back to static addressing I guess...:

            What I mean is that the lease expire (or seems to do) and the IP changes to another nearby one

            Again doesn't work that way... Once you set reservation, yeah sure the client will lease will expire - but it would only ever get the reservation IP since it matches his mac...

            If I had to guess your controller is running dhcp server and handing out an IP, etc..

            What your describing screams more than 1 dhcp server on the network.. Never seen a dhcp server fail in such a manner to not hand out it reservation. Now if you client holds another lease, and it asks for that - have seen that happen.. If that lease asking to be renewed is valid, etc..

            You have something else going on, while sure you can move to another dhcp server.. The better idea would be to figure out exactly what is going on..

            Lets see your reservation, lets see the lease your saying pfsense dhcp is handing out, vs handing out its reservation.. etc..

            On the status dhcp leases - you should see the reservation you created, and this other lease that your saying dhcp server is handing out, etc.

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              furom @johnpoz
              last edited by

              @johnpoz said in Back to static addressing I guess...:

              Again doesn't work that way...

              I have figured it out now finally. I do understand how it should work, and turned out I really had missed to save the config correctly. Now corrected and works... :)

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

                @furom said in Back to static addressing I guess...:

                I do understand how it should work

                If I had setup a reservation, and client didn't get it - step 1, validate that actually set the reservation ;) heehhe

                and changes if not accessed in a while

                This seems to suggest you had a reservation set, that was working... But then stopped working, etc.

                I am glad you got it sorted and all. But how does that suggest you never set the reservation up in the first place?

                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

                F 1 Reply Last reply Reply Quote 0
                • F
                  furom @johnpoz
                  last edited by

                  @johnpoz said in Back to static addressing I guess...:

                  If I had setup a reservation, and client didn't get it - step 1, validate that actually set the reservation ;) heehhe

                  I do realize how this sounds, and am not amused, but was my own fault. I did see the line saved on the bottom of the dchp server page but yeah, thought it was peculiar no ip was shown there. I now know better. Thanks a lot for your patience! :)

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