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

    DHCP static lease

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 457 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.
    • L
      larryjb
      last edited by

      When assigning a static DHCP lease, I had to first go to the DHCP>Server and adjust the DHCP range to allow static leases outside the range. So, I set the range from 192.168.11 to 192.168.99, leaving 192.168.100 and up for static leases. Then I was allowed to set static leases.

      Later this afternoon, I went to assign one further static lease and found that the DHCP range had reset to the full range and I had set the range again so I could add the static lease. Is this supposed to happen?

      noplanN 1 Reply Last reply Reply Quote 0
      • noplanN
        noplan @larryjb
        last edited by

        @larryjb
        Version of pfS?

        Hint... Did you safe and apply?

        Same procedure works here fine for me

        L 1 Reply Last reply Reply Quote 0
        • L
          larryjb @noplan
          last edited by

          @noplan
          Version: 2.4.5-RELEASE-p1

          I'm pretty sure I wouldn't have been able to make static DHCP leases unless I had saved such a range.

          Here's what I did:

          1. Services>DHCP Server> set range from 192.168.1.11 to 192.168.1.99
          2. Save
          3. Status>DHCP leases: Used + button to add static, then chose IP addresses from the range of 192.168.1.100 and up.
          4. Save then apply.

          This worked successfully and had most of my devices set as static in the 192.168.1.100 and up range.

          Later in the afternoon I went to add a few more devices that had connected to the LAN by going:

          1. Status>DHCP leases: Used the + button to add static address above 100.
          2. Got message that I had to choose an address outside the DHCP range.
          3. Navigate to Services>DHCP Server: I found that the range had returned to the default range.
          4. Reset range from 192.168.1.11 to 192.168.1.99

          The range has remained as I set it yesterday so far. I guess I'm curious if there is something I might have done elsewhere in pfsense that may have caused the DHCP range only to revert to the default setting, or if I found a bug. Or, if that bug was, inadvertently, me.

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