this post was submitted on 21 Sep 2025
703 points (99.2% liked)

It's Always Sunny in Philadelphia

605 readers
38 users here now

For fans of the show, "It's Always Sunny in Philadelphia", and the Podcast!

founded 2 years ago
MODERATORS
 

S5E3 "The Great Recession"

you are viewing a single comment's thread
view the rest of the comments
[–] atomicbocks@sh.itjust.works 2 points 1 week 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.