Showing results for 
Search instead for 
Did you mean: 

DHCP and lease mechanism?

Frequent Contributor
Frequent Contributor

let us say I have a dhcp server on my switch and I set the lease to 1 day , what happens exactly when the lease expire for the user pc? does the switch contact the pc and tell it to release the ip and then the switch remove the binding? or is it originally that the pc is told to keep the ip for 1 day then it will release it?


VIP Guru VIP Guru
VIP Guru

If the lease expires, if the devices are still online - the end device auto-renew with the same IP address.

if the device is not connected, the lease expired and IP released for the next device will be allocated that IP.


Note: in the case of static IP reservation is a different case.



***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Frequent Contributor
Frequent Contributor

so when the lease expire the switch will try to ping the leased device to check if it is online?

Kasun Bandara
VIP Advocate VIP Advocate
VIP Advocate

PC will ask from switch to renew IP when lease is expiring. if PC didnot renewed it even after expiration time, switch will release that to another PC.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck

so always the pc will ask the switch to renew not the other way around? any idea what port and protocol is used?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: