traceroute

IDevice Icon traceroute

The traceroute command displays the route a packet travels to reach a remote host on the network. The syntax is

        > traceroute [-r] host

             Important Flags          -i    :   Specifies a network interface for outgoing packets.

                           This is useful in system with more than one network interface.

                                                     -r   :   Bypasses normal routing tables and attempts to send directly to an attached host.

For example

> traceroute -r 152.106.50.27

 

The output could be

Tracing route to zeus.rau.ac.za [152.106.50.27] over a minimum of 30 hops

1 3ms      3ms 4ms xylan-40.rau.ac.za [152.106.240]

2 14ms     3ms 5ms 152.106.9.241

3 12ms 26ms 2ms zeus.rau.ac.za [152.106.50.27]

Another example is

traceroute -r issc.rau.ac.za

This command is called tracert in Windows.