FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
kajlasunil
Staff
Staff
Article Id 378620
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:

 

DHCP.PNG

 

After:

This configuration will not disable the DHCP server on the FortiGate and must delete the DHCP configuration in the CLI.

 

relay.PNG

 

RELAY_IP.PNG

 

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)
   delete 6
end