Does anyone know how to delete dhcp address leases from a command line??? - DFWstangs Forums
 
LinkBack Thread Tools Display Modes
post #1 of 8 (permalink) Old 03-11-2003, 07:35 PM Thread Starter
Back To Normal
 
2001 GT's Avatar
 
Join Date: Jan 2001
Location: Beyond the Abyss
Posts: 6,180
Does anyone know how to delete dhcp address leases from a command line???

I feel like I have searched every corner of netshell and I can NOT find a command to delete leases.

Last edited by 2001 GT; 03-11-2003 at 08:01 PM.
2001 GT is offline  
Sponsored Links
Advertisement
 
post #2 of 8 (permalink) Old 03-11-2003, 07:41 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
In windows IPCONFIG /release will release DHCP addresses. IPCONFIG /renew will renew them.
01WhiteCobra is offline  
post #3 of 8 (permalink) Old 03-11-2003, 07:44 PM
Lifer
 
line-em-up's Avatar
 
Join Date: Mar 2003
Location: Somewhere south of here.
Posts: 5,810
Depends on the OS. From Win2k ot NT, it would be:

ipconfig /release all or just release

From Win95/98, it would be:

winipcfg /release all or just releae.

On 98, you can just type winipcfg. Then the window will open and you can click on "release"
line-em-up is offline  
 
post #4 of 8 (permalink) Old 03-11-2003, 08:01 PM Thread Starter
Back To Normal
 
2001 GT's Avatar
 
Join Date: Jan 2001
Location: Beyond the Abyss
Posts: 6,180
sorry guys maybe I needed to specify what I am looking for. I don't need to do this from the client computer. I am trying to do this from the DHCP server.
2001 GT is offline  
post #5 of 8 (permalink) Old 03-11-2003, 08:03 PM
Warden
 
Join Date: Mar 2000
Location: McKinney, TX
Posts: 3,174
Depends entirely on the OS and what DHCP server software you are using.
chris is offline  
post #6 of 8 (permalink) Old 03-11-2003, 08:06 PM Thread Starter
Back To Normal
 
2001 GT's Avatar
 
Join Date: Jan 2001
Location: Beyond the Abyss
Posts: 6,180
BTW I do know that I can delete address leases in the dhcp.msc but I am trying to automate the process.
2001 GT is offline  
post #7 of 8 (permalink) Old 03-11-2003, 08:07 PM Thread Starter
Back To Normal
 
2001 GT's Avatar
 
Join Date: Jan 2001
Location: Beyond the Abyss
Posts: 6,180
Win2000 server
2001 GT is offline  
post #8 of 8 (permalink) Old 03-12-2003, 08:54 AM
Lifer
 
Join Date: Mar 2000
Location: McKinney
Posts: 2,091
Quote:
Originally posted by 2001 GT
Win2000 server
Well, there's your problem right there...

Chambers
chambers is offline  
Sponsored Links
Advertisement
 
Reply

Bookmarks

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the DFWstangs Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome