SIP Troubleshooting - Collect MTR Report and Network Traffic Capture

MTR is powerful network tool that enables administrators to diagnose and isolate networking errors and provide helpful reports of network status to upstream providers. In many cases, when troubleshooting, we usually require the report of MTR and Network Traffic Capture. They're very helpful to find out the root cause of the issue.

All reports must be collected while the troubles are occurring. If not, the result is meaningless.

Collect MTR Report

Using MTR on Unix-based Systems (Linux/GNU) 

Syntax of command

mtr [-hvrwctglspniu46] hostname [packetsize]

 For example, to test the route and connection quality of traffic to the destination (or the SIP domain in your SIP subscription page), with useful flag -rw -c50, input following command 

root@ip-10-7-1-231 ec2-user]# mtr -rw -c50 (or the SIP domain in your SIP subscription page)

Using MTR on Windows Systems

For Windows, we use the WinMTR. 

Using MTR on MAC OS X

To gather the MTR report on MAC OS X, you need to install mtr package at Rudix. then run the following command in Terminal

sudo /usr/local/sbin/mtr -rw -c50 (or the SIP domain in your SIP subscription page)

The destination host should be the SIP domain your SIP account is based on.
To understand more about MTR, please refer to Linode.

Collect Network Traffic Capture

To capture the network traffic, we using Wireshark/TShark tools, is a free and open-source packet analyzer. It is used for network troubleshooting, analysis.

Using TShark on Linux/GNU Systems 

Syntax of command , input tshark -h for Usage instruction

tshark [options]

For example, capture the network traffic on NIC0 and save the capture file with name "capture-output.pcap" enter following command

tshark -i eth0 -w capture-output.pcap

Press Ctrl + C to stop capture network traffic.

Using Wireshark on Windows (download) Note that select correct interface to capture network traffic.

How did we do?

Powered by HelpDocs (opens in a new tab)

Powered by HelpDocs (opens in a new tab)