Saturday, September 7, 2013

How to Change IP address from command prompt

Dos command to asign IP to a machine

C:\>netsh
netsh>interface
netsh interface>ip
netsh interface ip>set address local static 192.168.10.172 255.255.255.0 192.168.10.38
Ok.

netsh interface ip>set dns "Local Area Connection" static 192.168.10.1
Ok.

netsh interface ip>add dns "Local Area Connection" 203.129.205.10 2
Ok.

No comments:

Post a Comment