Home Windows Assign IP address through command prompt

Assign IP address through command prompt

1

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

Please enter your comment!
Please enter your name here

Exit mobile version