Author: techfox9
Basic network diagnostics tools..
Monday, July 7th, 2008 @ 10:18 am
- — tcpdump
— Example:
tcpdump -enqti eth0 \( arp or icmp \)-e Print the link-level header on each dump line.
-n Don’t convert addresses (i.e., host addresses, port numbers, etc.) to names.
-q Quick (quiet?) output. Print less protocol information so output lines are shorter.
-t Don’t print a timestamp on each dump line.
-i Listen on interface.
- — ping
- — netstat -lptun
l = listening sockets (-a for all), p = show program (app), t = tcp, u = unix, n = numeric address.
- — arp
— Example:
arp -ne - — route
- — traceroute