Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
reiyun
New Contributor

[Q] DHCP Server Option 150

Hi, there.

 

I'm preparing to set the "option 150" settings as follows..

 

Are both the correct commands?

 

TFTP Server 1 - 10.10.10.1.

TFTP Server 2 - 10.10.10.2

 

ex)1 config system dhcp server    edit 1       set option1 150 '0A0A0A0A010A0A0A0A02'    next end

 

ex2) config system dhcp server    edit 1       set option1 150 '0A0A0A0A01'       set option2 150 '0A0A0A0A02'    next end

 

I think the first command is correct. What do you think?

 

Thanks.

4 REPLIES 4
Toshi_Esumi
Esteemed Contributor III

You're misunderstanding the "value" you need to translate into HEX for option 150. See below thread:

https://forum.fortinet.com/tm.aspx?m=131937

 

ede_pfau
Esteemed Contributor III

@reiyun: both code lines are incorrect...try

   set option1 150 '0a0a0a01'
   set option2 150 '0a0a0a02'
It's only 4 bytes, not 5...


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Toshi_Esumi
Esteemed Contributor III

As I posted based on my experience with Cisco, or other, IP phones, they take binary with option 150. Not dotted-decimal notation.

 

Toshi_Esumi
Esteemed Contributor III

I might have confused you but ede_pfau is correct.

Labels
Top Kudoed Authors