Exp 8 Network Troubleshooting-1
Exp 8 Network Troubleshooting-1
By using the ping command in this ordered sequence, you can isolate problems more quickly.
If local connectivity is not an issue—in other words, if the end device can successfully ping its default
gateway using the traceroute utility can help isolate the point in the path from source to
destination where the traffic stops.
As a first step in the testing sequence, verify the operation of the TCP/IP stack on the local host by
pinging the loopback address, 127.0.0.1, as Example- 1 demonstrates.
This test should succeed regardless of whether the host is connected to the network, so a failure
indicates a software or hardware problem on the host itself. Either the network interface is not
operating properly or support for the TCP/IP stack has been inadvertently removed from the
operating system.
Next, verify connectivity to the default gateway. Determine the default gateway address by using
ipconfig and then attempt to ping it, as in Example 2.
C:\> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Failure here can indicate several problems, which must be checked in a systematic sequence. One
possible order might be the following:
Step 1. Is the cabling from the PC to the switch correct? Are link lights lit?
Step 2. Is the configuration on the PC correct according to the logical map of the network?
Step 3. Are the affected interfaces on the switch the cause of the problem?
Step 4. Is the cabling from the switch to the router correct? Are link lights lit?
Step S. Is the configuration on the router interface correct according to the logical map of the
network? Is the interface active?
Finally, verify connectivity to the destination by pinging it. Assume that you are trying to reach
a server at 192.165.3.100. Example 3 shows a successful ping test to the destination.
Failure here indicates a failure in the path beyond the default gateway interface because you already
successfully tested connectivity to the default gateway. From a Windows PC, the best tool to use to
find the break in the path is the tracert command (see Example 4).
NOTE: Both macOS and Linux use the traceroute command rather than tracert.
NOTE: Failure at hops 3, 4, and 5 in Example 4 could indicate that these routers areconfigured
to not send ICMP messages back to the source.
As shown in in Example 4, the last successful hop on the way to the destination was 192.168.2.2. If
you have administrator rights to 192.168.2.2, you can continue your research by remotely accessing
the command line on 192.165.2.2 and investigating why traffic will not go any further. In addition, other
devices between 192.168.2.2 and 192.165.3.100 could be the source of the problem. The point is,
you want to use your ping and tracert tests, as well as your network documentation, to proceed in
a logical sequence from source to destination.
Regardless of how simple or complex your network is, using ping and tracert from the source to
the destination is a simple yet powerful way to systematically verify end-to-end connectivity, as well
as locate breaks in a path from one source to one destination.
Media Issues
Besides failing hardware, common physical layer issues occur with media. Consider a few examples:
• New equipment is installed that introduces electromagnetic interference (EMI) sources into the
environment.
• Poor cable management puts a strain on some RJ-45 connectors, causing one or more
wires to break.
• When new equipment is connected to a switch, the connection operates in half-duplex mode
or a duplex mismatch occurs, which can lead to an excessive number of collisions.
Figure 3 shows an excellent troubleshooting flowchart that you can use in troubleshooting
switch media issues.
Verify No
No or bad —¥ Successful
connection interface connection
status