mtr, traceroute and tcptraceroute

Router will decrement TTL value within IP packet.
“ping” can be used to simulate how ICMP works in more complex tool such as “mtr”, “traceroute”.
Please try increasing ttl-value against any target machine is ICMP is enabled along the route.
  • on unix/linux: ping -t <number> target-ip
  • on windows: ping -i target-ip

mtr: ICMP by default

mtr -u: use UDP

mtr -n : display numeric IP

mtr -r: report

(UDP) traceroute 
(TCP ) tcptraceroute http://www.google.com 443 
 

ping test with incremental TTL

We can conduct an incremental testing with one ICMP packet each time:

ping -t 1  -c 1 http://www.yahoo.com
ping -t 2  -c 1 http://www.yahoo.com&#8230;
 
For the curious, can look up http://www.binbert.com/blog/2009/12/default-time-to-live-ttl-values/ to take a guess what the remote system might be.
 
Advertisements
This entry was posted in ICMP, mtr, ping, traceroute. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s