This return packet contains the sender’s IP address, and MTR displays this IP (or hostname, if it can resolve it) as the first hop. When a TTL reaches 0, the router drops the packet and sends the original sender an ICMP Time Exceeded packet. When that packet arrives at the router that is its gateway on its path to its eventual destination, the receiving router will decrement the TTL by 1, making it 0. The first packet will have a time-to-live (TTL) value of 1. MTR generates an ICMP Echo Request packet destined for the target IP/hostname of your mtr command. If you’re already acquainted with how the traceroute command works, then this explanation will sound familiar. To understand the output that MTR generates, you might find it helpful to know how it works. Install MTR on CentOS/Fedora: yum install mtr The mtr package includes support for the X-11 graphical interface. The mtr-tiny package is the command-line-only version of the mtr package. Install MTR on Ubuntu/Debian: sudo apt-get install mtr-tiny MTR packages are available for most of today’s popular Linux (or UNIX-based) operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |