Thursday, August 26, 2010

Play with TTL value with ping

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 target-ip
on windows: ping -i target-ip

mtr

mtr -n www.microsoft.com

ping test with incremental TTL

Similar like Traceroute (and mtr),
We can conduct an incremental testing with one ICMP packet each time:
ping -t 1  -c 1 www.yahoo.com
ping -t 2  -c 1 www.yahoo.com

...

No comments:

Post a Comment