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.

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago (5 children)

I don't get it, the first octet (?) max is 256.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 20 points 1 year 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.

  • source
  • parent
  • [–] 4 points 1 year ago (1 child)

    Yes, in octal notation. You can express an IP using other bases.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year 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.

  • source
  • parent