traceroute

Print the route packets trace to network host. More information: <https://manned.org/traceroute>.

Install

All systems
curl cmd.cat/traceroute.sh
Debian Debian
apt-get install traceroute
Ubuntu
apt-get install traceroute
Arch Arch Linux
pacman -S traceroute
image/svg+xml Kali Linux
apt-get install traceroute
CentOS
yum install traceroute-3
Fedora
dnf install traceroute-3
Windows (WSL2)
sudo apt-get update sudo apt-get install traceroute
Raspbian
apt-get install traceroute

Print the route packets trace to network host. More information: <https://manned.org/traceroute>.

  • Traceroute to a host:
    traceroute example.com
  • Disable IP address and host name mapping:
    traceroute -n example.com
  • Specify wait time in seconds for response:
    traceroute --wait=0.5 example.com
  • Specify number of queries per hop:
    traceroute --queries=5 example.com
  • Specify size in bytes of probing packet:
    traceroute example.com 42
  • Determine the MTU to the destination:
    traceroute --mtu example.com
  • Use ICMP instead of UDP for tracerouting:
    traceroute --icmp example.com

© tl;dr; authors and contributors