Saturday, September 7, 2013

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.

No comments:

Post a Comment