Set Static IP using netsh command?
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
Software
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
by sunpraveen Accepted solution
by Member 25348569 Accepted solution
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.
by sunpraveen Accepted solution
This discussion is closed to new replies.
Sort by Trending