• ShredderFeeder@shredderfood.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    I saw the rfc for IPV8 recently… It makes so much more sense than ipv6…and is backward compatible with ipv4…

    Basically they’re proposing prefacing 4 more octets into an IP address, so 172.16.5.1 would become 0.0.0.0.172.16.5.1

    Any existing IPs would just assume the 0.0.0.0 in front of them…

    Again…solves the problem on much the same way.

    • StarDreamer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      16 hours ago

      Networking researcher here chiming in.

      All IPv4 addresses can already be represented in the IPv6 address space, by the same method you describe here.

      As for “backwards compatible with IPv4”, I’m afraid that’s not possible for the same reason IPv6 isn’t getting major traction. Right now, we literally CANNOT upgrade our entire networking infrastructure. What you’re proposing requires updating every switch and middlebox to support routing using additional bytes, which is physically impossible. The biggest problem would be middleboxes, which includes NAT router, firewalls, etc. For context: most middleboxes drop anything that is not IPv4/TCP or IPv4/UDP. This is why QUIC is encapsulated inside a UDP header (and funny enough, these vendors STILL didn’t learn, trying to match a “QUIC header” despite Google themselves saying there is no fixed QUIC header), and RoCEv2 using a header that looks like UDP. There is absolutely no way a new L3 protocol that is not IPv4 (and in some cases, IPv6) can be supported by these boxes.

      The only time we successfully replaced the L3 protocol was with the adaption of IPv4. In which networks were much smaller, and networking research was under the US DoD. The DoD basically gave an ultimatum that “if you don’t switch to IP by this date we will cut your funding”. That won’t fly now that the Internet is managed by a cluster of ISPs.

      Also: IPv6 is stupid simple. It’s basically IPv4, with everything not commonly used stripped out (and added back with “optional headers”, and a much larger address field. Since the address field is much larger, it is recommended to write them in hexadecimal, which looks more scary than IPv4.

      Side note: I don’t think any of these IP protocols is the solution here. If you only keep extending the address field, you’re still gonna run into IP problems (routing, ddos, caching). The future of the Internet should be something like NDN. But for the same reason I described above, I don’t think that’s going to happen unless the Internet is a pile of smoldering ruins.

    • mholiv@lemmy.world
      link
      fedilink
      English
      arrow-up
      41
      ·
      edit-2
      1 day ago

      Just fyi IPv8 was written by LLM with full on hallucinated citations and references. It isn’t being taken seriously by anyone.

      It didn’t even make sense. It relies on DNS for nat and the like. Deranged networking plans from the non-mind of an LLM.

      I recommend taking the time to learn IPv6 properly. It’s actually quite elegant and brings back the peer to peer, endpoint to endpoint connection ability of the old internet.

      • heartSagan5@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        20 hours ago

        I’m okay with IPv6, if I can get a hexadecimal keypad. I know, DNS solves it to a degree, but just pumping in link-local can be a keyboard dance.

        Unfortunately, my ISP doesn’t yet offer IPv6 due to PPPoE to authenticate and authorize subscribers.

        • mholiv@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          20 hours ago

          Humans shouldn’t really be typing in IPs. Why not just use localhost for localhost and dns / mdns for lan machines? It’s such a nicer experience.

          mdns works with link-local in the case of a private non connected lan.

          • sem@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            5
            ·
            19 hours ago

            Dns doesn’t always work, and seeing if you can connect via IP is often a troubleshooting step

            • mholiv@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              ·
              17 hours ago

              True. But pinging IPs directly should only be done as a debug step when dns / mdns does not work. Aka extremely rarely.This all being said mdns is extremely reliable on lan. It’s literally just multicast dns on lan.

              On my personal home network I have never had mdns fail in 5-ish years. FQDNs yah. DNS can break. But mdns has been solid.

              • sem@piefed.blahaj.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 hours ago

                I would like to know more about this mdns.

                In my experience, the following are unreliable, and it’s unclear which one is supposed to work under which context:

                • ping hostname
                • ping hostname.local
                • ping hostname.<whatever that local domain thing is called>

                While pinging the ipv4 address is reliable; if the device is reachable on the network, it should respond.

                • mholiv@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  2 hours ago

                  Happy to help.

                  You can find more information here: https://en.wikipedia.org/wiki/Multicast_DNS

                  You can learn how to configure it here: https://wiki.archlinux.org/title/Avahi

                  I see why some people can be confused though. In some distros it needs to be configured. Once you configure it though it should be rock solid.

                  There is no reason why an ICMP packet would be more robust than a multicast udp packet.

                  The traditional nomenclature is myhostname.local

                  Just make sure that the system firewall is configured to allow mdns. That’s the biggest issue. Once you have e that and you have mdns set up it’s good to go.

        • mholiv@lemmy.world
          link
          fedilink
          English
          arrow-up
          15
          ·
          1 day ago

          I wouldn’t even say it was a good idea. Like the end to end NAT free internet is the ideal. IPv6 was built for that.

          Even if IPv8 was not slop it would reenforce the idea of nat and hierarchy.

          IPv6 allows for a democratized internet where anyone can choose to self host. And anyone can connect to anyone who is self hosting.

          Because of this it’s a bit more complicated. But ideology it much better than IPv8. It brings us back what made the internet great in the 90s and 2000s, but at scale.

          • sem@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            3
            ·
            19 hours ago

            I really like how ipv6 works; the downside is it’s way more complicated for humans to understand. But then again all of networking gets complicated fast. I still don’t really get what a CGNAT is.

            • StarDreamer@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              4
              ·
              16 hours ago

              How is IPv6 harder to understand? It’s just IPv4 with all the uncommon stuff stripped out and put into optional headers (which IPv4 also has), and a much longer address now written in hex.

              CGNAT is just a fancy term for NAT done by a carrier. They get a special private IP address range for doing so, but fundamentally it’s still NAT.

              Now IP multicast, THAT is complicated for humans to understand. Especially the whole subscriber logic.

              • sem@piefed.blahaj.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 hours ago

                I’m taking this as a genuine question, so I’ll answer for myself personally. My mental model of IPv4 is quite simple. A computer doesn’t have an address unless you configure one for it, or a DHCP server gives it one. If you are on the same network and there’s no firewall, knowing the ip address lets you reach the computer. The router has one public facing IP address that all your devices have to share, which is inconvenient.

                In ipv6, a computer has two automatic addresses from the MAC address, a link local and a real one, but they aren’t interchangeable, and don’t always work. Instead of DCHP, there is something else that prevents ip collisions somehow, but dhcp also still exists sometimes.

                In my limited experience, i can never count on reaching a device by its hostname, but if i know a local ipv4 address, that’s enough, and they’re easy to remember since only the last part really changes. With ipv6 the address is too long and incomprehensible to remember.

                I love that ipv6 works better for computers, that you don’t have to worry about NAT traversal, but i don’t think it is too hard to understand why humans find using it day to day more confusing if they’re used to ipv4.

            • mholiv@lemmy.world
              link
              fedilink
              English
              arrow-up
              7
              ·
              edit-2
              1 day ago

              IPv6 is now peaking over 50% of all internet traffic globally and trending up. IPv4 is today the minority of internet traffic.

              In some countries like France IPv6 over 85% of all internet traffic. In Germany over 75%. USA 57% of all traffic. India 76% of all traffic.

              Not a fan of Google but they keep statistics on adoption.

              https://www.google.com/intl/en/ipv6/statistics.html

              • ShredderFeeder@shredderfood.net
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 day ago

                I literally just got the notifiation from Verizon today that IPV6 was now supported by their network… Ubiquiti asked me if I wanted to enable it, my response is basically not until I understand it…

                Then again, it took me 20 years to really understand IPv4, so it’s likely I’m going to be decaying before I get v6. ;-)

                • floquant@lemmy.dbzer0.com
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 hours ago

                  my response is basically not until I understand it…

                  That was probably a good call, firewalling and (lack of) DHCP especially is quite different so just trying to use v4 concepts on v6 addresses/networks is almost a guaranteed bad time

                • mholiv@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  4
                  ·
                  1 day ago

                  Have faith in yourself. I bet you could get things in a few hours with focused study if you have a deep understanding of IPv4.

    • jj4211@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      Note while you have cosmetic similarities to ipv4 addresses, the actual challenging part of that is the packet format and various translations.

      We actually have a number of existing schemes for ipv4 mapping onto larger address space and the attendant NAT requirements. The presentation of addresses in an ipv4 looking way is the least of the challenges.

      So don’t take IPv8 seriously, it is slop and even in theory it wouldn’t add anything new except a different cosmetic look to raw addresses and shortening the address space for no good reason.

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day ago

      That’s not how header backward compatibility works. IPv4 routers would discard the packet, not prepend zeroes.

      • ShredderFeeder@shredderfood.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        it would obviously involve code updates for compability, and I don’t pretend to know how it would work long term, but it makes the most sense… By prepending the zeros, you expand the number of networks dramatically.

        I would guess that no matter what, everything gets an upgrade… But I think this might make it more seamless.

        • jj4211@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          Basically people see an address like fdec:46f7:9b7f:1::3:20 and run screaming away about the complexity, seeing the address as a comprehensive indication of complexity, even though the real challenges lie underneath.

          The whole ‘traditional ipv4 just has 0.0.0.0’ stuck in front of it is essentially exactly the same idea as, say 64:ff9b::142.251.152.119. Now there’s also the likes of ffff::142.251.152.119 but that’s just so software can pretend to speak IPv6 when the OS is really doing only IPv4. So they needed another prefix to indicate the network doing the v6 to v4 translation instead of the OS.

          Anyway, the thing is that while it cosmetically looks more similar, it’s not really solving the fundamental compatibility situation. It just “looks nicer” because it sticks to dotted decimals. However in practice, would fdec:46f7:9b7f:1::3:20 really be somehow less usable than, say, 120.30.204.78.167.144.120.209? The simple reality is that the 4 octet decimal pushed human usability enough as it was, and going to sufficient octets just brings it out of mere mortal reach. If you did want to say have more friendly local network addresses (the vast vast majority of human memorized IP addresses), then technically you could have fd::1, fd::2, fd::3, and those would all work and be super easy to remember (the ULA RFC says you are supposed to toss in 40 bits of random for good reason, but if you were using 10.0.0.1 style addresses, you would be no worse off with fd::1, fd::2, etc). You can even trivially have them live alongside ‘real’ global IP addresses, but ignore them whenever you want to just hand type a local IP address. You can even have something like a hex DNS. fd::f00d, fd::beef, fd::d00d, and so many more for your pleasure.

          There’s more features in IPv6 but you can ignore them since they are mostly for the machines to wrangle (the fe80:: addresses for example).

    • Ernest@lemmy.zip
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 day ago

      I saw the RFC for IPv8 recently

      nitpick, but I would say “an RFC”, as there’s been a number of these over the years


      you’ve gotten a couple responses so far, but I think the central issue is that “complexity” isn’t the problem with IPv6 (and one could certainly argue that IPv6 is actually simpler)–the problem is compatibility. This article lays out the issue very well, and also links to this article (which is a more specific look at the IPv8 proposal you refer to). Both point to the same conclusion, which is that fundamentally–on first principles–existing hardware does not know how to handle the upgrade, which will require some sort of dual-stacking, which is the issue IPv6 currently has. (Not its technical merit.)

      • ShredderFeeder@shredderfood.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        True, good point. AN RFC…

        To be fair, I never got IPV6… was too confusing. I’ve always been able to rattle off IPv4 addresses in my sleep. IPV6 just wasn’t as natural.