S5E3 “The Great Recession”

  • Mongostein@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 days ago

    Is the computer running it going to sleep and coming back with a new IP address maybe? Or just asleep when you’re trying to use it? Gotta set it to never-sleep, just display off

      • Mongostein@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 days ago

        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.

        • atomicbocks@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 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.

        • thermal_shock@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 days ago

          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.

          • Mongostein@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            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. 🤷‍♂️

            • thermal_shock@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 days ago

              Other things come into play. If you don’t have leases expire often or dozens of devices coming and going repeatedly like a public wifi may have, it’s also stored in ARP tables, saves it some work later when it recognizes a device.