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
SuperUser
SuperUser

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

@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

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

I might have confused you but ede_pfau is correct.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors