hello
I want to configure the DHCP server of my 80F firewall, for this purpose I need to set options 60, 66 and 67,especially for options 67 I can't set it via the web interface, it recamnds me to use the CLI console.
i followed this technical tips
Technical Tip: Configure DHCP option 60, 66 and 67... - Fortinet Community
But when I run a command bellow a get "Attribute 'interface' MUST be set." and "Command fail. Return code -56",
config system dhcp server
edit <>
set filename {string}
next
end
how and where to set the interface attribute, I tried with set interface "interface_name" ? but it doesn't work
Solved! Go to Solution.
So I guess you should edit the 3rd, like this:
config system dhcp server
edit 3
...
Hello
It is the interface on which this DHCP server config will run.
The easiest is to configure it via GUI then go to CLI, there you will find the configuration ready, then just add what you need to add via CLI.
Created on 02-19-2024 01:27 AM Edited on 02-19-2024 01:31 AM
yes the interface is UP and running, with GUI, and th DHCP is ready, when I try to set option 67, i have a warning, with CLI it tell me to set interface attribute
This option may not function correctly. It should be set using the CLI attribute: filename.
Bellow my console commande suit
Fortigate # config system dhcp server
Fortigate (server) #
Fortigate (server) # edit 1
new entry '1' added
Fortigate (1) #
Fortigate (1) # set filename "E:\\RemoteInstall\\Boot\\x64\\wdsnbp.com"
Fortigate (1) #
Fortigate (1) # next
Attribute 'interface' MUST be set.
Command fail. Return code 1
Fortigate (server) #
Fortigate (server) # end
Please share this output:
show system dhcp server
the output is
Fortigate # show system dhcp server
config system dhcp server
edit 2
set ntp-service local
set default-gateway 169.254.1.1
set netmask 255.255.255.0
set interface "fortilink"
config ip-range
edit 1
set start-ip 169.254.1.2
set end-ip 169.254.1.254
next
end
set vci-match enable
set vci-string "FortiSwitch" "FortiExtender"
next
edit 3
set dns-service default
set default-gateway 192.168.1.1
set netmask 255.255.255.0
set interface "internal"
config ip-range
edit 1
set start-ip 192.168.1.20
set end-ip 192.168.1.160
next
end
next
end
Fortigate #
So I guess you should edit the 3rd, like this:
config system dhcp server
edit 3
...
yes it's work i editing th wrong one, I'm new in the fortigate world
thank's for help
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.