Hack 57. Repair a Broken TCP/IP Connection
Get back onto the Internet fast if you have TCP/IP woes.
TCP/IP problems can be exceedingly difficult to troubleshoot, and at times your TCP/IP connection appears to break for no apparent reason. Everything looks like it should be working, but you're not able to connect using the protocols. If you have a broken connection, try the following:
Right-click the broken connection in the Network Connections folder and choose Repair.
It walks you step by step through TCP/IP and network configuration and will correct any errors you might have introduced inadvertently.
If you have a home network, the problem might lie with the router or in the connection between the router and your broadband provider. Follow the directions for resetting the router.
If you have a broadband connection, the problem might lie in the assignment of your IP address by your ISP. Power off your cable modem or DSL modem, unplug its Ethernet cable, and leave it powered off for five minutes. Then restart it. This is also a good time to reset your router. You can also try releasing and renewing after you've turned the connection back on.
If all else fails, you can try to reset your TCP/IP stack to the same state that it was in when XP was first installed on the computer. Use the NetShell utility [Hack #52] . Issue this command: netsh int ip reset [log_file_name], where log_file_name is the name of a file where the actions taken by NetShell will be recorded.
Your old cable might be nicked, the connector might be loose, or mice might have nibbled on it.