You are on page 1of 1

Tracert, or "traceroute", is a command-line network tool used to show the path that

network packets take from one host to another. Here are the steps to use tracert in
Kali Linux:

Open a terminal window in Kali Linux. You can do this by clicking on the terminal
icon in the taskbar, or by using the keyboard shortcut Ctrl+Alt+T.

Type "traceroute" followed by the IP address or domain name of the host you want to
trace the route to. For example, if you want to trace the route to Google's DNS
server (8.8.8.8), type:

Copy code
traceroute 8.8.8.8
Press Enter to execute the command. Traceroute will start sending packets to the
specified host and display the path that they take, hop by hop, from your computer
to the destination.

You can customize the traceroute command by using various options. For example, you
can set the number of hops to trace by adding the "-m" option followed by the
maximum number of hops. For example, to trace up to 15 hops, type:

Copy code
traceroute -m 15 8.8.8.8
You can also use the "-p" option to specify the port number to use for the
traceroute packets, and the "-n" option to display IP addresses instead of domain
names.

That's it! Traceroute is a useful tool for troubleshooting network connectivity


issues and understanding the path that packets take across the internet.

You might also like