A lease is defined as the time period for which a DHCP server allocates a network address to a client. The lease might be extended (renewed) upon subsequent requests. If the client no longer needs the address, it can release the address back to the server before the lease is up. The server is then free to assign that address to a different client if it has run out of unassigned addresses.
The lease period configured for a DHCP server applies to all of the addresses that a single DHCP server (interface) dynamically assigns to its clients. That is, all of that interface’s addresses assigned dynamically are of
Unlimitedduration or have the same
Timeoutvalue. A different DHCP server configured on the firewall may have a different lease term for its clients. A
Reserved Addressis a static address allocation and is not subject to the lease terms.
Per the DHCP standard, RFC 2131, a DHCP client does not wait for its lease to expire, because it risks getting a new address assigned to it. Instead, when a DHCP client reaches the halfway point of its lease period, it attempts to extend its lease so that it retains the same IP address. Thus, the lease duration is like a sliding window.
Typically if an IP address was assigned to a device, the device was subsequently taken off the network and its lease was not extended, the DHCP server will let that lease run out. Because the client is gone from the network and no longer needs the address, the lease duration in the server is reached and the lease is in “Expired” state.
The firewall has a hold timer that prevents the expired IP address from being reassigned immediately. This behavior temporarily reserves the address for the device in case it comes back onto the network. But if the address pool runs out of addresses, the server re-allocates this expired address before the hold timer expires. Expired addresses are cleared automatically as the systems needs more addresses or when the hold timer releases them.
In the CLI, use the
show dhcp server leaseoperational command to view lease information about the allocated IP addresses. If you don’t want to wait for expired leases to be released automatically, you can use the
clear dhcp lease interfacecommand to clear expired leases, making those addresses available in the pool again. You can use the
clear dhcp lease interfacecommand to release a particular IP address. Use the
clear dhcp lease interfacecommand to release a particular MAC address.
Clear DHCP Leases
Clear DHCP Leases You have several options for clearing DHCP leases. Release expired DHCP Leases of an interface (server), such as ethernet1/2, before the hold ...
DHCP Address Allocation Methods
DHCP Address Allocation Methods There are three ways that a DHCP server either assigns or sends an IP address to a client: Automatic allocation —The ...
View DHCP Server Information
View DHCP Server Information Perform this task to view DHCP pool statistics, IP addresses the DHCP server has assigned, the corresponding MAC address, state and ...
DHCP Addressing There are three ways that a DHCP server either assigns or sends an IP address to a client: Automatic allocation —The DHCP server ...
Monitor and Troubleshoot DHCP
Monitor and Troubleshoot DHCP You can view the status of dynamic address leases that your DHCP server has assigned or that your DHCP client has ...
DHCP Server Network > DHCP > DHCP Server The following section describes each component of the DHCP server. Before you configure a DHCP server, you ...
Configure the Management Interface as a DHCP Client
Configure the Management Interface as a DHCP Client The management interface on the firewall supports DHCP client for IPv4, which allows the management interface to ...
DHCP Messages DHCP uses eight standard message types, which are identified by an option type number in the DHCP message. For example, when a client ...