1. 클라이언트 모드
- 상대주소 : 서버 주소
- 상대포트 : 서버 포트
# sudo iperf3 -c <상대주소> -i 1 -t 100 -p <상대포트> Connecting to host <상대주소>, port <상대포트> [ 4] local <로컬포트> port <로컬포트> connected to <상대주소> port <상대포트> [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 1.27 MBytes 10.7 Mbits/sec 0 427 KBytes [ 4] 1.00-2.00 sec 3.74 MBytes 31.4 Mbits/sec 0 617 KBytes [ 4] 2.00-3.00 sec 4.90 MBytes 41.1 Mbits/sec 0 733 KBytes [ 4] 3.00-4.00 sec 4.96 MBytes 41.6 Mbits/sec 0 738 KBytes [ 4] 4.00-5.00 sec 4.29 MBytes 36.0 Mbits/sec 0 742 KBytes [ 4] 5.00-6.00 sec 5.15 MBytes 43.2 Mbits/sec 0 754 KBytes [ 4] 6.00-7.00 sec 4.41 MBytes 37.0 Mbits/sec 0 781 KBytes [ 4] 7.00-8.00 sec 5.45 MBytes 45.7 Mbits/sec 0 820 KBytes [ 4] 8.00-9.00 sec 5.76 MBytes 48.3 Mbits/sec 0 878 KBytes [ 4] 9.00-10.00 sec 6.19 MBytes 51.9 Mbits/sec 0 957 KBytes
2. 서버 모드
- 상대주소 : 클라이언트 주소
- 로컬포트 : 서버 포트
$ ./iperf -s ------------------------------------------------------------ Server listening on TCP port <로컬포트> TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local <서버ip> port <로컬포트> connected with <상대주소> port 46402 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.2 sec 252 MBytes 206 Mbits/sec [ 5] local <서버ip> port <로컬포트> connected with <상대주소> port 46406 [ 5] 0.0-10.1 sec 388 MBytes 323 Mbits/sec [ 4] local <서버ip> port <로컬포트> connected with <상대주소> port 46408 [ 4] 0.0-73.7 sec 2.65 GBytes 309 Mbits/sec [ 5] local <서버ip> port <로컬포트> connected with <상대주소> port 46410 [ 5] 0.0-300.1 sec 12.7 GBytes 363 Mbits/sec [ 4] local <서버ip> port <로컬포트> connected with <상대주소> port 46414 [ 4] 0.0-100.1 sec 3.79 GBytes 325 Mbits/sec [ 5] local <서버ip> port <로컬포트> connected with <상대주소> port 46416 [ 5] 0.0-100.1 sec 4.31 GBytes 370 Mbits/sec ------------------------------------------------------------ Client connecting to <상대주소>, TCP port <로컬포트> TCP window size: 45.0 KByte (default) ------------------------------------------------------------ [ 5] local <서버ip> port 33352 connected with <상대주소> port <로컬포트> Waiting for server threads to complete. Interrupt again to force quit. [ 5] 0.0-100.1 sec 2.10 GBytes 180 Mbits/sec