Created on
05-26-2025
04:34 AM
Edited on
06-03-2025
12:14 AM
By
Jean-Philippe_P
Description | This article describes how to verify that the DHCP-leased IP address has been updated. |
Scope | FortiGate. |
Solution |
When the FortiGate interface mode is configured as DHCP, the interface will be the DHCP client, and after reaching the DHCP lease time, FortiGate will send the DHCP request message to the server for renewal of the IP.
Run the following DHCP debugs when FortiGate acts as a client to viewthe DHCP request message:
diagnose debug reset
To stop the debug processes in the end, press Ctrl + C and enter 'diagnose debug disable'.
DHCP request to renew the IP address:
2025-05-26 04:07:28 timer 0xe6d3b40(bind_lease -> state_renewing) will expire in 1 secs
After getting the DHCP acknowledgment, FortiGate will perform the gracious ARP and continue to use the same IP for the interface.
2025-05-26 04:07:29 ###############3Receive packet: 2025-05-26 04:07:29 Ack: expiry 600 secs renew: 300 secs rebind: 450 secs
====================================================================
FortiGate will generate a log with the log description 'DHCP client lease granted', which provides information regarding the DHCP IP renewal.
date=2025-05-26 time=04:12:34 eventtime=1748257953738633912 tz="-0700" logid="0100026004" type="event" subtype="system" level="information" vd="root" logdesc="DHCP client lease granted" msg="interface port1 gets a DHCP lease, ip:192.168.181.136, mask:255.255.255.0, gateway:192.168.181.2, lease expires:Mon May 26 04:22:29 2025"
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.