Skip to main content
Mohamed_Gaber
Explorer III
December 26, 2012
Question

How to find DHCP Options Hex value

  • December 26, 2012
  • 2 replies
  • 8934 views
I' m confused. To convert an IP address to Hex value to be added as DHCP option. Should I use Ascii to Hex converter or Decimal to Hex converter and convert the bytes? They give different results.

    2 replies

    ipranger
    New Member
    December 26, 2012

    Yes, i like this problem. I hope i can help you with this: https://forum.fortinet.com/FindPost/91209 Greetings IPranger

    Mohamed_Gaber
    Explorer III
    December 27, 2012
    Thank You ipranger. I just read this before writing the post. They sometimes use calculator and sometimes use Ascii to Hex. I used the calculator before and it did not work. It seems that I have to try.
    Mohamed_Gaber
    Explorer III
    January 8, 2013
    I tested it and found that: 1- We should use ASCI to Hexadecimal converter. Not Decimal to Hexadecimal converter. So, we could not use Windows Calculator. 2- We should convert the complete data including the dots between the numbers. 3- For AVAYA 1608 IP Phones we should convert the word, MCIPADD=X.X.X.X from ASCI to Hexadecimal. And use it for option 242. 4- Here is a useful site. I tried three sites but this is the best because it provides the data with no dots or space between the values. http://tomeko.net/online_tools/hex_to_ascii.php?lang=en