FortiGate DHCP Server and Relay on SVI
Hello
Is it possible for a FortiGate to both act as the DHCP server and relay?
The reason I would want this is because I have a NAC solution that would use the relay information to profiling the endpoint and the endpoint also needs to get an IP address from the FortiGate DHCP server.
I have tested this in a Lab, but I am getting this error:
FORTINET-FW (CISCO-CORP-LAN) # set dhcp-relay-service enable
FORTINET-FW (CISCO-CORP-LAN) # set dhcp-relay-ip 10.0.1.51
FORTINET-FW (CISCO-CORP-LAN) # set dhcp-relay-agent-option enable
FORTINET-FW (CISCO-CORP-LAN) # show
config system interface
edit "CISCO-CORP-LAN"
set vdom "root"
set dhcp-relay-service enable
set ip 10.100.100.1 255.255.255.0
set allowaccess ping
set device-identification enable
set role lan
set snmp-index 7
set dhcp-relay-ip "10.0.1.51"
set interface "port4"
set vlanid 100
next
end
FORTINET-FW (CISCO-CORP-LAN) # next
dhcp server 2 of type Ethernet already exists on this interface, cannot add relay!
object set operator error, -76 discard the setting
Command fail. Return code 1
config system dhcp server
edit 2
set dns-service default
set default-gateway 10.100.100.1
set netmask 255.255.255.0
set interface "CISCO-CORP-LAN"
config ip-range
edit 1
set start-ip 10.100.100.50
set end-ip 10.100.100.254
next
end
next
Regards
