cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1029
Views
15
Helpful
5
Replies

DHCP and lease mechanism?

baselzind
Level 6
Level 6

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?

1 Accepted Solution
5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

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.

 

BB

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

How to Ask The Cisco Community for Help

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

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
KB

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

Review Cisco Networking for a $25 gift card