2025-03-14 21:59:59 -06:00
|
|
|
# tracert
|
|
|
|
|
|
|
|
|
|
> Receive information about each step in the route between your PC and the target.
|
|
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tracert>.
|
|
|
|
|
|
|
|
|
|
- Trace a route:
|
|
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`tracert {{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Prevent `tracert` from resolving IP addresses to hostnames:
|
|
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`tracert /d {{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Force `tracert` to use IPv4 only:
|
|
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`tracert /4 {{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Force `tracert` to use IPv6 only:
|
|
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`tracert /6 {{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify the maximum number of hops in the search for the target:
|
|
|
|
|
|
2026-07-08 16:22:34 -06:00
|
|
|
`tracert /h {{max_hops}} {{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`tracert /?`
|