# How to Perform MTR

{% hint style="info" %}

### How to Perform MTR

**MTR** (My Traceroute) is a powerful network diagnostic tool that combines the functionality of `traceroute` and `ping`. It allows you to send packets from your local machine to a remote server, enabling you to observe routing paths and network performance. This can be particularly useful for isolating issues related to latency or connectivity.
{% endhint %}

{% hint style="info" %}

#### Importance of MTR

* **Identify Connectivity Issues**: MTR helps pinpoint where connections may be failing or experiencing delays.
* **Network Performance**: It assesses network performance over time and identifies "bad hops" that might affect your connection.
  {% endhint %}

#### Performing an MTR Test

MTR can be run on Windows, MacOS, or Linux. It's essential to test using the specific ISP network you're having trouble with.

#### Perform an MTR on Linux

1. **Install MTR**:
   * For RHEL-based distributions (CentOS, Fedora, RHEL):

     ```bash
     yum install mtr
     ```
   * For Debian-based distributions (Ubuntu):

     ```bash
     apt-get install mtr
     ```
2. **Run the MTR Test**:

   ```bash
   mtr testing.com -c 1000 -r
   ```
3. **Copy the Output**: Paste the output and send it to Support if requested.

{% hint style="info" %}
Ensure you replace `testing.com` with the actual domain or IP address you want to test.
{% endhint %}

#### Perform an MTR on Windows

1. **Download and Install WinMTR**:
   * Download WinMTR.
   * Unzip the file and double-click `WinMTR64.exe`.
2. **Run the MTR Test**:
   * Enter a domain name or IP address in the host box and press **Start**.
   * Let it run for 15 minutes, then click **Stop**.
3. **Copy the Output**: Paste the output and send it to Support for further troubleshooting.

#### Perform an MTR on MacOS

1. **Install Homebrew** (if not already installed):

   ```bash
   /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
   ```
2. **Install MTR**:

   ```bash
   brew install mtr
   ```
3. **Make MTR Available**:

   ```bash
   sudo cp /usr/local/Cellar/mtr/0.94/sbin/mtr /usr/local/bin/
   ```
4. **Run the MTR Test**:

   ```bash
   sudo mtr google.com -r
   ```

   * Run the test for 10-15 minutes.
5. **Copy the Output**: Paste the output and send it to Support for further troubleshooting.

{% hint style="info" %} <mark style="color:red;">**Make sure you have the necessary permissions when running these commands, especially with**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`sudo`**</mark><mark style="color:red;">**.**</mark>
{% endhint %}

#### Conclusion

Using MTR is an effective way to diagnose network issues. If you encounter difficulties or need assistance, don't hesitate to reach out to Support with your MTR output.
