Navigation

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

    Switching from static to dhcp - could not get lease until reboot.

    DHCP and DNS
    2
    2
    420
    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.
    • W
      W4RH34D last edited by

      I am troubleshooting some wi-fi calling stuff and tried deleting the static record for the device to get a leased IP.

      No matter what I did the device would keep getting the reserved ip outside the dhcp scope.

      I put in a static address in the device and it could pass traffic just not get the address from the server.

      Worked fine after a reboot.

      Just FYI if anyone comes searching.

      Did you really check your cables?

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

        So did you delete the actual lease on the dhcp server, or have the client release it and then get a new one?

        I just recently removed a reservation for a machine to test that secondary pools were not handing out different info in that pool.  And to test that I wanted to put my machine in a 2nd pool.

        I removed the reservation I had.  Created a deny for its mac in the first pool.  I then release the reservation on the client, did a ipconfig /renew on the client and bing bang zoom got IP from the 2nd pool.  And as I found after verification that yup in dead extra pool info was not being handed out that there was a bug already entered for that very thing.

        You need to make sure there are no leases on the server for that client to renew if you want to have it get a new lease or use a reservation, etc or not use a removed reservation.

        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 23.01 | Lab VMs CE 2.6, 2.7

        1 Reply Last reply Reply Quote 0
        • First post
          Last post