• qaz@lemmy.worldOP
      link
      fedilink
      arrow-up
      41
      arrow-down
      1
      ·
      edit-2
      5 months ago

      There is IPv4, it’s an internet address that points to a specific computer, or at least it’s supposed to. IPv4 supports up to 4294967296 addresses, which might seem like a lot until you realize how many devices are connected to the internet. Almost the entire IPv4 range is full, and ISPs have resorted to letting 1 IP point to multiple computers also known as NAT. It’s what your router does, and why your laptop and phone all connect to the internet using your routers’ IP address. Carrier Grade NAT takes it one step further and allows hundreds or more home networks to connect from a single IP address.

      CGNAT kind of sucks because you can’t run servers behind them because it doesn’t know which of the hundreds of computer traffic has to go to. IPv6 would solve this entire mess, but ISP’s won’t invest in it because they don’t want to spend the money and just delay the inevitable until they have to.

      True ELI5: We ran out of signs for house numbers and instead of getting new ones we started giving everyone in a street the same house number

      • aldalire@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        10
        ·
        5 months ago

        Thank you. So in a way if the carriers upgrade their infrastructure there would be a decrease in privacy because then it’s a one-to-one correspondence between IP address and customer, but then the customer would have the ability to host servers? The one scenario where the industry dragging their heels on upgrading is actually good for the consumer (in some respects) lol

        Adding commas to that number: 4,294,967,296 addresses. More humans that IP address seems like a huge miscalculation in the internet infrastructure

        • Bloody Harry@feddit.de
          link
          fedilink
          arrow-up
          8
          ·
          5 months ago

          Who could’ve thought in 1981 that more than a few thosand universities would ever like to connect to the then 250 machines big ARPANET. With 4 billion addresses, there was plenty of headroom at the time.

          In 50 years, when the last ISP finally switches to IPv6, we’ll be wondering how short sighted we were as now every pencil has an IP address in the interplanetary compu-global-hyper-meganet.

          • confusedbytheBasics@lemmy.world
            link
            fedilink
            English
            arrow-up
            10
            ·
            5 months ago

            We planned for that. We should be fine at least until we are an interstellar species. We could assign an IPV6 address to EVERY ATOM ON THE SURFACE OF THE EARTH, and still have enough addresses left to do another 100+ earths. It isn’t remotely likely that we’ll run out of IPV6 addresses at any time in the future.

        • sep@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          5 months ago

          Goverments (depending on juristiction) have laws requiering isp’s to keep track of cgnat port combos. So not only is there no privacy from ipv4 cgnat. Now the isp must also spend a lot of money on the nat state tracking database.
          If you need that kind of privacy, use a vpn and the tor onion network.

        • frezik@midwest.social
          link
          fedilink
          arrow-up
          5
          ·
          5 months ago

          It’s a bit more complicated than that. Governments still spy on an IPv4 address, but because that address is shared, it’s spying on everyone behind it. At least with IPv6, it’d be targeted.

    • mako@discuss.tchncs.de
      link
      fedilink
      arrow-up
      10
      ·
      5 months ago

      Usually the NAT is at home in the router and every customer has their own IPv4 address. NAT at the ISP means several customers share an IPv4 address. If the authorities are now investigating the activities of an IPv4 address, it is difficult to say which customer it was because multiple of them shared the IP address.

    • ChillPill@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      I know very little about ipv6, but CGNAT is Carrier Grade Network Address Translation.

      NAT (Network Address Translation) is how your home router takes your one public IP address and is able to simultaneously allow your phone, your PlayStation, and your smart fridge use the internet.

      CGNAT is basically the same thing expect on a much larger scale and controlled by you ISP.

    • Sonotsugipaa@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      IP addresses ran out, IPv6 adds more addresses than we may need, ISPs decide to take away the user’s ability to host servers (more or less (more less than more)) rather than upgrading the infrastructure