Network diagnostic tools


Article from Issue 71/2006

Linux has the right tools to track down network errors and open the way for data packets.

Getting help can be expensive if your Internet connection unex pectedly fails, or if you can’t ac cess the computers on your local net work. Various command line tools can help you troubleshoot your network. ping and traceroute check the availability of other computers; you can contact nameservers with host and dig, and netstat helps you discover what is hap pening on your system. Who Am I? The ifconfig tool lets you check your own computer’s network interface. This practical utility not only outputs infor mation for your current configuration, but also helps you set up the interface. To display the current settings, just run /sbin/ifconfig without any parameters. As the program resides in /sbin, which is not typically in the user’s $PATH, you will need to specify the full path.

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Charly's Column: My Traceroute

    Charly takes the name of the “My Traceroute” tool very literally. The journey is the reward for this alternative TTL-measuring utility.

  • The sys admin's daily grind: traceroute

    Like every admin, Charly regularly uses the classic traceroute tool. If unfriendly digital natives interfere with an ICMP filter, he simply switches to a clever alternative like LFT.

  • Packet Telemetry with Host-INT

    Inband Network Telemetry and Host-INT can provide valuable insights on network performance – including information on latency and packet drops.

  • Pinger

    The Pinger network monitoring tool uses ping to look for switches and estimate cable lengths.

  • Hping

    Don't let intruders crash your dance. We'll show you how to test your firewalls and intrusion detection systems with hping.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More