- Linux: https://github.com/esnet/iperf
- Windows: https://iperf.fr/iperf-download.php
Installation:
root@raspberrypi:~# uname -a Linux raspberrypi 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l GNU/Linux root@raspberrypi:~# apt-get install iperf root@raspberrypi:~# iperf -v iperf version 2.0.5 (08 Jul 2010) pthreads
Server:
root@raspberrypi:~# iperf -s -u -B 224.0.55.55 -i 1 ------------------------------------------------------------ Server listening on UDP port 5001 Binding to local address 224.0.55.55 Joining multicast group 224.0.55.55 Receiving 1470 byte datagrams UDP buffer size: 160 KByte (default) ------------------------------------------------------------
Client:
root@raspberrypi:~# iperf -c 224.0.55.55 -u -T 32 -t 30 -i 1 -b 100M ------------------------------------------------------------ Client connecting to 224.0.55.55, UDP port 5001 Sending 1470 byte datagrams Setting multicast TTL to 32 UDP buffer size: 160 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.168.115 port 53314 connected with 224.0.55.55 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 1.0 sec 11.5 MBytes 96.3 Mbits/sec [ 3] 1.0- 2.0 sec 11.4 MBytes 95.6 Mbits/sec [ 3] 2.0- 3.0 sec 11.4 MBytes 95.9 Mbits/sec [ 3] 3.0- 4.0 sec 11.4 MBytes 95.6 Mbits/sec
Tcpdump:
root@raspberrypi:~# tcpdump port 5001 -i any -s 0 -vv -w /tmp/mc.pcap -OR- root@raspberrypi:~# tcpdump -n -i eth0 -s 1515 udp 18:55:13.043590 IP 192.168.168.115.52764 > 224.0.55.55.5001: UDP, length 1470Public Server:
- https://iperf.fr/iperf-servers.php
Status:
- iPerf3 doesn't support "-u"
- Some of iPerf2/3 has problem to support "-B"
Fix:
- https://github.com/esnet/iperf/issues/193