Legal Information
PC Knowledge Base - Troubleshoot TCP/IP Methodology

Good Knowledge Is Good2Use

The traditional troubleshooting approach

There is a simple follow-these-steps approach to troubleshooting problems. The method goes like this:

  1. Type ipconfig to check if your IP address, subnet mask, and default gateway are correct.
  2. Now ping 127.0.0.1 to see if your network adapter is working.
  3. Now ping your own computer's IP address.
  4. Now try pinging the IP address of another computer on the same subnet.
  5. Now try pinging your default gateway (the near-side interface of the router that connects your subnet to the rest of the network).
  6. Now try pinging the IP address of a computer on a different subnet.
This is somewhat inefficient, as it automatically assumes that your problem most likely starts with your own computer and that the problem is more likely to be closer to you (your network card, your computer's IP address configuration, your local subnet) than further away (other subnets).
It's a method that was probably developed before the Internet really took off -- that is, before DNS became ubiquitous for name resolution and before firewalls and VPNs became a fact of life for most corporate networks.

A common error report is "I can't connect to the server right now." What could be the problem? It helps to dissect this simple sentence to understand the issues that may be involved. For example:

A structured approach

TCP/IP troubleshooting is structured around three critical areas:

  1. Determining the elements of the problem. This means:
    • Client end: The client(s) who are experiencing the difficulty (or difficulties) (the user end).
    • Server end: The server(s), printer(s), or other network resources (such as the Internet) that the clients are experiencing difficulty with.
    • Network in between: The wires (if not wireless), hubs, switches, routers, firewalls, proxy servers and any other network infrastructure between the client end and the server end.
    • Environment: External circumstances that may be affecting your network like power fluctuations, building maintenance and so on.
    • Scope: One or many clients/servers involved.
    • Time frame: Continuous, intermittent, occasional; when did it begin; and so on.
    • Type of connection problem: Physical, network, transport or application layer; authentication or access control; and so on.
    • Signposts: Error messages on client machines; login boxes; and so on.
  2. Determine which troubleshooting steps might apply given the above problem elements. This includes:
    • Verifying physical media connectivity for the client(s), server(s) and network infrastructure hardware involved. This means checking cables, making sure network adapters are properly seated, and looking for other causes of network connections displaying a media disconnected state.
    • Verifying TCP/IP configuration of the client(s), server(s) and network infrastructure hardware involved. On the clients and servers this means IP address, subnet mask, default gateway, DNS settings and so on. For network infrastructure hardware typically means routing tables on routers and Internet gateways.
    • Verifying routing connectivity between the client(s) and server(s) involved. This means using ping, pathping, tracert and other similar tools to verify end-to-end TCP/IP connectivity at the network level; packet sniffing to monitor transport layer sessions; using nslookup, telnet and other tools to troubleshoot application layer issues involving name resolution problems, authentication problems and so on.
  3. Understand it, question it, test it.
    Understanding how protocols work, how packets are forwarded by routing tables, what tools like Netdiag.exe can tell you, is critical. Successful TCP/IP troubleshooting is founded upon a good understanding of how TCP/IP works and the tools that can be used to test it. If you've never plodded through trying to understand a Network Monitor trace, you'll have difficulties troubleshooting certain kinds of problems.

Asking the right questions is also critical to good troubleshooting. Learning when to be methodical and when to take a mental leap is the essence of the art of troubleshooting, and it involves full use of both your left brain (logic) and right brain (intuition). Nnetwork troubleshooting generally isn't as easy as1--2-3. In other words, it's often more of an art (i.e. based on intuition) than a science (based on a methodology).

Finally, getting your hands dirty and actually testing things to try and isolate the problem is critical, and to do this you need a toolbox of troubleshooting tools you know how to use.



Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE