Technical Tip: FortiGate DHCP option 43 configuration for Cisco and Ubiquiti units
Description
This article describes the format for DHCP option 43 to specify while the FortiGate is configured as a DHCP server.
Related documents:
RFC 2132: DHCP Options and BOOTP Vendor Extensions (rfc-editor.org)
Configuring DHCP Option 43 (cisco.com)
UniFi - Layer 3 Adoption for Remote UniFi Network Applications – Ubiquiti Support and Help Center
Scope
FortiGate.
Solution
If the FortiGate is configured as a DHCP server, the following can be used to configure option 43 (Vendor Specific Information) for devices like Ubiquiti or Cisco.
For example, if the controller has the IP address 192.0.2.1, the configuration will look like:
For Ubiquiti in CLI
config system dhcp server
edit 1
config options
edit 1
set code 43
set type hex
set value 0104c0000201
end
In the GUI, go under Interface -> DHCP server -> Add DHCP options.

For Cisco in CLI:
config system dhcp server
edit 1
config options
edit 1
set code 43
set type hex
set value f104c0000201
end
In GUI, go under Interface -> DHCP server -> Add DHCP options:

In this example, c0000201 is the hexadecimal value of the IP address 192.0.2.1.
Related article:
