S5E3 “The Great Recession”

  • atomicbocks@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    If the DHCP lease has expired while the device is off or asleep it may or may not get the same IP when it reconnects depending on the settings on your router. If the machine is on when the lease expires it can typically renew the lease and retain the same IP. Generally DHCP leases default to 1440 minutes (24 hours).

    Best practice is to do what I mentioned before and have your router reserve the IP so if the settings on your device get reset for some reason you won’t have to go hunting the IP. At least though, you should have a range of IPs outside your lease pool so you can assign static IPs on the device without running into a DHCP conflict, but this runs into the aforementioned issue of the device forgetting its settings.