Comment by orangeboats

1 day ago

>Eg 192.168.0.1 becomes 0.0.0.0.192.168.0.1

How is this different from ::192.168.0.1? :)

I can read one at a glance and the other makes me fill in the blanks myself after having to count how many invisible blanks I need to fill in.

Of all the sins of IPv6, its tied between using ':' as the separator, and the god awful '::' "just skip writing the address because we made them too fucking big lol"

Wouldn't have been a problem if they hadn't given every square millimeter of the planet 100 billion addresses.

  • You are telling me ::192.168.0.1 is not immediately visible as 16-4 bytes?

    Fine, let's change the question.

    Without counting, how many zeroes are there in 192.168.0.0.0.0.0.1?

    • You don't need 192.168.0.0.0.0.0.1. 40 bits covers the world easily, like 1.2.3.4.5. This doesn't mean the field has to be only 40 bits, could be 128 and you don't write the trailing 0s. Of course this means no SLAAC.

      But I don't get why the other commenter was proposing putting the 0s at the beginning instead of the end. Shouldn't the new address space be under the existing subnets?

  • > I can read one at a glance and the other makes me fill in the blanks myself after having to count how many invisible blanks I need to fill in.

    The protocol chosen for IPng, SIPP, did actually have "only" 64 bits, but this was deemed not enough as folks did not want to have to worry about running out again (amongst other reasons), and so tweaked it to have a fixed 128 bits:

    * https://datatracker.ietf.org/doc/html/rfc1752

    SIPP originally was variable-length capable, but it was decided fixed-length was better (e.g., for hardware like ASICs).

    > Wouldn't have been a problem if they hadn't given every square millimeter of the planet 100 billion addresses.

    For the record: IPv6 gives 10¹⁷ addresses per mm²; in terms of volume, 10⁸ IPv6 addresses per mm³ throughout the Earth.

    • You're right, my 100B per square millimeter undershot by six orders of magnitude.

      I woulda thought 18 quintillion would've been enough addresses for the next century or two but good thing we locked in all this extra data we throw away with a '::'.

      I'm sure it was all well considered by intelligent people, but it was still a dumb decision.

      2 replies →

  • My blog's hosted on either 3106689564 or 42540619367231808600192856535952785520 depending on your addressing scheme.

    See, no colons in sight!