tldr/pages/common/mtr.md

29 lines
583 B
Markdown
Raw Normal View History

# mtr
> Matt's Traceroute: combined traceroute and ping tool.
2019-06-04 10:25:22 +01:00
> More information: <https://bitwizard.nl/mtr>.
- Traceroute to a host and continuously ping all intermediary hops:
`mtr {{host}}`
- Disable IP address and host name mapping:
`mtr -n {{host}}`
- Generate output after pinging each hop 10 times:
`mtr -w {{host}}`
- Force IP IPv4 or IPV6:
`mtr -4 {{host}}`
- Wait for a given time (in seconds) before sending another packet to the same hop:
`mtr -i {{seconds}} {{host}}`
2022-04-16 03:35:32 +01:00
- Display the Autonomous System Number (ASN) for each hop:
`mtr --aslookup {{hostname}}`