Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Translate IP Address

Status
Not open for further replies.

db2nt

Technical User
Mar 26, 2003
6
US
I have an IP address in hex, AC10150C and it's suppose to translate to 172.16.21.12. Can somebody show me how it was done ??? Thanks
 
AC10150C (HEX) = 10101100000100000001010100001100 (BINARY)

10101100000100000001010100001100 (BINARY) = 10101100 00010000 00010101 00001100 (BINARY)

10101100 00010000 00010101 00001100 (BINARY) = 172 16 21 12 (DECIMAL)
 
Alternately:

AC10150C (HEX) = AC 10 15 0C (HEX)
AC 10 15 0C (HEX) = 172 16 21 12 (DECIMAL)
 
Thank you very much Serbtastic, the alternative solution was so simple, I never imagined it that simple. Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top