Technical Tip: How to configure more than one DHCP relay IP on a FortiGate unit
This article explains how to specify more than one DHCP relay IP, to allow for the coverage of additional LAN subnets.
It is possible to set up to 8 IPs from the CLI. This option is also available on GUI since version 5.4.
For versions before V5.4:
To specify more than one IP for DHCP relay, run from CLI:
#config system interface
set dhcp-relay-ip <FIRST_IP> <SECOND_IP> ....<EIGHTH_IP>
#config system interfaceNote: The WebUI will show only 1 IP. The rest of the configuration can be viewed only from CLI.
set dhcp-relay-ip 18.104.22.168 22.214.171.124 126.96.36.199
FGT# show system interface dmz
config system interface
set vdom "root"
set dhcp-relay-ip "188.8.131.52" "184.108.40.206" "220.127.116.11"
set type physical
For versions V5.4 and above:
Go to Network -> Interfaces -> Interface_NAME
#FGT # config system interface
FGT (interface) # edit port2
FGT (port2) # set dhcp-relay-service enable
FGT (port2) # set dhcp-relay-ip 18.104.22.168 22.214.171.124 126.96.36.199
Last Modified Date: 10-07-2019 Document ID: FD32185