Computing.Net > Forums > Windows 2000 > DOS Command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

DOS Command

Reply to Message Icon

Name: Jeremy
Date: July 3, 2001 at 14:02:37 Pacific
Comment:

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


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: dr oneill
Date: July 3, 2001 at 17:51:33 Pacific
Reply:

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.


Report Offensive Follow Up For Removal

Response Number 2
Name: Jeremy
Date: July 3, 2001 at 20:10:58 Pacific
Reply:

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

Response Number 3
Name: Weesi
Date: July 4, 2001 at 14:53:35 Pacific
Reply:

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'.


Report Offensive Follow Up For Removal

Response Number 4
Name: Glen Bicking
Date: July 5, 2001 at 05:08:57 Pacific
Reply:

You can not configure a static IP address via the command line unless you wrote some sort of script or batch file.


Report Offensive Follow Up For Removal

Response Number 5
Name: Lucid
Date: July 5, 2001 at 08:47:03 Pacific
Reply:

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

Related Posts

See More



Response Number 6
Name: Sachin Ranadive
Date: July 5, 2001 at 15:15:30 Pacific
Reply:

Netsh interface ip set address local static 1

Run as CMD.exe.

;-)


Report Offensive Follow Up For Removal

Response Number 7
Name: Sachin Ranadive
Date: July 5, 2001 at 15:16:35 Pacific
Reply:

Netsh interface ip set address local static [IP ADD] [SUBNET] [DEFAULT GATEWAY] 1

Run as CMD.exe.

;-)


Report Offensive Follow Up For Removal
Reply to Message Icon






Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: DOS Command

DOS Commands in Win2K www.computing.net/answers/windows-2000/dos-commands-in-win2k/52227.html

Execute DOS command on Remote Compu www.computing.net/answers/windows-2000/execute-dos-command-on-remote-compu/44215.html

DOS Commands www.computing.net/answers/windows-2000/dos-commands/55152.html