Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire.

Please join in and help us improving it!

MTR

MTR or "My Traceroute" combines the functions of Traceroute and Ping in one tool.

Installation

MTR can be installed as an IPFire addon over the console with:

pakfire install mtr

or over the IPFire web interface via Pakfire

How it works

MTR works over the ICMP execution (ping) with a Time-To-Live Value (TTL) starting with 1 to the first hop (router).

Hereby the expired time of the packet are recognized and the packet will be discarded and a ICMP-response "Time-to-live exceeded" will be send back to the sender.

The next request becomes a TTL of 2 and so on. The information of each hop (routers) will be collected by the increased TTL-values and shows the way of the data packages to the target host.

MTR starts then again to display over a time progression the average of "Best-case" and "Worst-case" values.

Example

For a simplified output use the following command over the console of IPFire or use an ssh-connection for a remote shell:
mtr www.ipfire.org

this should give an similar output like this back:

                        My traceroute  [v0.82]
ipfire (0.0.0.0)                                           Fri Jul  6 12:06:17 2012
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                           Packets               Pings
 Host                                    Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. gateway                              0.0%   932    0.7   0.5   0.5  14.4   0.7
 2. xxxxxxxxxxxxxxxxx                    0.0%   932   12.7  12.7  11.7  83.4   3.5
 3. xxxxxxxxxxxx                         0.0%   932   14.2  17.2  12.8 138.4   8.6
 4. 92.79.212.213                        0.0%   931   16.1  19.1  12.8 158.9   6.7
 5. 92.79.213.122                        0.0%   931   15.8  21.3  15.0 148.0   5.8
 6. r1fra1.core.init7.net                0.0%   931   16.4  19.3  15.3 159.1   6.6
 7. gw-hetzner.init7.net                 0.1%   931   24.1  25.3  22.8 149.3   7.7
 8. hos-bb1.juniper2.rz12.hetzner.de     0.0%   931   28.2  30.1  27.8 146.1   8.8
 9. hos-tr4.ex3k12.rz12.hetzner.de       0.0%   931   30.4  29.7  27.7  52.0   1.8
10. albus.ipfire.org                     0.0%   931   28.4  28.7  27.0 210.2   6.7

There are a some more useful options, which can be overviewed in the below linked addresses


Edit Page ‐ Yes, you can edit!

Older Revisions • August 22 at 6:28 pm • Jon