If you are experiencing network issues with your server, IONOS Support may request that you run the diagnostic tool MTR to collect information on the problem. MTR (My Traceroute) merges the ping and traceroute tools together and can help identify where a problem, such as packet loss, is occurring.
This guide will cover the process of installing MTR and running tests.
ICMP traffic should be permitted through your firewall:
- For Cloud Servers, VPS products, and bare-metal cloud (BMC) servers, the firewall policy can be edited via the Cloud Panel.
- For servers purchased before Oct. 28, 2018 and Server Deals, you may need to adjust your firewall policy in your IONOS account.
- If you have configured the host firewall on your server (e.g. iptables or Windows Firewall) to block ICMP traffic, you may need to adjust this.
For Linux distributions, MTR can generally be installed from the official software repositories for the operating system.
For Windows, WinMTR, a similar tool, can be downloaded.
It is important to ensure that MTR is installed on both the host you are experiencing connectivity issues from, such as your home or office computer, as well as the server itself, so tests can be performed from both sides. If more hosts are affected, you may run MTR on them as well.
Red Hat Enterprise Linux and derivatives (CentOS, AlmaLinux, Rocky Linux, etc.)
# yum install mtr
Debian and Ubuntu
# apt update
# apt install mtr
# zypper refresh
# zypper install mtr
- Download WinMTR from SourceForge.
- Open the ZIP file, navigate to WinMTR_x64, and run WinMTR.exe. If prompted to extract files, you may select Run.
Running MTR Tests
MTR should be run against the host for at least 1500 packets or until 10 minutes have elapsed. The test may be run longer, although this is the minimum amount of data our team will require.
This process should be repeated on each system so that you have test results for all hosts.
Linux and UNIX-like systems
- Run the following command and substitute the placeholder for the IP address of your host:
mtr -bw -c 1500 [CLIENT/SERVER IP] | tee mtr-results
Note that if this command is run multiple times, the mtr-results file will be overwritten with the results of the most recent test.
When the test is complete, the results will be saved to the mtr-results file, and they will also be displayed.
localhost:~# mtr -bw -c 1500 18.104.22.168
HOST: localhost Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.255.255.2 (10.255.255.2) 0.0% 1500 0.2 0.2 0.2 0.2 0.0
2.|-- 22.214.171.124 (126.96.36.199) 0.0% 1500 0.6 0.6 0.6 0.6 0.0
3.|-- ae-1-0.gw-dists1-a.slr.lxa.us.net.ionos.com (188.8.131.52) 0.0% 1500 0.5 0.5 0.5 0.5 0.0
4.|-- mx00.perfora.net (184.108.40.206) 0.0% 1500 0.9 0.9 0.9 0.9 0.0
- Copy the results from your terminal or download the mtr-results file.
- In WinMTR, set the Host to the IP address you wish to run the test against.
- Click the Start button to begin testing. Then, record the time and date you began the test. Results will start to appear.
- Allow WinMTR to run until at least 1500 packets have been sent or until 10 minutes have elapsed.
- When ready to end the test, click the Stop button, record the time and date when the test was ended, and then click the Export TEXT button to save the results.
Sending the Results to IONOS
If you need to send your MTR results to IONOS for network diagnostics, we need additional information in order to process your ticket as quickly as possible. Please follow the steps in the following article: