sudo mz -B DESTINATION_IP -t udp -p PACKETSIZE -d DELAY_BETWEEN_TRANSMISSIONS_IN_US -c PACKET_CNTDelay can also be specified as "100m" for 100 milli seconds or "100s" for 100 seconds
$ sudo mz -B 10.0.0.4 -t udp "sp=12300, dp=12400" -p 550 -d 10u -c 1000000 Mausezahn will send 1000000 frames... 2.22 seconds (451010 packets per second) $After
-t udp
the source port and destination port can be specified.
sudo iperf -c DESTINATION_IP -p PORT -u -b DATARATE -l PACKETSIZE -t TIME_IN_SECONDSThe datarate can be specified like "72,7m".
iperf -s -u -U -l PACKETSIZE -p PORT -i REPORT_INTERVAL_IN_SECONDS
sudo iperf -V -c fe80::2e0:33ff:fe05:cebc%eth_internal -p 11000 -u -b 10M -l 120 -t 120IPv6 needs the '-V' flag and an network interface specified after the IP address, separated by the '%' letter.
iperf -s -V -u -U -l 120 -p 11000 -i 1On the server also the '-V' flag has to be specified for IPv6.
Graphical user interface for iperf.
There are different repositories to get jperf:ITGSend -a DESTINATION_IP -T UDP -c PACKETSIZE -C PACKETS_PER_SECOND -t TIME_IN_MS -pollOn the other side (DESTINATION_IP) we have to start ITGRecv.
ITGRecv -l /dev/shm/itgrecv_kkr.logWhen the recording is done, we can use ITGDec to create a statistic:
ITGDec /dev/shm/itgrecv_kkr.logWith the parameter -p we can figure out, where the drops appeared:
ITGDec /dev/shm/itgrecv_kkr.log -p 10000The result of ITGDec is always saved to file packetlogs.dat
cat packetlogs.dat