Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

8.6.29 Network testing basics

Install netkit-ping, traceroute, dnsutils, ipchains (for 2.2 kernel), iptables (for 2.4 kernel), and net-tools packages and:

     $ ping yahoo.com            # check Internet connection
     $ traceroute yahoo.com      # trace IP packets
     $ ifconfig                  # check host config
     $ route -n                  # check routing config
     $ dig [@dns-server.com] host.dom [{a|mx|any}] |less
           # check host.dom DNS records by dns-server.com 
           # for a {a|mx|any} record
     $ ipchains -L -n |less      # check packet filter (2.2 kernel)
     $ iptables -L -n |less      # check packet filter (2.4 kernel)
     $ netstat -a                # find all open ports
     $ netstat -l --inet         # find listening ports
     $ netstat -ln --tcp         # find listening TCP ports (numeric)

Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire