Assign IP address through command prompt

Dos command to assign IP to a machine
step 1 :
C:\>netsh
netsh>interface
netsh interface>ip
netsh interface ip>set address local static 192.168.1.10 255.255.255.0 192.168.1.1
Ok.

Step 2 :

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

Step 3:

netsh interface ip>add dns “Local Area Connection” 202.126.202.10
Ok.

I can reach at : durgacharanojha@yahoo.co.in

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.