How to Convert Hexadecimal to Decimal?
In previous post on IP Header Analysis, we know that we can analyze the datagram more throughly by using the hexadecimal dump option. And now, we are going to look on how we can convert hexadecimal to decimal BY HAND.
Let’s take the same example in previous post… Source IP Address : c0a8 0d14. What does it represent?
Based on the conversion table above, the calculation is as follow:
So now we know that the source IP address is 192.168.13.20. Correct?
Let’s compare with the standard WinDump output:
03:19:38.413592 IP 192.168.13.20 > 192.168.13.47: ICMP echo request, id 43, seq 40150, length 24
There are many automated converter out there which can really ease your job (this is the one I use most often). My intention of sharing this is just to let you know and understand the theory behind this hex-dec conversion. Enjoy!

