←back to thread

1895 points _l4jh | 1 comments | | HN request time: 0.001s | source
Show context
DyslexicAtheist ◴[] No.16728255[source]
TIL you can also use 1.1 and it will expand to 1.0.0.1

  $> ping 1.1

  PING 1.1 (1.0.0.1) 56(84) bytes of data.
  64 bytes from 1.0.0.1: icmp_seq=1 ttl=55 time=28.3 ms
  64 bytes from 1.0.0.1: icmp_seq=2 ttl=55 time=33.0 ms
  64 bytes from 1.0.0.1: icmp_seq=3 ttl=55 time=43.6 ms
  64 bytes from 1.0.0.1: icmp_seq=4 ttl=55 time=41.7 ms
  64 bytes from 1.0.0.1: icmp_seq=5 ttl=55 time=56.5 ms
  64 bytes from 1.0.0.1: icmp_seq=6 ttl=55 time=38.4 ms
  64 bytes from 1.0.0.1: icmp_seq=7 ttl=55 time=34.8 ms
  64 bytes from 1.0.0.1: icmp_seq=8 ttl=55 time=45.7 ms
  64 bytes from 1.0.0.1: icmp_seq=9 ttl=55 time=45.2 ms
  64 bytes from 1.0.0.1: icmp_seq=10 ttl=55 time=43.1 ms
replies(5): >>16728294 #>>16728342 #>>16728382 #>>16728420 #>>16729271 #
tux3 ◴[] No.16728294[source]
You can also use the decimal value of the IP, without the dots: https://16843009
replies(2): >>16728349 #>>16728998 #
discreditable ◴[] No.16728998[source]
Hex works too: https://0x1010101
replies(2): >>16729117 #>>16729533 #
notamy ◴[] No.16729117[source]
Sadly, binary / octal don't work: https://0b1000000010000000100000001 / https://0o100200401
replies(1): >>16729148 #
jhanschoo ◴[] No.16729148[source]
Octal works, with the older 0-prefix convention: https://0100200401
replies(1): >>16740445 #
1. notamy ◴[] No.16740445{3}[source]
Ah, I had completely forgotten about that. Thanks!