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

    Adding DHCP Static Mapping redirects you to the wrong page

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 675 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.
    • J
      Jeremy11one
      last edited by

      1. Go to Status > DHCP Leases (status_dhcp_leases.php)
      2. Click the + button to add a static mapping
      3. This takes you to "services_dhcp_edit.php"
      4. Configure the static mapping and click Save
      5. This takes you to services_dhcp.php (Server > DHCP Server)

      What if I want to add many static mappings?  I have to navigate back to the status_dhcp_leases.php page manually to get back to where I was so I can add more static mappings.

      I think that after adding a static mapping, it should take me back to the status_dhcp_leases.php page automatically instead of the services_dhcp.php page, especially if that's where I was to start with.  I should also be apply to "Apply Changes" from the status_dhcp_leases.php page to apply the new static mappings.

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

        The redirect does what it's supposed to do – It returns you to the page listing the settings for that interface. It isn't meant to return you to where you came from originally. I suppose it could, but it would require a bit of extra logic to accomplish. Probably not something we'd do ourselves, but if someone submitted a patch/pull request it might be considered.

        The static leases will not be moved away from the DHCP server settings. The leases view is a common view for all interfaces. The static mappings are a per-interface setting and not a global setting. It does not make sense to move them.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.