Pinging different IP address than what I entered [duplicate]
Can anyone please explain why CMD pings a different IP address than the one I am searching for?
Solution 1:
On Windows CMD if you put leading zeros on the IP address means octal.
It is interpreting 016
as 16 octal
and converts it to 14 decimal
.
You can use octal, decimal or hexadecimal notation as in the following example:
22.101.31.153 (decimal)
026.0145.037.0231 (octal)
0x16.0x65.0xF1.0x99 (hexadecimal)