traceroute & traceroute6 Flashcards
traceroute
traceroute tracks the route packets taken from an IP network on their way to a given host. It utilizes the IP protocol’s time to live (TTL) field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to the host.
tracerout -4
or
tracerout -6
IPv4 and IPv6
tracerout -F www.asfd.com
-F, Do not fragment packet.
traceroute -f
-f, Start from the first_ttl hop
traceroute -g 192.168.1.1 asdf.com
-g, Route the packet through a gate.
tracerout -m 5 asdf.com
-m max_ttl, Set the max number of hops for the packet to reach the destination.
traceroute -n asdf.com
-n, Do not resolve IP addresses to their domain names.
traceroute -q 1 adsf.com
-q, Set the number of probes for each hop
tracerout asdf.com 100
This sets the packet length, the default is 60.
tracerout asdf.com -w 1
-w, Sets the wait time for a response from each packet.