Skip to content

Packet Loss — Detecting and Troubleshooting Dropped Network Packets

Packet Loss occurs when one or more network packets fail to reach their destination. Since modern applications rely on reliable packet delivery, packet loss can cause slow websites, interrupted video calls, failed API requests, VPN instability, Kubernetes communication failures, database timeouts, and poor user experience. Packet loss may result from network congestion, faulty hardware, wireless interference, routing issues, overloaded devices, firewall filtering, or MTU problems. Every Network Engineer, Linux Administrator, DevOps Engineer, SRE, Cloud Architect, and Kubernetes Administrator should understand how to detect, analyze, and resolve packet loss.


Learning Path

Networking Mastery → Module 12: Network Troubleshooting → Lesson 9

Difficulty: Advanced

Reading Time: 220 Minutes

Course Progress

Course: Networking Mastery

Module: Network Troubleshooting

Lesson: 9 of 10


What You'll Learn

After completing this lesson, you'll be able to:

  • Understand packet loss
  • Measure packet loss
  • Identify packet drops
  • Analyze TCP retransmissions
  • Troubleshoot congestion
  • Diagnose packet loss in cloud and Kubernetes environments
  • Resolve production packet loss issues

Prerequisites

Complete:

Basic understanding of:

  • Transmission Control Protocol (TCP)
  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Routing

Why Does Packet Loss Matter?

Imagine users report:

Application

Keeps

Timing

Out

or

Video

Call

Keeps

Freezing

Possible causes:

  • Network Congestion
  • Faulty Switch
  • Damaged Cable
  • Wi-Fi Interference
  • Firewall Drops
  • Routing Problems
  • Maximum Transmission Unit (MTU) Mismatch

What is Packet Loss?

Packet loss is:

Failure

Of

Packets

To

Reach

Their

Destination

The sender transmits packets, but some are lost before arriving.


Normal Packet Flow

Client


Router


Switch


Server


Response

Every transmitted packet reaches its destination successfully.


Packet Loss Example

Packet 1

Packet 2

Packet 3

✖ Lost
Packet 4

The missing packet may require retransmission.


Measuring Packet Loss

Use Ping.

ping google.com

Example:

100 Packets Sent

98 Received

2 Lost

Packet loss:

2%

Acceptable Packet Loss

Packet Loss Interpretation
0% Excellent
<1% Very Good
1–2% Acceptable
2–5% Performance Degradation
>5% Serious Network Issue

Causes of Packet Loss

Common causes include:

  • Network Congestion
  • Faulty Hardware
  • Damaged Cables
  • Wi-Fi Interference
  • MTU Issues
  • Routing Loops
  • Firewall Filtering
  • Overloaded Servers
  • Interface Errors

Network Congestion

Too much traffic:

Many Packets


Router Queue


Buffer Full


Packets Dropped

Congestion is one of the most common causes of packet loss.


Faulty Hardware

Examples:

  • Failing Network Interface Card (NIC)
  • Faulty Switch
  • Bad Router
  • Damaged Cable
  • Optical Fiber Problems

Hardware failures often produce intermittent packet loss.


Wireless Interference

Wi-Fi packet loss may result from:

  • Weak Signal
  • Channel Congestion
  • Physical Obstacles
  • Electromagnetic Interference

Symptoms:

  • Slow Browsing
  • Video Buffering
  • Connection Drops

MTU Problems

Large packets may be:

Dropped


Retransmitted

Incorrect MTU settings can appear as packet loss.

Always verify MTU during troubleshooting.


Routing Issues

Routing loops:

Router A


Router B


Router A

Packets eventually expire:

TTL


0


Dropped

Firewall Drops

Firewalls may intentionally discard packets.

Possible reasons:

  • Security Policies
  • Access Control Lists (ACLs)
  • Distributed Denial of Service (DDoS) Protection
  • Rate Limiting

Always verify firewall logs.


TCP Retransmissions

TCP guarantees reliable delivery.

If packets are lost:

Packet

Lost


Retransmission

Too many retransmissions increase:

  • Latency
  • Application Response Time
  • Network Utilization

UDP Packet Loss

UDP does not retransmit packets.

Packet loss affects:

  • Voice Calls
  • Video Streaming
  • Domain Name System (DNS)
  • Online Gaming

Applications may experience gaps or reduced quality.


Detecting Packet Loss

Use Ping.

ping google.com

Use traceroute.

traceroute google.com

Use My Traceroute (MTR).

mtr google.com

MTR combines Ping and traceroute with continuous statistics.


tcpdump Analysis

Capture packets.

sudo tcpdump

Look for:

  • Missing Responses
  • Retransmissions
  • Duplicate ACKs

Wireshark Analysis

Look for:

  • TCP Retransmission
  • Fast Retransmission
  • Duplicate ACK
  • Out-of-Order Packets

Useful display filters:

tcp.analysis.retransmission
tcp.analysis.duplicate_ack

Linux Interface Statistics

Check interface errors.

ip -s link

or

ifconfig

Look for:

  • RX Errors
  • TX Errors
  • Dropped Packets

Kubernetes Packet Loss

Possible causes:

  • Container Network Interface (CNI) Issues
  • Network Policies
  • Node Overload
  • Overlay Network
  • kube-proxy
  • eBPF Configuration

Verify:

  • Pod Connectivity
  • Service Connectivity
  • Node Health

Cloud Packet Loss

Investigate:

  • VPN
  • Load Balancer
  • Security Groups
  • Route Tables
  • Cross-Region Traffic

Cloud monitoring tools often expose packet loss metrics.


Enterprise Troubleshooting Workflow

Ping


Packet Loss


Traceroute


tcpdump


Wireshark


Root Cause

Common Packet Loss Symptoms

Symptom Possible Cause
Slow Downloads Congestion
Video Freezing Packet Loss
API Timeouts Retransmissions
VPN Disconnects MTU or Packet Loss
SSH Session Drops Network Instability
Database Timeouts Packet Loss or Latency

CLI Examples

Measure packet loss.

ping google.com

Trace packet path.

traceroute google.com

Run MTR.

mtr google.com

Capture packets.

sudo tcpdump

View interface statistics.

ip -s link

Hands-on Lab

Task 1

Measure packet loss.

ping google.com

Record:

  • Packets Sent
  • Packets Received
  • Packet Loss Percentage

Task 2

Run:

mtr google.com

Identify:

  • Packet Loss
  • High Latency
  • Problematic Hop

Task 3

Capture traffic.

sudo tcpdump

Generate network traffic and observe retransmissions.


Task 4

Open the packet capture in Wireshark.

Identify:

  • Retransmissions
  • Duplicate ACKs
  • Packet Drops

Task 5

Check interface statistics.

ip -s link

Look for dropped packets and errors.


Task 6

Generate artificial congestion in a lab and observe packet loss behavior.


Task 7

Verify Pod-to-Pod communication in Kubernetes under heavy network load.


Task 8

Draw the communication flow:

Client


Router


Switch


Server

Illustrate where packet loss can occur and explain how TCP recovers from dropped packets.


Production Troubleshooting

Problem:

Video

Calls

Freeze

Check:

  • Packet Loss
  • Latency
  • Jitter
  • Wi-Fi Signal
  • Router Load
  • Firewall
  • MTU
  • TCP Retransmissions

Workflow:

Ping


MTR


tcpdump


Wireshark


Fix Root Cause

Packet Loss vs Latency

Packet Loss Latency
Packets Disappear Packets Arrive Slowly
Causes Retransmissions Causes Delays
Measured as Percentage Measured in Milliseconds
Impacts Reliability Impacts Responsiveness
Lower is Better Lower is Better

TCP vs UDP Packet Loss

TCP UDP
Retransmits Lost Packets No Retransmission
Reliable Delivery Best-Effort Delivery
Higher Recovery Time Lower Latency
Suitable for Web & APIs Suitable for Voice & Video
Handles Packet Loss Automatically Application Must Handle Loss

Common Mistakes

❌ Assuming every timeout is caused by packet loss.

✅ Check latency, DNS, and server performance as well.


❌ Ignoring interface error counters.

✅ Verify NIC and switch statistics.


❌ Investigating only the destination.

✅ Check every hop using MTR or traceroute.


❌ Overlooking retransmissions.

✅ Analyze packet captures with Wireshark.


❌ Ignoring congestion during peak hours.

✅ Compare network behavior at different times.


Best Practices

  • Monitor packet loss continuously.
  • Keep interface error counts low.
  • Replace faulty network hardware promptly.
  • Avoid congested network paths.
  • Monitor Wi-Fi signal quality.
  • Capture packets during incidents.
  • Use MTR for continuous diagnostics.
  • Correlate packet loss with latency and application logs.

Interview Questions

Beginner

  1. What is packet loss?
  2. How do you measure packet loss?
  3. What causes packet loss?
  4. Why does TCP retransmit packets?

Intermediate

  1. Compare packet loss and latency.
  2. How do you troubleshoot packet loss?
  3. Explain duplicate ACKs.
  4. How does UDP handle packet loss?

Architect Level

  1. Design a packet loss monitoring strategy for an enterprise network.
  2. Explain how congestion causes packet loss.
  3. How would you troubleshoot intermittent packet loss across multiple cloud regions?

Summary

In this lesson, you learned:

  • Packet Loss
  • Packet Drops
  • Network Congestion
  • TCP Retransmissions
  • UDP Packet Loss
  • Wireshark Analysis
  • tcpdump Analysis
  • Interface Errors
  • Cloud Packet Loss
  • Kubernetes Packet Loss

Packet loss is one of the most common causes of poor network and application performance. Even a small percentage of dropped packets can significantly impact user experience, especially for real-time applications. By combining Ping, MTR, tcpdump, Wireshark, and interface statistics, engineers can accurately identify packet loss, determine its root cause, and implement effective solutions across enterprise, cloud, and Kubernetes environments.


Key Takeaways

  • Packet loss occurs when packets fail to reach their destination.
  • TCP recovers from packet loss through retransmissions, while UDP does not.
  • Common causes include congestion, hardware failures, wireless interference, MTU issues, and routing problems.
  • Use Ping, MTR, tcpdump, and Wireshark to detect and analyze packet loss.
  • Monitor interface statistics to identify physical network issues.
  • Resolve the underlying cause rather than treating the symptoms.

What's Next?

Production Scenarios

In the next lesson, you'll learn about Production Scenarios.

You'll explore:

  • Real-World Network Incidents
  • Step-by-Step Troubleshooting Methodology
  • Enterprise Case Studies
  • Cloud Networking Problems
  • Kubernetes Networking Failures
  • Root Cause Analysis (RCA)
  • Production Best Practices

By the end of the lesson, you'll be able to troubleshoot complex networking incidents using a structured, production-ready approach and apply everything you've learned throughout the Networking Mastery course.