Lesson Overview

Network troubleshooting tools are essential for identifying, diagnosing, and resolving connectivity, performance, routing, DNS, and network security issues. Network engineers use these tools to analyze traffic, verify device connectivity, inspect network configurations, and identify the root causes of network failures.


This lesson provides a comprehensive understanding of commonly used network troubleshooting tools, including Ping, Traceroute, IPConfig, IFConfig, IP, NSLookup, Dig, ARP, Netstat, SS, Telnet, SSH, Wireshark, TCPDump, Nmap, MTR, and Cisco IOS troubleshooting commands.


Learners will explore practical command examples, network troubleshooting methodologies, packet analysis techniques, and real-world scenarios to develop essential troubleshooting skills.


Learning Objectives

By the end of this lesson, learners will be able to:

  1. Understand the importance of network troubleshooting tools.

  2. Identify commonly used Windows, Linux, and Cisco troubleshooting commands.

  3. Verify network connectivity using Ping and Traceroute.

  4. Troubleshoot IP addressing, default gateway, and DNS issues.

  5. Analyze routing tables, ARP entries, and network interfaces.

  6. Diagnose TCP/UDP connectivity and application port issues.

  7. Capture and analyze network traffic using Wireshark and TCPDump.

  8. Use SSH and other diagnostic tools to troubleshoot network devices.

  9. Apply structured troubleshooting methodologies.

  10. Resolve real-world network connectivity and performance problems.

1. Introduction to Network Troubleshooting

Network troubleshooting is the systematic process of identifying, analyzing, and resolving problems that affect network communication.

Modern enterprise networks consist of routers, switches, firewalls, wireless access points, servers, and client devices.

A failure in any component can affect application availability, connectivity, or performance.


Common Network Problems

  • Users cannot access the Internet.

  • Devices cannot communicate with their default gateway.

  • DNS resolution fails.

  • Applications respond slowly.

  • Packet loss occurs between network devices.

  • Network interfaces are down.

  • Routing tables contain incorrect routes.

  • Firewall policies block required traffic.

  • VLAN configuration errors prevent communication.

  • Network congestion causes high latency.

Network troubleshooting tools help engineers isolate these issues efficiently.


2. Network Troubleshooting Methodology

A structured troubleshooting process reduces diagnosis time and prevents unnecessary configuration changes.


Recommended Troubleshooting Steps

  1. Identify the problem and collect user reports.

  2. Determine the scope of the issue.

  3. Verify physical and logical connectivity.

  4. Check IP addressing and default gateway settings.

  5. Test local and remote connectivity.

  6. Verify DNS resolution.

  7. Examine routing and firewall configurations.

  8. Analyze network traffic when necessary.

  9. Implement corrective actions.

  10. Verify the solution and document the findings.

3. Lab Topology and Addressing

Pasted content image

Figure 3 - Three-router lab used throughout the lesson. OSPF provides baseline reachability so the lesson can focus on assurance and troubleshooting tools.

Device

Interface

IPv4 Address

Purpose

PC-A

NIC

192.168.10.10/24

User endpoint; default gateway 192.168.10.1

R1

Gi0/1

192.168.10.1/24

Branch/user LAN

R1

Gi0/0

10.12.12.1/30

R1-R2 transit

R1

Lo0

1.1.1.1/32

Extended-ping source / test address

R2

Gi0/0

10.12.12.2/30

R2-R1 transit

R2

Gi0/1

10.23.23.1/30

R2-R3 transit

R2

Lo0

2.2.2.2/32

Test address

R3

Gi0/0

10.23.23.2/30

R3-R2 transit

R3

Gi0/1

192.168.30.1/24

Server LAN

R3

Lo0

3.3.3.3/32

Test address

Server-A

NIC

192.168.30.10/24

Destination; default gateway 192.168.30.1

Lab design: OSPF area 0 is used only to give the topology dynamic reachability. The troubleshooting techniques in this lesson apply equally to networks using static routes, EIGRP, IS-IS, BGP, SD-WAN underlay/overlay paths, or other routing designs.

3.1 Base Lab Configuration

Build the baseline first and verify that the network works before introducing faults. This gives you a known-good reference for later comparisons.

R1 baseline configuration

interface GigabitEthernet0/0

 ip address 10.12.12.1 255.255.255.252

 no shutdown

!

interface GigabitEthernet0/1

 ip address 192.168.10.1 255.255.255.0

 no shutdown

!

interface Loopback0

 ip address 1.1.1.1 255.255.255.255

!

router ospf 100

 router-id 1.1.1.1

 network 10.12.12.0 0.0.0.3 area 0

 network 192.168.10.0 0.0.0.255 area 0

 network 1.1.1.1 0.0.0.0 area 0

 passive-interface GigabitEthernet0/1

 passive-interface Loopback0

R2 baseline configuration

interface GigabitEthernet0/0

 ip address 10.12.12.2 255.255.255.252

 no shutdown

!

interface GigabitEthernet0/1

 ip address 10.23.23.1 255.255.255.252

 no shutdown

!

interface Loopback0

 ip address 2.2.2.2 255.255.255.255

!

router ospf 100

 router-id 2.2.2.2

 network 10.12.12.0 0.0.0.3 area 0

 network 10.23.23.0 0.0.0.3 area 0

 network 2.2.2.2 0.0.0.0 area 0

 passive-interface Loopback0

R3 baseline configuration

interface GigabitEthernet0/0

 ip address 10.23.23.2 255.255.255.252

 no shutdown

!

interface GigabitEthernet0/1

 ip address 192.168.30.1 255.255.255.0

 no shutdown

!

interface Loopback0

 ip address 3.3.3.3 255.255.255.255

!

router ospf 100

 router-id 3.3.3.3

 network 10.23.23.0 0.0.0.3 area 0

 network 192.168.30.0 0.0.0.255 area 0

 network 3.3.3.3 0.0.0.0 area 0

 passive-interface GigabitEthernet0/1

 passive-interface Loopback0

Baseline verification

R1# show ip interface brief

Interface IP-Address OK? Method Status Protocol

GigabitEthernet0/0 10.12.12.1 YES manual up up

GigabitEthernet0/1 192.168.10.1 YES manual up up

Loopback0 1.1.1.1 YES manual up up

 

R1# show ip route 192.168.30.0

Routing entry for 192.168.30.0/24

 Known via "ospf 100", distance 110, metric 2, type intra area

 Last update from 10.12.12.2 on GigabitEthernet0/0

 * 10.12.12.2, from 3.3.3.3, via GigabitEthernet0/0

 

R1# ping 192.168.30.10

!!!!!

Success rate is 100 percent (5/5)

Interpretation: A working baseline is essential. Capture interface, routing, and reachability results before troubleshooting so you can compare the failed state against known-good behavior.


4. Ping – Network Connectivity Testing

Ping is the fastest first-line Layer 3 reachability test. It normally sends ICMP Echo Request messages to a destination and expects ICMP Echo Reply messages in return. A successful ping proves that an IP packet can reach the destination and that a reply can return to the source used for the test.


What ping proves: Basic IP reachability for the tested source/destination, at the tested packet size, during the test window.

What ping does not prove: It does not prove that TCP/UDP application ports are open, that every path is stable,…