Wednesday 3 April 2013

How to trace path in ubuntu?

How to trace path in ubuntu?

Sometimes it is not enough to ping the device. Sometimes we want to know what devices is this traffic going through before it reaches its destination.

In such cases tracing the route is very helpful. Ubuntu has relevant command to do this:

user@ubuntu:~$ tracepath <IpAddress/FQDN>

for example

Ip address:




This example shows how to trace the path of the traffic with use of IP address as the destination

and FQDN example:

This example shows how to trace the path of the traffic with use of FQDN as the destination

As you can see before the packet hits the destination it is going through a set of different type of devices.

This is particularly important during pentesting 

No comments:

Post a Comment