Ask Your Question

Ping Command showing absurd reply.

asked 2016-11-23 07:22:39 -0500

Prasun gravatar image


i have came across a strange issue and i am unable to find any answer in google also. Please help me understand if anyone can.

First Trying pinging this number

~# ping 20383889 PING 20383889 ( 56(84) bytes of data. 64 bytes from icmp_seq=1 ttl=50 time=170 ms 64 bytes from icmp_seq=2 ttl=50 time=169 ms

This command showing reply.

Even if you try with your mobile number you get a Ip resolving may be not pinging.

i cant understand how pinging a number gives reply.

Awaiting for help..


edit retag flag offensive close merge delete


ping is always supposed to give a reply!

fujisan gravatar imagefujisan ( 2016-11-23 14:42:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-23 13:52:41 -0500

sideburns gravatar image

That's a very interesting question, and a highly counter-intuitive result. I'm not an expert on things like this, but if memory serves, if you put ping's argument in decimal, as you did, it gets translated into hex (After all, regular IPv4 addresses are just decimal representations of four hex bytes.) and if it forms a possible IP address, it gets used. In your case, it appears to be a machine somewhere in Hanoi. Judging from a few tests, it seems to need at least eight digits (USA numbers are seven unless you add the three digit area code.). Congratulations! You've just discovered a new Silly Linux Trick.

edit flag offensive delete link more



Indeed 20383889 = 0x013708910x01.0x37.0x08.0x91 =

fcomida gravatar imagefcomida ( 2016-11-23 18:53:58 -0500 )edit

Question Tools

1 follower


Asked: 2016-11-23 07:22:39 -0500

Seen: 45 times

Last updated: Nov 23 '16