Computing.Net > Forums > Windows 2000 > Enabling DHCP in Command Prompt

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Enabling DHCP in Command Prompt

Reply to Message Icon

Name: Chaz
Date: June 27, 2002 at 05:41:15 Pacific
Comment:

I have a wireless NIC on my work labtop and I forget the command prompt command to enable DHCP on my nic.



Sponsored Link
Ads by Google

Response Number 1
Name: dave c
Date: June 27, 2002 at 06:05:36 Pacific
Reply:

Try typing the following at the command prompt:

netsh interface ip set address "local area connection" dhcp

you can cut and paste, the syntax is correct, assuming you did not rename the connection in the network applet in control panel.

If you want to set it to a static IP, you would use:

netsh interface ip set address "local area connection" static xxx.xxx.xxx.xxx 255.255.255.0 yyy.yyy.yyy.yyy 1

where the X's are the IP, and the Y's are the default gateway (and make sure you add the "1" at the end to indicate the one metric hop to the gateway, it will NOT work without it!)


HTH
-Dave C


0
Reply to Message Icon

Related Posts

See More







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: Enabling DHCP in Command Prompt

font options in command prompt www.computing.net/answers/windows-2000/font-options-in-command-prompt/58644.html

New Fonts in Command Prompt www.computing.net/answers/windows-2000/new-fonts-in-command-prompt/60105.html

delete directories in command prompt www.computing.net/answers/windows-2000/delete-directories-in-command-prompt/23774.html