Monday, July 20, 2009

Set Refresh TCP/IP address

Following Commands can be used to set/refresh TCP/IP address from Windows Command prompt

netsh int ip reset resetlog.txt <-- Resets TCP/IP and related components to a clean state

To set static ip: netsh interface ip set address "Local Area Connection" static 192.168.1.22 255.255.255.0 192.168.1.1 1

To set dhcp: netsh interface ip set address "Local Area Connection" dhcp

*******"Local Area Connection" is the name of comunication device(LAN card\Wireless) thats being set.

No comments:

Post a Comment