This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!
Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.
Traceroute is a small shell application which shows the "route" and the routers a datapackege passes to reach a defined target computer. The output of traceroute doesn't show allways the right way, but helps you to find problems inside the network.
You can install the addon like any other with Pakfire or by using the shell with:
pakfire install -y tracecoute
Traceroute works by increasing the "time-to-live" value of each successive batch of packets sent. The first three packets sent have a time-to-live (TTL) value of one (implying that they are not forwarded by the next router and make only a single hop). The next three packets have a TTL value of 2, and so on. When a packet passes through a host, normally the host decrements the TTL value by one, and forwards the packet to the next host. When a packet with a TTL of one reaches a host, the host discards the packet and sends an ICMP time exceeded (type 11) packet to the sender. The traceroute utility uses these returning packets to produce a list of hosts that the packets have traversed en route to the destination. The three timestamp values returned for each host along the path are the delay (aka latency) values typically in milliseconds (ms) for each packet in the batch. If a packet does not return within the expected timeout window, a star (asterisk) is traditionally printed. Traceroute may not list the real hosts. It indicates that the first host is at one hop, the second host at two hops, etc. IP does not guarantee that all the packets take the same route. Also note that if the host at hop number N does not reply, the hop will be skipped in the output.
Run the following command on the shell of yor IPfire or by using a ssh-connection:
You will see smomething like this:
traceroute to ipfire.org (188.8.131.52), 64 hops max, 40 byte packets 1 10.0.0.1 (10.0.0.1) 0.730 ms 0.191 ms 0.251 ms 2 ip-88-153-176-1.unitymediagroup.de (184.108.40.206) 8.834 ms 12.441 ms 10.512 ms 3 1511G-MX960-02-ge-7-1-3.bochum.unity-media.net (220.127.116.11) 7.035 ms 10.943 ms 7.267 ms 4 1211F-MX960-02-xe-0-1-0.dortmund.unity-media.net (18.104.22.168) 8.552 ms 9.196 ms 8.863 ms 5 1411G-MX960-02-xe-1-1-0.neuss.unity-media.net (22.214.171.124) 9.295 ms 12.513 ms 15.112 ms 6 1411G-MX960-01-ae0.neuss.unity-media.net (126.96.36.199) 12.653 ms 7.072 ms 9.295 ms 7 1300-MX960-01-xe-0-3-0.kerpen.unity-media.net (188.8.131.52) 9.686 ms 11.658 ms 9.418 ms 8 * * * 9 cat6509-pg1-g64.netcologne.de (184.108.40.206) 14.332 ms 12.295 ms 14.089 ms 10 core-sto1-vl502.netcologne.de (220.127.116.11) 13.316 ms 15.650 ms 16.145 ms 11 rtkds-sto-g315.netcologne.de (18.104.22.168) 11.531 ms 12.482 ms 13.526 ms 12 22.214.171.124 (126.96.36.199) 13.304 ms 11.015 ms 13.599 ms 13 188.8.131.52 (184.108.40.206) 16.922 ms 14.264 ms 13.593 ms 14 uhweb28124.united-hoster.com (220.127.116.11) 13.226 ms 13.250 ms 13.611 ms