Recently I saw an incorrectly typed telnet command, and I saw that "regular" numbers were interpreted to IP addresses. I tried this myself in Windows and the same behavior is shown there, so obviously this is an acceptable way of typing IP addresses. I'm just wondering if someone can explain how this works, and if there are any real world applications for it (i.e. when would this way be better/simpler?).
I seem to see a pattern here but I still can't quite figure out why you would ever type addresses this way:
>ping 255
Pinging 0.0.0.255 with 32 bytes of data:
PING: transmit failed. General failure.
>ping 256
Pinging 0.0.1.0 with 32 bytes of data:
PING: transmit failed. General failure.
>ping 257
Pinging 0.0.1.1 with 32 bytes of data:
PING: transmit failed. General failure.
>ping 16581375
Pinging 0.253.2.255 with 32 bytes of data:
>ping 1658137511
Pinging 98.213.43.167 with 32 bytes of data:
Reply from 98.213.43.167: bytes=32 time=170ms TTL=47