Using the netsh command to change TCP/IP settings


With Windows 2000/XP/2003, you can use the netsh command to script the process of changing a computer TCP/IP setting withoutrebooting the computer.


You can use netsh command to prevent traffic from being passed by the network adapter. To do that, you can use the Netsh to re-set a different IP address or default gateway , for example, netshell interface ip set address interface_name static ip_address subnet_mask default_gateway metric.