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

    Problem with DHCP on pfsense 2.2.6

    DHCP and DNS
    4
    11
    1.9k
    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.
    • C
      cmb
      last edited by

      You have to release and renew on the client, if the client requests a renewal of its existing IP, it'll be granted that renewal.

      1 Reply Last reply Reply Quote 0
      • L
        leonardo.silva311290
        last edited by

        Hi CMB, thank you for reply

        I already executed this commands to renew Ip, but the problem still persists, any changed that i do in the DHCP, doesn't change, i make a test changed the Ip of my DNS SERVER in the DHCP and occured the same scenario.

        Do you think that is a problem with version 2.2.6?

        i didn't found about this in my searches.

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

          you have to RELEASE, and then get a new IP via discover…  If the client asks for an existing lease, and that lease still exists on the dhcp server then yeah its going to get the old one.

          If you had a reservation for a machine with mac xyz to get ip 1.2.3.4, and now you want this mac xyz to get IP 1.2.3.5 then on the client RELEASE the old lease.. Then get a new one via discover (ipconfig /renew in windows sure after the /release)

          Better yet just delete the OLD lease off the server.

          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

          1 Reply Last reply Reply Quote 0
          • L
            leonardo.silva311290
            last edited by

            Hi johnpoz,

            Thank you for reply, im my case i am used the pfsense version 2.2.6, in my dhcp service there are option ARP Table Static Entry, this option are unchecked. I make a test changed my ip, after i executed this commands ipconfig /renew  and ipconfig /release. But  My Ip doesn't change

            This scenario are very strange.

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

              did you actually create a reservation??  Post up your reservation, and screen shot of your machine ipconfig /all

              I can tell there is no issue with using static IP or dhcp reservations in pfsense.  I use many of them…  Both back on 2.2.6 and with current 2.3

              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

              1 Reply Last reply Reply Quote 0
              • L
                leonardo.silva311290
                last edited by

                Hi johnpoz,

                Thank you for help,  I resolve my problem, through of the executing an stop and start im my dhcp service and executing a clean in my arp table.

                When I try to do a restart in my dhcp service, doesn't work. I don't know if this is a bug of the version 2.2.6

                Best Regards.

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

                  not sure what you think your arp table had to do with a dhcp lease.. I can tell you that in 2.2.6 I never had any problems restarting dhcp..

                  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

                  1 Reply Last reply Reply Quote 0
                  • L
                    leonardo.silva311290
                    last edited by

                    Thank you for reply

                    The problem was solved with stop and start services DHCP.

                    Thank for help of all the people.

                    1 Reply Last reply Reply Quote 0
                    • M
                      moikerz
                      last edited by

                      Sounds like the problem was you renewed and then released, instead of releasing and then renewing.

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

                        ^ hehe that is funny.. But your right that is how he wrote it

                        "after i executed this commands ipconfig /renew  and ipconfig /release"

                        Nope that sure wouldn't work..

                        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

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