If you ever mange to screw up your IP Stack on Windows how to fix it? Well one way is to remove the protocol from all the network cards and then possibly also your network cards and adding them again (after rebooting of course). Alternatively, depending on your OS version you could apply a service pack. Also, in Windows XP, the TCP/IP stack is considered a core component of the operating system, and you cannot remove TCP/IP. Therefore, when you view the list of components for a network interface, you may notice that the Uninstall button is disabled when Internet Protocol (TCP/IP) is selected. In extreme cases, the best solution for this issue may be to reinstall the Internet Protocol stack. But with the NetShell utility, you can reset the TCP/IP stack to restore it to its state that existed when the operating system was installed. Here is the command you run in a command prompt:

netsh int ip reset some_log_file.txt

What does it do? The NetShell utility (netsh) is a command-line scripting interface for configuring and monitoring Windows XP networking. This tool provides an interactive network shell interface to the user. In XP, a reset command is available in the IP context of the NetShell utility. When you run the reset command, it rewrites pertinent registry keys that are used by the Internet Protocol (TCP/IP) stack to reach the same result as the removal and the reinstallation of the protocol. The registry keys that are used are:

SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
SYSTEM\CurrentControlSet\Services\DHCP\Parameters\

More Information: http://tinyurl.com/5llr5