| Description | This article describes the issue where clients are receiving DHCP leases from FortiGate despite the relay agent being configured. |
| Scope | FortiOS. |
| Solution |
The FortiGate was initially configured to provide DHCP leases to internal clients. However, it was later reconfigured to relay requests to an external DHCP server.
Before:
After: This configuration will not disable the DHCP server on the FortiGate and must delete the DHCP configuration in the CLI.
FGT # config system DHCP server FGT (server) # sh config system dhcp server edit 6 set dns-service local set default-gateway 192.168.11.1 set netmask 255.255.255.0 set interface "VM" config ip-range edit 1 set start-ip 192.168.11.2 set end-ip 192.168.11.254 next end next end
To delete the DHCP lease use the following command:
FGT (server) |
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 2026 Fortinet, Inc. All Rights Reserved.