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

    Which dhcp bug is this?

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 562 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.
    • R
      robertfranz
      last edited by

      Setting up a new box, I put in 192.168.11.1/23 for the interface address.

      Wondered why on the DHCP tab I was seeing a range that didn't match.

      Slapped myself on the forhead and went back and corrected the interface address to 192.168.10.1/23.

      Doesn't matter though - even though the ranges are correctly specified, and the 192.168.10.101 assignment is as expected, dhcp insists on pushing out 192.168.11.1 - which does not exist - as the default gateway and dns.

      It does this even if the correct address of 192.168.10.1 is specified in dhcp for the gateway and dns.

      I had to change the subnet mask to /24 to get it working correctly.

      –----
      edit: I was wrong - it's still handing out gateway and dns for a different subnet.

      changed to a completely different subnet and I still see in wireshark, pf handing out an invalid lease from an ip it no longer has.

      I'm gonna reboot this mess and see if it gets unstuck.

      Trying really hard not to be overly critical, but I'm wasting way more time than I should be on something so simple.


      edit: That seems to have worked - I finally have a a valid ip and dns/gw assignments.

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

        so once the information is given for a lease, you would have to make sure you clear that old lease - delete it.  Or yeah the same client could keep getting the wrong info because it keeps just getting the renewal of its old lease.

        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.8, 24.11

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