S5E3 "The Great Recession"

you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (7 children)

You should be able to tell your router to always assign the same IP to the same MAC for specific machines.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 2 points 1 year ago (6 children)

    That too yes, but by denying sleep mode it never changes anyway. My router will give it the same IP after a reboot, but if it’s off for a while it will get a new one. I’m not sure if that’s the same with all routers.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 1 year 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.

  • source
  • parent
  • [–] 1 point 1 year ago* (last edited 1 year ago) (3 children)

    Not entirely. The lease default is usually about 24 hours, that computer would need to be completely offline for a day and the IP address would usually need to be reassigned before the device gets a new IP. Even then, the router would probably try to give it the same.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 year ago (2 children)

    Ah ok. I’d call 24 hours a while ;)

    When I moved I unplugged the Jellyfin server about 4 days before the router and it came back with the same IP. I dunno, maybe I have a good router. 🤷‍♂️

  • source
  • parent
  • hideshow 2 child comments