Interview Prep/Networking/MTU, routing, packet loss and latency

Interface counters show rising `RX errors` and `dropped`, and the app sees retransmits.

IntermediateTroubleshootingMTU, routing, packet loss and latency
Answer

Likely causes → Errors: bad cable, optic, duplex mismatch. Drops: RX ring buffer overflow or softirq can't keep up (CPU, single queue).

Diagnose →

ip -s link show eth0
ethtool eth0 | grep -E 'Speed|Duplex'
ethtool -S eth0 | grep -i -E 'err|drop|miss|fifo'
ethtool -g eth0
cat /proc/net/softnet_stat     # 2nd column = drops

Fix → Replace hardware or fix duplex; raise ring size (ethtool -G eth0 rx 4096), enable RSS/RPS across CPUs, raise net.core.netdev_max_backlog.

Prevent → Export NIC counters to monitoring (node_exporter does this).

All Networking questions Roadmap: Networking for DevOps

More on MTU, routing, packet loss and latency