Chapter 3. Troubleshooting the Network Environment
From ghost connections to packet errors, stream failures and connectivity errors to missing routes, troubleshooting a network environment can be a slow and arduous process that typically begins with the physical layer. However, once you have confirmed that the physical nodes are working, the next step is to consider and consult the many tools available to your system.
In this chapter, we will:
- Discover the basic tools that will help you troubleshoot a variety of issues related to the network environment. This discussion will include a round-trip tour of
ping
,dig
,host
,traceroute
, andmtr
. - Discover how to monitor network connections with the
ss
command. - Learn how to investigate packet transmissions with
tcpdump
.