For those who want to try it at home:

ping 33333333
ping 55555555

I am sorry, two random Internet users in Korea and Germany, your IP addresses are simply special.

    • Treczoks@lemmy.world
      cake
      link
      fedilink
      arrow-up
      19
      ·
      1 day ago

      Yes, but you can write it in different ways. If the numeric string contains a dot, left of it must be between 0 and 255, and is put in the highest byte of the address. If the rest also contains a dot, repeat, but put it into the second highest byte.

      BUT: if the string does not contain a dot, the number is put into the remaining bytes.

      So 123.256 is a valid address. The 123 goes into the top byte, the 256 goes into the remaining three bytes, so the address would be 123.0.1.0.

      Most common example is 127.1, which is short for 127.0.0.1 - the localhost address.

      • Treczoks@lemmy.world
        cake
        link
        fedilink
        arrow-up
        2
        ·
        60 minutes ago

        In nearly forty-ish years on the internet (yes, I was around before the web), I have not seen someone expressing an internet address in octal (before this discussion), although I remember that it is legal. Using hex, yes, but not octal.

    • remotelove@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      255

      Small correction, but an important one: 0 is a number too.

      In terms of IP masking and broadcast addresses, the max is 255.255.255.255

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

        Oof of course. 256 entries from 0 - 255.

        It’s been a long long time since my ccent