How to set the UDP Packet Size with iperf3? The flag "-M" does not work with iperf3. Is there an alternative?


-l is the suitable option for or UDP packet size in iperf3

not -M (which is MSS for TCP)


There isn't a way to do it directly in iperf3. However, you can adjust down the MTU size set on your network interface, and iperf will respect that. So long as you're looking to set your packet-sizes smaller than the actual network MTU, that is.

  • but then the packets get fragmented.. – Jimmy88 Nov 6 '16 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.