We help IT Professionals succeed at work.

Cisco Router - How to force a client dhcp address to release

WVCA asked

I had to expand our excluded-address to include 5 more ip's that I don't want given out via DHCP.  The problem is client (windows laptop) currently has one of the ip's that I added to the excluded range and I need to free it up.

Here is the code for what I did in case that might help...

no ip dhcp excluded-address

ip dhcp excluded-address

#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name       0100.215c.1701.7d       Jun 12 2010 07:35 AM    Automatic       0100.1c25.bc0c.5e       Jun 12 2010 12:03 PM    Automatic       0100.216b.3549.32       Jun 12 2010 08:12 AM    Automatic       0100.166f.89c1.eb       Jun 12 2010 07:40 AM    Automatic       0100.215a.e9b7.36       Jun 12 2010 11:23 AM    Automatic

I need to release .20 because it needs assigned via static to another device.  How can I do this?

Watch Question

in the command prompt use

ipconfig /release

this will get rid of its current ip then follow up with

ipconfig /renew

this will get the new one. Just did this yesterday, so i hope this does it for you.
clear ip dhcp binding
from privileged exec mode


Thanks!  That's exactly what I needed... no access to the client laptop :(