Network Troubleshooting
Network Troubleshooting
Even if you don't use Cisco equipment on your network, Cisco's eight-step troubleshooting
method can help solve your system's connectivity issues. Warren Heaton explains the method
and shares an additional tip for preventing recurrences. One of the skills a network administrator
must have is the ability to effectively troubleshoot network problems. To emphasize the
importance of network troubleshooting, Cisco has dedicated an entire exam to the topic as part of
the Cisco Certified Network Professional (CCNP) certification. Additionally, the Cisco
Internetwork Troubleshooting (CIT) course is recommended curriculum for anyone pursuing the
much-coveted CCIE certification. Although the CIT material presents Cisco’s troubleshooting
model, the same steps can be applied to just about any type of network or system failure you will
encounter.
Windows Tools
So my first line of defense (or troubleshooting) are built-in Windows tools.
There are a couple of basic commands to diagnose a network problem that every network admin
needs to know. Let’s get down to the nitty gritty.
You have an issue with a computer on your network. It cannot connect to the internet and doesn’t
have any network resources. The first thing you need to do is check the condition of the physical
connection i.e. the network cable. After that is secured, I jump to a command prompt and do a
IPCONFIG /all like so:
I check that the IP address, default gateway and subnet mask are all correct. If they are not, I
make my modifications and we are back online. Too bad the problems don’t usually go away
that easily. Next up, I attempt to ping the servers by IP address using the ping command, like
so:
Now I check for DNS issues by pinging the server’s name. If this fails, it is our internal DNS
issue and I know where to move on to.
If I get a correct response, I try to ping a website like www.google.com. That tests external DNS
resolution. If that works as well, the trouble runs deeper. I would then run a Netstat ““a and see
who is connected to my machine and determine if maybe a Trojan or virus has gained control of
it.
Everything looks clean. Now I would try pathping or tracert between the machine and the
internet to diagnose any remaining network problems. This one I will not show you as all the
output would reveal my network settings and what not. I am not looking to create more
problems!
During your tests you might conclude that another machine is using the same IP address or host
name as your desktop and causing issues. For this, I would recommend using Angry
Ipscanner.exe (found here here) to query for that IP address or the entire network to find the host
name”¦
I have been using this application for more than a decade to diagnose network problems! If you
cannot figure out what is going on and why you cannot get to the resource you are trying to, then
the issue might be network-related and has nothing to do with your machine. First, check if you
can get to the resource from a different machine.
Then it might be time to fire up Wireshark (which used to be called Ethereal, covered here for
you old schoolers). Wireshark will listen to your network adapter for all traffic and responses.
The answer is in the data but you do need to know how to read it. There are lots of good
resources online or you could always come knocking at AskTheAdmin.com with your output and
ask us to help!
How would you troubleshoot a fidgety connection? Do you have any secret commands?
Troubleshooting tips for wireless network connection problems.
Fig
ure 1. Check physical connections.
2. Verify the wireless adapter is installed and working properly.
It might seem obvious, but it's important to ensure the client's Wi-Fi adapter used for network
troubleshooting is enabled and ready to connect.
When using a Windows client, select your wireless network adapter from the Network
Connections Control Panel and check to see if its status is Enabled. If not, right-click to
enable the connection. If this fails when using a laptop, look for a function key or
physical button or slider-switch to take the laptop out of airplane mode. If this fails when
using a removable client such as a USB adapter, remove or re-insert it.
When using an Apple iOS client, use the Settings app to verify that your iPhone or iPad is
not in airplane mode and that Wi-Fi is on and ready to connect. For further iOS client
troubleshooting, see Part 2 of this series.
On an Android client, use the Settings app in a similar manner to verify that your
smartphone or tablet is not in airplane mode and that Wi-Fi is on. For further Android
client troubleshooting, see Part 3 of this series.
Fig
ure 2. Verify Wi-Fi client adapter is enabled.
F
igure 3. Verify AP or router's network settings.
4. Verify TCP/IP settings.
Although we describe using Windows to manage wireless connections here, troubleshooting is
conceptually similar when using other kinds of Wi-Fi clients.
Open the network connections control panel and select your wireless network adapter. If
the status is still Disabled, return to step 2.
If status is Not Connected, select your wireless network's SSID and click Connect. If your
network's SSID does not appear in the list or you cannot connect to your network, go to
step 8 to debug wireless settings.
While attempting to connect, status may change briefly to Authenticating or Acquiring
Network Address, then Connected. At that point, use Status/Support to determine the
client's assigned IP address. If the client's IP is 0.0.0.0 or 169.254.x.x, click Diagnose. If
that persists, go to step 8.
Otherwise, if the Wi-Fi client's IP address is not in your AP or router's subnet, use the
Properties/Internet (TCP/IP) panel to reconfigure the connection to get an address
automatically and repeat step 4.
Fig
ure 4. Verify wireless client's TCP/IP settings.
Fig
ure 5. Test and permit desired traffic.