clear ip dhcp bindings

Unanswered Question
Mar 18th, 2009

"clear ip dhcp binding a.b.c.d-Clears an automatic address binding from the DHCP server database"

does this force the host to lose its IP

address and request a new ip via dhcp?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
nygenxny123 Thu, 03/19/2009 - 09:12

really?

I issued a

clear ip dhcp binding *

command and i was still able to

ping hosts who learned their ip's from dhcp

Leonardo Oliveira Tue, 06/15/2010 - 08:23

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabela normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

Router# clear ip dhcp binding {address | *}

Deletes an automatic address binding from the DHCP database. Specifying the address argument clears the automatic binding for a specific (client) IP address, whereas specifying an asterisk (*) clears all automatic bindings.

Edison Ortiz Tue, 06/15/2010 - 09:46

It will clear the dynamic bindings at the server but the server won't inform the client to clear its IP Address. To clear the IP address at the client, you must issue IPCONFIG /Release followed by IPCONFIG /Renew (if running a Windows Machine).

Regards,

Edison

pauldaniels Thu, 12/08/2011 - 10:43

Would it be correct to say that performing a shut, no shut on the interface would cause the client to lose its address and need to send a new dhcp request?

Or would the client (a Windows machine, for example) be able to continue using the old lease?

Geoff Griffin Thu, 06/05/2014 - 18:30

Better late than never.

 

I had an issue just today whereas the dns servers that we point to were changed, I updated the static DNS on the router (and the dhcp pools) and was forced to clear the client DHCP lease.

The command to clear the client leases is:

clear ip dhcp pool <NAME> binding *

Hope this helps anyone with the same problem.

 

- Geoff

 

Actions

This Discussion