From abf00dc56e68f59e9128ef4d8520846a955c8e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Fri, 14 Jul 2023 03:39:26 +0000 Subject: [PATCH] traceroute: update page (#10491) * traceroute: Use long options, use real argument, two more examples * traceroute: add unit to --wait argument --- pages/common/traceroute.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pages/common/traceroute.md b/pages/common/traceroute.md index a7f5b64a6..747c0d2d4 100644 --- a/pages/common/traceroute.md +++ b/pages/common/traceroute.md @@ -5,20 +5,28 @@ - Traceroute to a host: -`traceroute {{host}}` +`traceroute {{example.com}}` - Disable IP address and host name mapping: -`traceroute -n {{host}}` +`traceroute -n {{example.com}}` -- Specify wait time for response: +- Specify wait time in seconds for response: -`traceroute -w {{0.5}} {{host}}` +`traceroute --wait={{0.5}} {{example.com}}` - Specify number of queries per hop: -`traceroute -q {{5}} {{host}}` +`traceroute --queries={{5}} {{example.com}}` - Specify size in bytes of probing packet: -`traceroute {{host}} {{42}}` +`traceroute {{example.com}} {{42}}` + +- Determine the MTU to the destination: + +`traceroute --mtu {{example.com}}` + +- Use ICMP instead of UDP for tracerouting: + +`traceroute --icmp {{example.com}}`