Question

Locked

Set Static IP using netsh command?

By sunpraveen ·
Suppose, I want to setup static ip for my computer (because my ISP uses static IP), then can I use the netsh command? If so how?

TIA,

Rgds,

Praveen

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Carefully!

by neilb@uk In reply to Set Static IP using netsh ...

netsh interface ip set address name="LAN" static 192.168.0.100 255.255.255.0 192.168.0.254

This will add the static address 192.168.0.100 with a Class C subnet mask and a default gateway of 192.168.0.254 to the interface called "LAN".

God bless the Command Line. You can break a system so much more quickly than with the GUI!

:)

Seriously! Take care.

netsh ?
netsh interface ?
netsh interface ip ? and so on until you get to
netsh interface ip add address ?

The last one will show you how.

Collapse -

Thanks!

by sunpraveen In reply to Carefully!

Thanks for your suggestions! greatly appreciate it!

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums