mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 11:51:39 +00:00
Update cheatsheets
This commit is contained in:
33
linux/tracepath
Normal file
33
linux/tracepath
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tracepath
|
||||
|
||||
> Trace the path to a network host discovering MTU along this path.
|
||||
> More information: <https://manned.org/tracepath>.
|
||||
|
||||
- A preferred way to trace the path to a host:
|
||||
|
||||
`tracepath -p {{33434}} {{host}}`
|
||||
|
||||
- Specify the initial destination port, useful with non-standard firewall settings:
|
||||
|
||||
`tracepath -p {{destination_port}} {{host}}`
|
||||
|
||||
- Print both hostnames and numerical IP addresses:
|
||||
|
||||
`tracepath -b {{host}}`
|
||||
|
||||
- Specify a maximum TTL (number of hops):
|
||||
|
||||
`tracepath -m {{max_hops}} {{host}}`
|
||||
|
||||
- Specify the initial packet length (defaults to 65535 for IPv4 and 128000 for IPv6):
|
||||
|
||||
`tracepath -l {{packet_length}} {{host}}`
|
||||
|
||||
- Use only IPv6 addresses:
|
||||
|
||||
`tracepath -6 {{host}}`
|
||||
Reference in New Issue
Block a user