For UDP (-u) the -l on the client defines the UDP payload size. A 1470 byte UDP payload will generate the max ethernet frame for ipv4 and 1450 bytes for ipv6.
TCP is a byte protocol where there is no direct control of a layer 2 packet's frame size. The -l sets the write() size, -w the window size, -M the maximum segment size and the MTU size is set on an interface per the operating system. Bob On Wed, May 29, 2019 at 8:55 AM Sudeep Gupta <[email protected]> wrote: > Hi, > > I want to run a test using a fixed framesize. I couldn't find an option to > set the framesize in iperf documentation. Can someone point me to the > parameter which can specify framesize? > > Regards, > Sudeep > _______________________________________________ > Iperf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iperf-users >
_______________________________________________ Iperf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iperf-users
