The Shortest IPv6 Addresses

(ache.one)

37 points | by zdw 2 days ago ago

22 comments

  • mrheosuper 2 days ago

    I think one of the reason that slow down ipv6 adoption is how long the address is.

    It takes me 5 seconds to say and remember ipv4 out loud, with ipv6, i have to go back and front multiple times just to remember, also you have to remember the separator(: and ::)

    • AKSF_Ackermann 2 days ago

      The full ipv6 addresses are kinda clunky and almost impossible to remember, but it does not seem like that much of a problem in practice. Like, where do you need to use a numerical ip - internal networks? - give your machines fd00::1, fd00::2, and so on, yes, it is technically not quite how it is supposed to be used, but it is your internal network and your rules. Initial dns configuration? - yes, someone should register the equivalent of 1.1.1.1, that one is missing.

      • chownie 2 days ago

        The more I read about how people put ipv6 to work in practice, the less shocked I am that it's a glacially slow rollout for domestic connections. "We'll do this but it's not how it's supposed to be used" seems to crop up a concerning amount.

    • orangeboats 2 days ago

      At this point I am tired of writing a detailed comment, but a shorter IPng was considered and rejected for a reason.

      People really, really, really don't use IP literals that often. DNS exists.

      • everdrive 2 days ago

        The only place I assign IPs is in my home network, or in virtual networks. In both cases, I need to work directly with the addresses, and IPv6's complexity here makes it worse and benefits nothing.

        • unethical_ban 12 hours ago

          I'm re-architecting my network soon, but I think if you use Pi-hole as DHCP and DNS server, you get automatic entries for dynamic hosts. My plan is to have static IPs only for my VM hosts and DNS, and everything else be DHCP with static reservations when they spin up.

      • hbcdbff 2 days ago

        > People really, really, really don't use IP literals that often

        Really? I use, and even more visually compare/subconsciously remember, IP literals very often.

      • chownie 2 days ago

        Considered and rejected with poor reasoning imo. People don't use IP literals often, but when you do need them it usually involves more than one address entered multiple times, sort of the exact scenario where making it easier to remember is better.

        The computer can think about the address any way it wants, I have to enter the literal by keyboard manually when I want it, if they aren't designing the literal with humans in mind they're starting off wrong, no?

        • Dagger2 2 days ago

          They did design it with humans in mind -- that's why it's in hex and why you can write only the start+end of the address, with the omitted middle being filled with zeros, for when you don't need the full 128 bits.

          Shorter addresses were rejected because they were too short. Looking at how hard it's been to upgrade from v4 to v6 it should be obvious that we really don't want to aim too low and have to do another upgrade.

          • chownie 2 days ago

            > They did design it with humans in mind -- that's why it's in hex and why you can write only the start+end of the address, with the omitted middle being filled with zeros, for when you don't need the full 128 bits.

            I would actually put ipv6's truncation rules as a point against human usability, the rules are weird and not at all intuitive. Am I expected to spot the format and go "Ah yeah of course, I truncate the largest left-most patch of zeroes and I can only do this once per address"? -- very human.

            • Dagger2 2 days ago

              The rules are easy enough: the address is split in two at the "::", and the part on the left goes at the start of the IP while the part on the right goes at the end.

              There is no intuitive human way of telling trillions of devices apart from each other, especially when it also needs to be efficient both to allocate and for computers to route. Spend the 30 seconds learning this; it's not difficult at all.

              • wpm 16 hours ago

                Ah yes the IPv6 booster "just spend 30 seconds learning this, implying to you can't you're just a big fucking idiot, I learned it in 30 seconds! What's wrong with you?!"

        • orangeboats 2 days ago

          IPv4 or IPv6, I think it is pretty clear that 99.999% of the time people (this includes grandpas and grandmas) are not typing IP literals manually, no?

          Optimizing the easy typing/pronunciation of literals -- which is something done by a very small population of Internet users overall -- over long term scalability of the Internet does not seem very wise.

          Here I am assuming that easy typing is roughly equivalent to shorter IP address length, since that's usually what typical HN "I want a better IPng" discourses like to suggest anyway.

          Speaking of that, you can't really get much shorter than 64 bits, because I'd wager that the current IPv6 internet would immediately overwhelm a 48-bit IP.

          • chownie 2 days ago

            The literals exist for the purpose of us being able to type them and pronounce them out loud, the computer can work with literally any representation and it doesn't matter.

            > Here I am assuming that easy typing is roughly equivalent to shorter IP address length, since that's usually what typical HN "I want a better IPng" discourses like to suggest anyway.

            The topic is that they should be easier to remember, I don't know which discussion that came from since it's not quoting me but maybe it applies.

      • massysett 2 days ago

        I went into Google and searched for a webpage I can link to every time these same old excuses come up. This doesn't quite do it but made me chuckle:

        https://ipv6bingo.com

    • _ache_ 2 days ago

      It shouldn't be. We don't remember IPv4 often, we rely on DNS mostly.

      • x1watt 2 days ago

        Network admins shed a tear while reading this.

        But seriously, it is nowadays still very necessary for LAN and reaching servers without need for a domain.

        • RiverCrochet 2 days ago

          Network admins A) stuck in the 90's or B) being forced to deal with 90's era software shed a tear while reading this.

          Case B is unfortunately a strong reality, particularly with U.S. medical software and network setups I think.

    • RiverCrochet 2 days ago

      Skill issue. Use fd00::1/64 on your LAN if you want. /etc/hosts still exists, dnsmasq isn't that hard to setup, mdns/avahi-daemon/Bonjour are a thing, and all of those work great with IPv6.

  • jsmith99 2 days ago

    Cogent own and respond to 2600:: ? That must be deliberate.

    • _ache_ 2 days ago

      I don't know if it is deliberate but they respond to https://[2600::]/ 302 => https://[2600::]/en/ and the certificate does not include [2600::] as an alternative domain name.

    • nticompass 2 days ago

      If I remember correctly [2600::] used to be owned by Sprint and just went to their website.