How to Release DHCP-Assigned Addresses from a DHCP Server

How to Release DHCP-Assigned Addresses from a DHCP Server

193285
Created On 09/26/18 13:48 PM - Last Modified 06/07/23 02:38 AM


Resolution


Overview

This document describes how to release IP address reservations for a DHCP server configured on a Palo Alto Networks Firewall. We assume you have already configured a DHCP server and are attempting to release assigned addresses. To set up a DCHP server service for the first time, see the following article: How to Configure DHCP Reserved Addresses on a Palo Alto Networks Firewall.

 

Steps

  1. Go to Network > DHCP > DHCP Server
  2. To view addresses assigned by the DCHP server configured on the firewall, click "View Allocation" under the IP Pools column for the DHCP service you've set up.
    2016-05-03_16-24-41.pngView Allocation
  3. A window will appear showing a list of DHCP Server IP Address Allocations:

    2016-05-03_16-27-24.pngIP Pools Allocated
  1. To release the DHCP assigned address, use the following CLI command: clear dhcp lease interface <ethernet interface> ip <ip-address>. In the example below, we will clear the 10.192.16.163 address shown above :
    > clear dhcp lease interface ethernet1/1 ip 10.192.16.163
    > 
    > Cleared 1 leases.
    
    Note: The DHCP lease can also be cleared by mac address.

     
  2. Confirm the release by returning to the DHCP server screen and viewing the allocated addresses again, as in Step 2 above.
    2016-05-03_16-34-22.pngIP Pools Allocated 2

 

On the CLI

The IP address of a DHCP assigned interface can be renewed and released using the following commands:

> request dhcp client release ethernet1/1
Initiated DHCP RELEASE on interface:ethernet1/1
> request dhcp client renew ethernet1/1
Initiated DHCP RENEW on interface :ethernet1/1

 

owner: spolo



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClpyCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language