Cisco stores IP addresses in a reverse hexadecimal format which is not easily converted back to the dotted decimal format that we expect to see. To convert between reverse hexadecimal and dotted decimal and back enter an IP address below in either format and press the Convert button to have it changed into the other format.



How do you manually convert these IP addresses?


Dotted Decimal to Hexadecimal
Let's use the example of 192.168.0.1 first break the IP address up into it's individual octets and convert each one into a hexadecimal number:

192 becomes C0
168 becomes A8
0 becomes 00
1 becomes 01

Now reverse the order of the octets and concatenate them into a single hexadecimal number: 0100ABC0.

Hexadecimal to Dotted Decimal
To go the other direction we just perform the opposite steps. First break the eight digit hexadecimal string into four two digit hexadecimal numbers. Let's use the example of 0514640A:

05 becomes 5
14 becomes 20
64 becomes 100
0A becomes 10

As before the octets have to be reversed so the IP address becomes 10.100.20.5 once the are concatenated and dotted.