Skip to main content

MTR Guide

This is a guide for gathering useful information on issues with the download and upload speeds that your local machine gets to and from your Ultra.cc service.

You will require your local machine's public IP address to perform all the steps listed in this guide. Disable any VPN/Proxy on your system and then check your IP at myip.com.

The guide shows you the following:

  1. Perform an MTR test from your Ultra.cc server to your Local Machine.
  2. Install MTR to your local machine and use it.
  3. Understand the results of the MTR tests you performed.

MTR

MTR is a diagnostic tool which can be used to determine which routers transmit data packets onto the destination host and which routers may be experiencing problems. This information allows us to figure out where a network problem lies. It is recommended by us to run a trace in both directions when troubleshooting.

(Local Machine -> Ultra.cc Server) & (Ultra.cc Server -> Local Machine).

MTR is installed by default on all our Ultra.cc servers.

MTR Usage on your Ultra.cc Slot

  1. Login to your Ultra.cc slot via SSH
  2. Execute the following command:
mtr -w -c 100 <Public IP address of your Local Machine>
Example:

Ultra_000065.png

Windows

MTR Installation

  1. Download WinMTR.
  2. Extract the compressed file using your favorite file archiver utiliy like WinRAR.
  3. Based on your system architecture; x32 or x64 navigate to the respective folder.
  4. Run WinMTR.exe

MTR Usage

  1. Enter your slot's hostname i.e hostname.usbx.me in the Host field, then click on Start.
  2. Wait for 100 packets to be sent, you can see this number under the Sent column.
  3. Once 100 packets are sent, click on Stop.
  4. In case results need to be shared with staff, the Copy Text to clipboard option will come in handy.
Example:

Ultra_000064.png

MacOS

MTR Installation

  1. Open a terminal window. You can do a spotlight search for it (Command + Space and then type Terminal).
  2. Install brew if you don't have it installed.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  1. Install MTR using brew.
brew install mtr 
  1. Check MTR version
ls /usr/local/Cellar/mtr/
  1. Change directory to MTR's install location.
cd /usr/local/Cellar/mtr/<version from Step 4>/sbin

Example:

cd /usr/local/Cellar/mtr/0.94/sbin
  1. Make MTR executable by your system.
cp -r mtr* /usr/local/bin/

In case the copy command fails due to permission error(s) run it again with sudo.

sudo cp -r mtr* /usr/local/bin/

MTR Usage

  1. Open a terminal window. You can do a spotlight search for it (Command + Space and then type Terminal).
  2. Execute the following command: sudo mtr -w -c 100 servername.usbx.me
Example:

Ultra_000066.png

Linux

MTR Installation

MTR can be installed on the various Linux Distros using their particular package tools.

  • Install MTR on Debian/Ubuntu using apt with the following command:
sudo apt update && sudo apt -y install mtr
  • Install MTR on CentOS/RHEL/Fedora using yum with the following command:
sudo yum update && sudo yum -y install mtr
  • Install MTR on Arch using pacman with the following command:
sudo pacman -Syyu && sudo pacman -S mtr

MTR Usage

  1. Open a terminal window.
  2. Run the following command:
mtr -w -c 100 hostname.usbx.me
Example:
mtr -w -c 100 oblivion.usbx.me

Understanding MTR Results

You should now have two MTR results. One performed from your Ultra.cc slot and one performed from your local device. The former describes the route that your Ultra.cc server is taking to transfer data to your local machine and the latter describes the route that your ISP takes to transfer data from your local device to your Ultra.cc server.

The Loss% at each hop is of importance. If it's 0% then there are no issues with routing and your speed problems lie elsewhere. On the other hand, if there is a lot of loss at multiple hops there is an issue with the route - it is congested.

Unfortunately, in the case that your upload speed isn't great and the route from your local device to your Ultra.cc server is congested, we cannot do much. Your ISP must be queried for this and they must provide better routing.