Why does traceroute send three packets?












1















I'd like to learn why traceroute sends three packets per hop by default. (Nothing important, I'm just curious).



Edit: packages != packets










share|improve this question





























    1















    I'd like to learn why traceroute sends three packets per hop by default. (Nothing important, I'm just curious).



    Edit: packages != packets










    share|improve this question



























      1












      1








      1








      I'd like to learn why traceroute sends three packets per hop by default. (Nothing important, I'm just curious).



      Edit: packages != packets










      share|improve this question
















      I'd like to learn why traceroute sends three packets per hop by default. (Nothing important, I'm just curious).



      Edit: packages != packets







      traceroute






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 10 at 19:02









      Rui F Ribeiro

      40.5k1479137




      40.5k1479137










      asked Jun 8 '16 at 13:03









      rkhffrkhff

      247111




      247111






















          2 Answers
          2






          active

          oldest

          votes


















          1














          First, they're called "packets", not "packages".



          Multiple packets result in more information. Soft failure, asymmetric routing, and other network weirdness can't be seen with a single packet. With 2 packets, which result do you believe? With 3 packets, ...



          OTOH, programmer picked a default.






          share|improve this answer
























          • Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

            – rkhff
            Jun 8 '16 at 15:23



















          1














          Another reason for why traceroute sends three probes by default is to provide more detailed results for round-trip time (RTT) by showing the RTT of each of the three probe.



          You can modify the number of probes using the --queries / -q flag






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f288428%2fwhy-does-traceroute-send-three-packets%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            First, they're called "packets", not "packages".



            Multiple packets result in more information. Soft failure, asymmetric routing, and other network weirdness can't be seen with a single packet. With 2 packets, which result do you believe? With 3 packets, ...



            OTOH, programmer picked a default.






            share|improve this answer
























            • Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

              – rkhff
              Jun 8 '16 at 15:23
















            1














            First, they're called "packets", not "packages".



            Multiple packets result in more information. Soft failure, asymmetric routing, and other network weirdness can't be seen with a single packet. With 2 packets, which result do you believe? With 3 packets, ...



            OTOH, programmer picked a default.






            share|improve this answer
























            • Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

              – rkhff
              Jun 8 '16 at 15:23














            1












            1








            1







            First, they're called "packets", not "packages".



            Multiple packets result in more information. Soft failure, asymmetric routing, and other network weirdness can't be seen with a single packet. With 2 packets, which result do you believe? With 3 packets, ...



            OTOH, programmer picked a default.






            share|improve this answer













            First, they're called "packets", not "packages".



            Multiple packets result in more information. Soft failure, asymmetric routing, and other network weirdness can't be seen with a single packet. With 2 packets, which result do you believe? With 3 packets, ...



            OTOH, programmer picked a default.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 8 '16 at 15:00









            waltinatorwaltinator

            75048




            75048













            • Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

              – rkhff
              Jun 8 '16 at 15:23



















            • Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

              – rkhff
              Jun 8 '16 at 15:23

















            Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

            – rkhff
            Jun 8 '16 at 15:23





            Yes, I realised that after posting the question. Sending more than a single packet is of course also useful for making sure the round trip times are realistic.

            – rkhff
            Jun 8 '16 at 15:23













            1














            Another reason for why traceroute sends three probes by default is to provide more detailed results for round-trip time (RTT) by showing the RTT of each of the three probe.



            You can modify the number of probes using the --queries / -q flag






            share|improve this answer




























              1














              Another reason for why traceroute sends three probes by default is to provide more detailed results for round-trip time (RTT) by showing the RTT of each of the three probe.



              You can modify the number of probes using the --queries / -q flag






              share|improve this answer


























                1












                1








                1







                Another reason for why traceroute sends three probes by default is to provide more detailed results for round-trip time (RTT) by showing the RTT of each of the three probe.



                You can modify the number of probes using the --queries / -q flag






                share|improve this answer













                Another reason for why traceroute sends three probes by default is to provide more detailed results for round-trip time (RTT) by showing the RTT of each of the three probe.



                You can modify the number of probes using the --queries / -q flag







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 2 '18 at 2:08









                confused00confused00

                3201411




                3201411






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f288428%2fwhy-does-traceroute-send-three-packets%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?