Tuesday, April 12, 2011

Windows: Configure Network Interface in Command Line

Configure Interface with a static IP address:

netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1

Configure interface to use DHCP:

netsh interface ip set address "Local Area Connection" dhcp

No comments: