You can always do a simple traceroute to diagnose where the network issue or latency is or you can use mtr to do the job. The mtr application is a basic tool to help do traceroute and provide more information to help administrators diagnose where there are issues. The mtr application provides pocket loss information, the traceroute information, number of hops to your host destination, and ping statistics between your system and the host system.
How to install mtr on CentOS/Fedora or Debian:
The following are instructions on how to go about installing mtr on your Linux distribution.
For CentOS or Fedora system users:
yum install mtr
For Debian system users:
apt-get install mtr-tiny