Hi,
I have a little question, I'm replacing a Cisco router with a Fortigate 300 D, I need to configure some DHCP servers, but a couple of networks are voice networks. That is why I need to activate option 150, I've done it before with FortiOS 5.0 and FortiOS 5.2 like this example:
onfig system dhcp server edit 3 set forticlient-on-net-status disable set default-gateway 10.15.x.x set netmask 255.255.255.0 set interface "port36" config ip-range edit 1 set start-ip 10.15.x.x set end-ip 10.15.x.x next end set timezone-option default set option1 150 'IP HEX OF MY ' set dns-server1 X.X.X.X set dns-server2 X.X.X.X set netmask X.X.X.X next end Now the option 150 doesn't appear, does anybody know how to do it in 5.4? Thanks a lot.
Regards
They changed the CLI for DHCP options with 5.4 because they added string and IP ub addition to hex now. It's now in a sub-section just like ip-range. Yet I have to test it myself but it would look like below and likely(hopefully) a correct way. Please let us know if it worked.
config dhcp server
edit 1
<snip>
config options
edit 1
set code 150
set type ip <- if it's an IP. you can try string for URL (then change the next line to "set value")
set ip "x.x.x.x"
next
next
end
Hi Toshi,
It worked fine!!!, Thanks a lot.
Regards
Thank you for letting us know. You must have figured out my typo :)
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1108 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.