Description |
This article describes how to disable DHCP lease time in FortiGate CLI. Disabling lease time will result in clients having an unlimited lease duration. |
Scope |
FortiOS. |
Solution |
DHCP lease time is the duration for which a DHCP server assigns an IP address to a client. Once the lease time expires, the IP address is released and can be reassigned to another client. The lease time is measured in seconds and can be configured on the DHCP server. In FortiGate, the default lease time is seven days (604800 seconds), but it can be adjusted as needed.
config system dhcp server edit 1 set lease-time 0 end
Verify the lease time is disabled in the GUI:
Related article: |
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 2025 Fortinet, Inc. All Rights Reserved.