Amazon finds $1B jackpot in its 100 million+ IPv4 address stockpile | The tech giant has cited ballooning costs associated with IPv4 addresses::undefined

  • Nachorella@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    1
    ·
    11 months ago

    I remember doing an IT course over a decade ago and learning about IPv6 taking over, honestly surprised it hasn’t yet. I just looked it up and apparently they came up with it in 1998. How is it taking so long? Is there some technical reason it’s harder or something? Does the extra address size mean a not so great trade off in traffic or something?

    note: I did study a bit of networking and IT but have forgotten everything mostly and work in a different field, thus my ignorance.

    • abhibeckert@lemmy.world
      link
      fedilink
      English
      arrow-up
      39
      arrow-down
      1
      ·
      edit-2
      11 months ago

      IPv6 is here, and has been for a long time. But if, for example, your web or email server can only be reached over IPv6 some people will not be able to load the site or send emails to you.

      The entire internet is configured to work with IPv4. Some of the internet (less than a quarter) is also configured to also work with IPv6.

      Imagine if your home had two driveways on different streets. Do you tell everyone both addresses, or do you pick one of them? Probably just one right? Now imagine if the second address can only be reached if someone has an off road capable vehicle. And you don’t know what vehicle someone has - which address would you give them? Is it even worth having two driveways?

      That’s the situation we’re in. IPv4 support is required and works perfectly. IPv6 is optional and doesn’t always work.

      • elrik@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        11 months ago

        IPv4 support is required and works perfectly.

        Except it doesn’t work perfectly, because it has a relatively small address space. That’s why ipv6 exists.

        • otp@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          7
          ·
          11 months ago

          The driveway works perfectly, but it doesn’t have space for all the guests if they all want to use their own vehicles.

          Thankfully, we have carpooling and rideshares.

      • KairuByte@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        11 months ago

        “Luckily” we are reaching the point where IPv4 just isn’t going to be fiscally sustainable for the majority of companies, meaning the push to IPv6 will be hastened.

        Though I don’t pretend it isn’t going to be a hell of a ride.

        • ___@lemm.ee
          link
          fedilink
          English
          arrow-up
          12
          arrow-down
          2
          ·
          11 months ago

          192.169.x.x will always be easier than fe80:x:x::x:x

          • frezik@midwest.social
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            11 months ago

            I had a roommate once who need an IP for something, and because it was a device I had been working with recently, I just rattled off “192.168.0.7” or something.

            He was in awe of the fact that I could remember it. However, it’s not that difficult when you know the private prefix you use is always “192.168.” and that gets burned into your brain. The next octet is often zero (maybe 1 if your home network gets crazy), and you really only need to remember the final octet for the device.

            Point is, fe80::x will go the same way. You’ll remember fe80, and the rest is however you handled your own network scheme.

            (I can never remember the class B private address space, though. Only classes A and C. Never needed to bother with the class B space when you can subnet 10.x.x.x so much.)

            • barsoap@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              11 months ago

              The next octet is often zero (maybe 1 if your home network gets crazy)

              No. It’s 23 or 42.

          • SteveTech@programming.dev
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 months ago

            I definitely agree with automatically configured stuff, but I enjoy setting link-local static IP address with IPv6, like my home server is fe80::bad:c0de or 192.168.0.2, and my NAS is fe80::coo1:da1a or 192.168.0.3. I’ve definitely mistyped the IPv4 a few times (see your 169 typo), but the IPv6 always delivers hackerman vibes.

            I have also set ::bad:c0de and have my IPv6 prefix on a keybind, but I understand that’s a bit of a stretch.

          • p1mrx@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months ago

            fd00::x is shorter than 192.168.x.x

            Technically you’re supposed to use fdxx:xxxx:xxxx::x, but on your home network nobody cares.

    • elrik@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      ·
      11 months ago

      There are huge gaps in ipv6 adoption which means most users and services must continue to support and use ipv4.

      Since everyone has to continue ipv4 support, there’s not much motivation to push general adoption of ipv6. Maintaining dual stack support has its own costs.

      Even within AWS, many of their services still don’t support ipv6. AWS fees for ipv4 addressing may end up being a comparatively big driver for adoption.

      • remotelove@lemmy.ca
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        11 months ago

        Even within AWS, many of their services still don’t support ipv6. AWS fees for ipv4 addressing may end up being a comparatively big driver for adoption.

        You just outlined a reason for AWS not to fully support IPv6 as well.

    • cheet@infosec.pub
      link
      fedilink
      English
      arrow-up
      18
      ·
      11 months ago

      In addition to what the other commented said, a lot of sys and net admins really don’t like the idea of every lan device being globally addressable, while there’s ways around it, a standard ipv4 Nat is a safety blanket to a lot of admins… Not that it should be like that, just my observation.

      • abhibeckert@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        edit-2
        11 months ago

        a lot of sys and net admins really don’t like the idea of every lan device being globally addressable

        Those admins don’t know what they’re talking about. IPv6 has a region of the address space that can only be reached locally - similar to the 192.168.x.x space in IPv4. The only difference is it’s really big (way bigger than the entire IPv4 space).

        As for NAT… there’s nothing stopping you from using it with IPv6. It’s often unnecessary, but if you disagree you can use it. And in practice NAT is often part of the transition process to IPv6 - my cell network carrier for example gives my phone an IPv6 address on their internal network but routes all my traffic to the regular internet via IPv4. They are using NAT to do that. If you try to ping my phone’s IPv6 address, it won’t reach my phone.

        • Fungah@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          11 months ago

          Honestly my biggest issue with ipv6, aside from not understanding it, which I don’t, at all, I’ve realized while setting up my own opnsense firewall, is that they decided on FUVKING COLONS. AND LETTERS. Okay, cool, hexadecimal exists, that’s swell, but typing them is such a fucking pain in the ass.

          There’s no way to put your fingers on a keyboard to make it feel natural.

      • frezik@midwest.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        11 months ago

        They need to stop that nonsense. NAT is not for security, and was not designed for security purposes. In fact, there are a few ways it subverts security, such as SNI in TLS making the connection less private than it could be.

        If they want to block external connections, a border firewall can do the job just fine without NAT. It’s arguably better, because NAT complicates existing firewall rules and their implementation in code. Complications are the enemy of security.

        • Blue_Morpho@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          a border firewall can do the job just fine without NAT

          How do you anonymize ip addresses without effectively recreating nat using firewall rules?

            • Blue_Morpho@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              11 months ago

              There is no way to personally identify anyone. Right now advertisers have to jump through hoops of cookies and browser fingerprinting to identify you- which can be blocked.

              • frezik@midwest.social
                link
                fedilink
                English
                arrow-up
                2
                ·
                11 months ago

                They still wouldn’t. A single computer address is not an individual. They’re only slightly better off compared to knowing the edge router IP like they do now.

                If you really want to protect against that, then use a proxy or an onion router. NAT was never meant to do this, and it does it poorly.

                • Blue_Morpho@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  11 months ago

                  A single computer address is not an individual.

                  It is extremely likely to be the same user. Shared computers are rare today.

                  • frezik@midwest.social
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    11 months ago

                    So what? They still don’t have much more information than the edge router IP. Again, if you want to protect yourself here, use a proxy, onion router, or VPN. NAT is not designed to tackle this, and does it poorly.

              • Dark Arc@social.packetloss.gg
                link
                fedilink
                English
                arrow-up
                1
                ·
                11 months ago

                In a large cooperate network, or even a small network, there’s nothing fixing a device to a specific network address. You can shuffle those around between people entering and leaving the building and device power cycles just like DHCP does for IPv4.

    • db2@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 months ago

      How is it taking so long?

      It’s more complicated and v4 is already there. That was the reasoning and it hasn’t changed even though by now it should have.

    • ringwraithfish@startrek.website
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      11 months ago

      To add to what others have said, I’ve heard that wide adoption of NATing as a standard practice basically ensured IPv4 longevity well beyond its logical end. This along with the cost to fully upgrade a network to IPv6 meant there was no financial incentive for companies to adopt it.

      With Amazon starting to charge for IPv4 addresses, it won’t be long before Google and Microsoft do the same with GCP and Azure. This may be the financial kick in the ass to get large enterprise environments to finally commit to IPv6.

      • frezik@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Financial incentive does exist, but the problem is that it’s a tragedy of the commons. Me upgrading only makes sense if everything else is also upgraded. Until then, it makes sense for me not to spend anything. However, everyone else is making exactly that same calculation.

        ISPs have a lot of trouble managing IPv4. How much so depends on when you got your allocations. The first ISPs in the US got tons. The ones that grew out in other countries had to pick over the scraps. Even later US ISPs, particularly mobile carriers, got hit just as hard.

        Those later arrivals have to implement Carrier Grade NAT, where all traffic goes through a small set of IPv4 addresses. Sometimes, it’s multiple layers of NAT. It takes extra equipment and network design to support all this, which in turn affects speed, reliability, and cost.

    • bazsy@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      11 months ago

      Even tough IPv6 is technically superior to IPv4 for the network operator it doesn’t have clear benefits for home users.

      Having global addresses instead of NAT means less control over your LAN and these unique public addresses can track users more accurately.

      • Nachorella@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        is there any reason why we can’t still use NAT with IPv6? it seems like that would solve at least some of the problems.

        • barsoap@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          11 months ago

          In principle, no. In practice I looked into it to do a quick job of enabling ipv6 on my router and the software either just doesn’t do it, or fights you actively.

          Generally speaking ipv6 is a PITA to administer, at least from the POV of someone who’s not a professional network admin and can’t be arsed to spend a month learning a gazillion new concepts when I can be just fine with ipv4.

        • Dark Arc@social.packetloss.gg
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Because you shouldn’t. NAT causes so many issues, nobody sane is implementing NAT for IPv6 as an out of the box option.

        • bazsy@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          It is possible, it’s just not generally supported be ISP routers. Also there is a possibility of performance issues since IPv4 NAT often relies on hardware acceleration which might not work for NAT6.

      • Dark Arc@social.packetloss.gg
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Having global addresses instead of NAT means less control over your LAN

        You can still have internal IP addresses and things like the router firewall work pretty much like they always have. I’m not sure what you mean by less control really.

        these unique public addresses can track users more accurately

        I feel like that concern is overblown. You get way more information from DNS, for way cheaper, than you get from “there were 27 devices, now there are 28!” and both takes being the ISP and observing the traffic.

        It’s also not like VPNs can’t work in IPv6 land for people that really are conscious of hiding as much information about what they’re doing from their ISP as possible.