Suresh Payankannur

Wednesday, April 23, 2014

Inspecting network traffic with tcpdump

Some of the useful tcpdump commands to trouble shoot network issues:

List the interfaces
tcpdump -D
Get the traffic to specific host
tcpdump -i eth0 -vvv -A -l host host-to-check
To dump into a file
tcpdump -i eth0 -vvv -A -l host host-to-check -w file-to-dump
Read from a file
tcpdump -i eth0 -vvv -A -l -r file-to-read-from


Post a Comment

Blog Archive

Scroll To Top