Traceroute is a simple and useful network tool that helps you trace the path between your device and a website or IP address. It shows each network hop, measures the response time, and displays the route that data takes to reach the destination.
Features of Traceroute Tool:
- Trace the route to a website or server.
- View all network hops.
- Check the response time for each hop.
- Identify where network delays occur.
- Troubleshoot network connection problems.
- Learn basic network routing.
Installation Commands
Installing Traceroute in Termux is simple. Run the commands below one by one to install the tool and start tracing network routes.
Update Termux packages.
apt update && apt upgrade -y
Install Traceroute.
apt install traceroute -y
Check the installed version.
traceroute --version
Traceroute is now installed and ready to use.
Usage Commands
After installing Traceroute, you can use different commands to trace the network path to a website or IP address.
Display the help menu.
traceroute --help
Trace the route to a website.
traceroute google.com
Trace the route to an IP address.
traceroute 8.8.8.8
Use IPv4.
traceroute -4 google.com
Use IPv6.
traceroute -6 google.com
Use ICMP packets.
traceroute -I google.com
Use TCP SYN packets.
traceroute -T google.com
Use UDP packets.
traceroute -U google.com
Do not resolve IP addresses to hostnames.
traceroute -n google.com
Set the maximum number of hops.
traceroute -m 20 google.com
Set the number of probes per hop.
traceroute -q 5 google.com
Set the destination port.
traceroute -p 80 google.com
Set the wait time for replies.
traceroute -w 5 google.com
Show ICMP extensions.
traceroute -e google.com
Display the installed version.
traceroute -V
You can use these commands to trace the route to any website or IP address, Traceroute will automatically trace the route to the destination and display each network hop along with its response time.



