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 sip1.b3networks.com (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 sip1.b3networks.com (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 sip1.b3networks.com (or the SIP domain in your SIP subscription page)|
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
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.