Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Mohamed Gaber
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Mohamed GaberCell : +201001615878E-mail : mohamed.gaber@alkancit.com
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, i like this problem. I hope i can help you with this: https://forum.fortinet.com/FindPost/91209 Greetings IPranger
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Mohamed GaberCell : +201001615878E-mail : mohamed.gaber@alkancit.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Mohamed Gaber
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Mohamed GaberCell : +201001615878E-mail : mohamed.gaber@alkancit.com
![](/skins/images/03B6F9D09B0B73D4E0068FD5D5412A2D/responsive_peak/images/icon_anonymous_message.png)