– Alex “crazygerman” Byron –
Networking has seen a huge gain in popularity over the last several years. Prices for networking equipment have dropped, a whole slew of network products are available for both business and home networking, the majority of new PCs and laptops come equipped with network adapters right out of the box, and setup has become much easier. As a result, many computers are connected to office and/or home networks, both wired and wireless.
As easy as it can be to set up a new network, networks can be complex and involve many parameters and components that can easily be misconfigured or fail. Troubleshooting a broken network connection can be a daunting task for the average user. Following instructions to set up a basic network from scratch is one thing – finding a problem is a whole different story. This article covers a number of typical scenarios of a PC connected to a network and offers a list of logical and straight forward troubleshooting steps for each specific scenario to make the troubleshooting process easier and take some of the scariness out of it.
The instructions and troubleshooting steps found in this article are mainly geared towards computers running Windows 2000 or XP as they are currently the most common Windows operating systems connected to networks. While Windows 9x/ME can also be connected to a network, they are outdated versions of Windows and can be a pain in the ass to get to work on a network. However, even though the examples given are usually Win2K / XP commands, they either will work in other operating systems or have similar equivalent commands. Additionally, most of the troubleshooting steps are generic enough that they apply to other operating systems as well.
When the instructions refer to checking a setting or configuration parameter for a certain piece of hardware such as a gateway device, they are purposely generic as every device is different. It is up to you to consult the manual and figure out how to get to the appropriate menu option or section.
Before delving into the troubleshooting process, it is important to understand the basic concept of networking. The purpose of connecting a PC to a network is to exchange data with another PC such as sending an email, viewing a web page, or copying a file. The other PC can be physically close such as in the same room (home network) or the same building (office network), or physically remote such as a web server in a different state or country. The Internet is nothing but a gigantic network of countless computers, all interconnected via a myriad of hubs, switches, routers, and firewalls. By connecting your PC to a DSL or cable modem or plugging into an office network you get access to this network and the ability to exchange data with a number of other machines that are on that network.
To participate in a network, a PC requires the following components:
In a simplified manner, here’s how a data transmission over a network functions. When an application wants to communicate over the network, it cannot access the network directly. It has to format its request according to the rules set by a protocol and pass it down. The request will be handled by several layers which are known as the 7 layers of the OSI model. Each layer will wrap and tag the data package and pass it on to the next until it is finally placed by the network card in form of an electrical signal on the actual wire and transported to the next stop on the way. The packet has to pass a number of “hops”, which are routers that redirect it along the way to help reach its target. Depending on the location of the target, this could be just one or two hops if it’s on the same network, or 20 – 30 hops if it is far away in a different state or country. At the final destination the packet is passed through all 7 layers, this time in reverse order, and finally ends up at the recipient. Here the request gets processed, the reply will be packaged and passed through all layers to be sent back to the originator.
This whole process is pretty complex and could take a book to explain, which is beyond the scope of this article. The point of this summary is to present an idea of how many devices and wires the data has to travel to reach its destination. Given the complexity of networking and the vast amount of components and parameters involved, it’s quite amazing that everything works together so well, enabling us to send and receive data from around the globe in a matter of seconds. However, once something breaks, this complexity comes back to bite us in the ass because there are so many things to check when troubleshooting a network connectivity problem.