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

    DHCP problem

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    7 Posts 3 Posters 3.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.
    • B
      BenKenobe
      last edited by

      Build 2.0-BETA4 (i386) built on Wed Oct 20 06:03:46 EDT 2010

      Now DHCP seems to be busted, since updating to this release I now get these errors, I am getting groups of them regularly - just deleted 480 of them !! the errors below are for one address but every static address on the network is doing it

      2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: from the dynamic address pool for 10.100.1/24
      2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: Remove host declaration s_lan_0 or remove 10.100.1.10 (.*)
      2010-10-20 18:26:10 Local7.Error n36-gate Oct 20 18:26:09 dhcpd: Dynamic and static leases present for 10.100.1.10.

      This has to be a bug, neither my software nor hardware config has changed and DHCP worked fine until this update โ€ฆ.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Static addresses cannot be included in your dynamic range, and never could be. i.e. that hasn't changed ever (it's a ISC dhcpd thing). Change the reservations so they're outside your normal scope. Input validation normally prevents that when you're adding reservations, but there must be some way around it, like changing the scope after the reservations are there.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          That could happen if you assigned a static lease and then grew the size of your pool to include the static leases (which you shouldn't do). I'm not sure the input validation checks that particular change.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • B
            BenKenobe
            last edited by

            jiimp this is clearly the issue since this is exactly what I was allowed to do โ€ฆ but prior to the current release, it is only in the last two builds that the 'error' - that I accept now as mine has surfaced. I'll modify again later and see if this is still 'allowed' .....

            Test done : Yes the UI still permits you to modify the pool such that it overlaps the static addresses.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I'll fix the input validation to prevent that from being allowed.

              I opened a ticket to track the issue:
              http://redmine.pfsense.org/issues/964

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                The input validation should be fixed now. It won't be in the next new snapshot (it's already building) but it will be in the next one after.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • B
                  BenKenobe
                  last edited by

                  Many thanks โ€ฆ.

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