Super-Networking Blog

Configure Network Adapter from Command Prompt

by admin on Feb.11, 2008, under Networking, Systems

If you really want to configure your IP address from the command prompt instead of the Windows GUI you can do so with the Netsh.exe command.

To see your current network config go to a command prompt and type in the following command “netsh interface ip show config”

If you want to set you IP to 10.10.0.2 with a subnet mask of 255.255.255.0 and a gateway of 10.10.0.1 on your Local Area Connection adapter use the following command: “netsh interface ip set address name=”Local Area Connection” static 10.10.0.2 255.255.255.0 10.10.0.1 1″

Want to setup DNS settings: “netsh interface ip set dns “Local Area Connection” static 10.10.0.200″

These commands should work on Windows Server 2003 and Windows XP, might work on other versions too but haven’t tested.

Technorati Tags: , ,
:, ,

628 views

Leave a Reply

Security Code:

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Your Ad Here