Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proper Syntax for NETSH Command

Status
Not open for further replies.

CodeDeficitDisorder

Technical User
Jul 18, 2002
66
US
I am trying to change my IP address using Netsh at the command prompt in Windows XP.

Here's what I'm typing:

netsh interface ip
set address addr=192.168.39.54


Am I doing something wrong? If you can give me an example that works, that would be great.

Thanks!!
 
You take this as a script:

netsh set address name="Local Area Connection" source=static addr=192.168.39.1 mask=255.255.0.0 gateway=192.168.39.1

And do this as a command line:

netsh int ip set address local static 192.168.39.1 255.255.0.0 192.168.39.1
 
try this one to reset tcp/ip
In Windows XP, click Start, Run and type
netsh int ip reset c:\resetlog.txt
into the Open field. Click OK

mugsyod
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top