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

    DHCP pool wrong

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 435 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.
    • S
      squigley
      last edited by

      I migrated from one hardware machine to another, exporting and importing the config. I think that is related to the source of this issue, as the interfaces were different. I had a bridge on the original machine which was used as the LAN, and that was removed after migrating (or not created), and the LAN was reassigned to a single interface.

      Now, the DHCP pool keeps showing the wrong range in the leases, and this is causing issues when trying to set static leases.

      eg, my pool is set to LAN IP x.x.x.50 to x.x.x.230. In the leases status screen, it is showing as x.x.x.30 to x.x.x.250, which it was previously. I have restarted/stopped/started DHCPD several times.

      The effect of this issue is trying to set a static lease of eg x.x.x.40 complains that it is inside the pool, and not in the subnet..

      In desperation I cleared all the leases which also cleared the pool, and I thought this was resolved, however it has returned to showing the wrong range again.

      Why I think it's related to the interfaces, is because I noticed the interface being specified on the URL when trying to edit leases, it had "if=opt3" or something similar on the URL, when this is the LAN. Attempting to set a lease manually rather than converting an existing lease to a static avoided this issue.

      I see this again.. if I view the leases, the button to convert to a static lease now contains "if=opt4" in the URL, which is incorrect, as while I have an OPT4 interface, it's not configured, and nothing is physically or logically attached to it.

      I think this is a bug, and would like to report it as such, but I am just asking in case someone else has experienced/fixed this before.

      S 1 Reply Last reply Reply Quote 0
      • S
        squigley @squigley
        last edited by squigley

        a8cf5bc6-b3e8-49dd-b574-8e066cf81380-image.png

        7eeb1397-29a0-4640-a107-b555519c0762-image.png

        4fe8a97a-f834-4e02-a5b5-f4e6273a7316-image.png

        URL: https://router/services_dhcp_edit.php?if=opt4&mac=xxxxxx&hostname=Latitude-E5530-non-vPro

        Should not have if=opt4, this is the LAN.

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