Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Whats the DOS commands to drop an IP address and configure a specific IP address on the machine, do you know?
Im aware of Win 2000's networking and dial up function. Im wanting to know strictly what the DOS commands are only.
If anyone knows, it would be of great help.
Thanks.
Jeremy
Jeremy:
There are no DOS commands in W2K. Are you referring to the command line instead?
You mention "dropping" an IP. Do you mean release?
To release an IP address, simply do to the command prompt and type: ipconfig/release
To get a new one, just type: ipconfig/renew
Now, if you are on cable or DSL with an ISP who uses DHCP, when you renew you'll most likely get the same IP you released--unless you power off the modem and wait at least 10 minutes, or until another suscriber is assigned that IP addy from the pool of available addresses.
If you have a static IP, obviously noe of the above really applies, as all you will do is release and definitely get back the same old IP.
Could it be that your IP addy has been blocked somewhere and you want to post at that site again? It's happened to me with a childish radio announcer in our area who blocks IPs from anyone he disagrees with on his interactive site. No problem there, as I just use a proxy. Try Safeweb if that's the case: http://www.safeweb.com
Drives this announcer nuts--and would probably make him crazy if he knew that I'm doing the server upgrade for his site and am a good friend of the webmaster. He had the webmaster block proxies, but too many posters are going in from the office, so that was not a good option, as traffic dropped to nothing.
Thanks for the reply. Am aware of the release command at the command line however is there a command that allows me to specify a specific IP address rather than renew an IP address from the DHCP server. The DHCP obviously allocates the next free IP but would like to get a specific one.
Im on a LAN in university hence the presence of a DHCP server.
Once again, any help would be useful.
regards,
Jeremy
Report Offensive Follow Up For Removal
I believe you can do this in Win2K under Local Area Connection Properties .Highlighting TCP/IP and then clicking on properties and checking the box 'Use the following IP address' .
I do not know what this command would be at the command prompt .
Try typing :ipconfig/all|more and it should tell you what commands are available .
Easiest way would be to do it straight from the desktop though through 'My Network Places'.
You can not configure a static IP address via the command line unless you wrote some sort of script or batch file.
If you want a specific address you need to contact your help desk and/or computer technician and talk to them. You can't just pluck a number out of the air or else you could cause major problems (depending on which number you use).....
Report Offensive Follow Up For Removal
Netsh interface ip set address local static 1
Run as CMD.exe.
;-)
Netsh interface ip set address local static [IP ADD] [SUBNET] [DEFAULT GATEWAY] 1
Run as CMD.exe.
;-)
![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |