Thursday, January 22, 2015

Change IP address of computer from Command prompt....


To change IP and default gateway:
netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254

To change DNS:
netsh int ip set dns "local area connection" static 192.168.0.254 primary

 

Set static IP address to getting an address from DHCP:
netsh interface ip set address name=”Local Area Connection” source=dhcp

No comments:

Post a Comment