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

How to find DHCP Options Hex value

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.

    3 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
    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT