If we look back at this chapter, we learned quite a bit about troubleshooting network connectivity issues on Linux. We learned how to use the netstat
and tcpdump
tools to look at the incoming and outgoing connections. We learned about the TCP three-way handshake and how the /etc/hosts
file can supersede the DNS settings.
In this chapter, we covered many commands, and while we gave a pretty good overview of each command and what it does, there are some that we barely scratched the surface on.
Commands such as tcpdump
are a prime example of this. In this chapter, we used tcpdump
quite a bit, but this tool is capable of far more than we used it for. Of all of the commands that we covered in this book, I personally feel that tcpdump
is one to spend time learning, as it is a very useful and powerful tool. I have used it to solve many issues, and sometimes, these issues were not network-specific but application-specific.
In this next chapter, we will keep this networking momentum going with...