WARNING: did not receive ack of last datagram after 10 tries












0















I try making network performance measurement using iperf in UDP option. I perform all the operations in Ubuntu Terminal. I have two computer and I have number of interfaces on each of my computers. Interfaces other than Loopback and Local Host are created using high-gain antennas connected to computers. I create server side with the line of sudo iperf -s -u -B 192.168.2.2. For client side I use the line of sudo iperf -u -B 172.16.25.125 -c 192.168.2.2 -b 1M -t 15 -i -f m. It seems that interfaces are connected (the message is displayed only on the client side) to each other and client side shows Internal, Transfer and Bandwidth statistics for 15 seconds (comes from -t 15). However, in the end I expect Server Report to be displayed, but it is not displayed. Instead, I have WARNING: did not receive ack of last datagram after 10 tries, which is displayed only on the client side. In Server side, even "connected" message is not displayed. In server side basically nothing changes before, during, and after the iperf test. Thus, my question is why do I get this WARNING? How can I fix this? I appreciate your help.










share|improve this question



























    0















    I try making network performance measurement using iperf in UDP option. I perform all the operations in Ubuntu Terminal. I have two computer and I have number of interfaces on each of my computers. Interfaces other than Loopback and Local Host are created using high-gain antennas connected to computers. I create server side with the line of sudo iperf -s -u -B 192.168.2.2. For client side I use the line of sudo iperf -u -B 172.16.25.125 -c 192.168.2.2 -b 1M -t 15 -i -f m. It seems that interfaces are connected (the message is displayed only on the client side) to each other and client side shows Internal, Transfer and Bandwidth statistics for 15 seconds (comes from -t 15). However, in the end I expect Server Report to be displayed, but it is not displayed. Instead, I have WARNING: did not receive ack of last datagram after 10 tries, which is displayed only on the client side. In Server side, even "connected" message is not displayed. In server side basically nothing changes before, during, and after the iperf test. Thus, my question is why do I get this WARNING? How can I fix this? I appreciate your help.










    share|improve this question

























      0












      0








      0








      I try making network performance measurement using iperf in UDP option. I perform all the operations in Ubuntu Terminal. I have two computer and I have number of interfaces on each of my computers. Interfaces other than Loopback and Local Host are created using high-gain antennas connected to computers. I create server side with the line of sudo iperf -s -u -B 192.168.2.2. For client side I use the line of sudo iperf -u -B 172.16.25.125 -c 192.168.2.2 -b 1M -t 15 -i -f m. It seems that interfaces are connected (the message is displayed only on the client side) to each other and client side shows Internal, Transfer and Bandwidth statistics for 15 seconds (comes from -t 15). However, in the end I expect Server Report to be displayed, but it is not displayed. Instead, I have WARNING: did not receive ack of last datagram after 10 tries, which is displayed only on the client side. In Server side, even "connected" message is not displayed. In server side basically nothing changes before, during, and after the iperf test. Thus, my question is why do I get this WARNING? How can I fix this? I appreciate your help.










      share|improve this question














      I try making network performance measurement using iperf in UDP option. I perform all the operations in Ubuntu Terminal. I have two computer and I have number of interfaces on each of my computers. Interfaces other than Loopback and Local Host are created using high-gain antennas connected to computers. I create server side with the line of sudo iperf -s -u -B 192.168.2.2. For client side I use the line of sudo iperf -u -B 172.16.25.125 -c 192.168.2.2 -b 1M -t 15 -i -f m. It seems that interfaces are connected (the message is displayed only on the client side) to each other and client side shows Internal, Transfer and Bandwidth statistics for 15 seconds (comes from -t 15). However, in the end I expect Server Report to be displayed, but it is not displayed. Instead, I have WARNING: did not receive ack of last datagram after 10 tries, which is displayed only on the client side. In Server side, even "connected" message is not displayed. In server side basically nothing changes before, during, and after the iperf test. Thus, my question is why do I get this WARNING? How can I fix this? I appreciate your help.







      networking server iperf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 1 '17 at 3:39









      EricEric

      2314




      2314






















          1 Answer
          1






          active

          oldest

          votes


















          0














          If you're not seeing anything at all on the server side, it's likely not receiving anything at all from the client. I noticed your client and server appear to be on different networks, so I'd first ensure there's a path between them and that they can communicate with each other (can they ping?). Another possibility is a firewall exists in between them (default iperf port is 5001), so double-check to make sure the traffic isn't being blocked.



          One way to quickly check is to use nc to see if you can pass UDP datagrams back and forth. On the server side, run:
          nc -l -u 5001



          On the client side, run:
          nc -u 192.168.2.2 5001



          Then type something into the client side and see if it appears on the server side.






          share|improve this answer
























          • Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

            – Eric
            Feb 7 '17 at 3:57











          • Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

            – Eric
            Feb 7 '17 at 4:14











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f878525%2fwarning-did-not-receive-ack-of-last-datagram-after-10-tries%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          If you're not seeing anything at all on the server side, it's likely not receiving anything at all from the client. I noticed your client and server appear to be on different networks, so I'd first ensure there's a path between them and that they can communicate with each other (can they ping?). Another possibility is a firewall exists in between them (default iperf port is 5001), so double-check to make sure the traffic isn't being blocked.



          One way to quickly check is to use nc to see if you can pass UDP datagrams back and forth. On the server side, run:
          nc -l -u 5001



          On the client side, run:
          nc -u 192.168.2.2 5001



          Then type something into the client side and see if it appears on the server side.






          share|improve this answer
























          • Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

            – Eric
            Feb 7 '17 at 3:57











          • Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

            – Eric
            Feb 7 '17 at 4:14
















          0














          If you're not seeing anything at all on the server side, it's likely not receiving anything at all from the client. I noticed your client and server appear to be on different networks, so I'd first ensure there's a path between them and that they can communicate with each other (can they ping?). Another possibility is a firewall exists in between them (default iperf port is 5001), so double-check to make sure the traffic isn't being blocked.



          One way to quickly check is to use nc to see if you can pass UDP datagrams back and forth. On the server side, run:
          nc -l -u 5001



          On the client side, run:
          nc -u 192.168.2.2 5001



          Then type something into the client side and see if it appears on the server side.






          share|improve this answer
























          • Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

            – Eric
            Feb 7 '17 at 3:57











          • Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

            – Eric
            Feb 7 '17 at 4:14














          0












          0








          0







          If you're not seeing anything at all on the server side, it's likely not receiving anything at all from the client. I noticed your client and server appear to be on different networks, so I'd first ensure there's a path between them and that they can communicate with each other (can they ping?). Another possibility is a firewall exists in between them (default iperf port is 5001), so double-check to make sure the traffic isn't being blocked.



          One way to quickly check is to use nc to see if you can pass UDP datagrams back and forth. On the server side, run:
          nc -l -u 5001



          On the client side, run:
          nc -u 192.168.2.2 5001



          Then type something into the client side and see if it appears on the server side.






          share|improve this answer













          If you're not seeing anything at all on the server side, it's likely not receiving anything at all from the client. I noticed your client and server appear to be on different networks, so I'd first ensure there's a path between them and that they can communicate with each other (can they ping?). Another possibility is a firewall exists in between them (default iperf port is 5001), so double-check to make sure the traffic isn't being blocked.



          One way to quickly check is to use nc to see if you can pass UDP datagrams back and forth. On the server side, run:
          nc -l -u 5001



          On the client side, run:
          nc -u 192.168.2.2 5001



          Then type something into the client side and see if it appears on the server side.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 1 '17 at 10:12









          TLinTLin

          596




          596













          • Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

            – Eric
            Feb 7 '17 at 3:57











          • Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

            – Eric
            Feb 7 '17 at 4:14



















          • Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

            – Eric
            Feb 7 '17 at 3:57











          • Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

            – Eric
            Feb 7 '17 at 4:14

















          Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

          – Eric
          Feb 7 '17 at 3:57





          Hi, thank you very much for your response. Sorry, I should have seen this earlier. I did exactly what you have told me to do, but again nothing happens in the server side. After the commands you told me, I typed something in the client side, but server didn't receive anything. Does this mean that server and client are not connected?

          – Eric
          Feb 7 '17 at 3:57













          Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

          – Eric
          Feb 7 '17 at 4:14





          Also I tried ping. I used ping -I <interfaceName for 172.16.25.125> 192.168.2.2. Terminal says Destination Host Unreachable :( How can I fix this?

          – Eric
          Feb 7 '17 at 4:14


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f878525%2fwarning-did-not-receive-ack-of-last-datagram-after-10-tries%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 change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?