Iperf server
route add -host 239.255.1.3 ethx (where x is the interface used to transmit/receive multicast traffic)
iperf -s -B 239.255.1.3 -u -f m -i 5 – This command will run iperf in server mode. It will to join multicast group 239.255.1.3 and receive 1470 byte UDP datagrams from the client once the client is started. Rates will be formatted in Mbps and will be reported every 5 seconds.
root@perf138:iperf-2.0.4# iperf -s -B 239.255.1.3 -u -f m -i 5 ------------------------------------------------------------ Server listening on UDP port 5001 Binding to local address 239.255.1.3 Joining multicast group 239.255.1.3 Receiving 1470 byte datagrams UDP buffer size: 8.00 MByte (default) ------------------------------------------------------------ [ 3] local 239.255.1.3 port 5001 connected with 10.4.2.139 port 32952 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0- 5.0 sec 570 MBytes 957 Mbits/sec 0.017 ms 0/406906 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 5.0-10.0 sec 570 MBytes 957 Mbits/sec 0.015 ms 0/406894 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 10.0-15.0 sec 570 MBytes 957 Mbits/sec 0.016 ms 0/406905 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 15.0-20.0 sec 570 MBytes 957 Mbits/sec 0.018 ms 0/406891 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 20.0-25.0 sec 570 MBytes 957 Mbits/sec 0.013 ms 0/406897 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 25.0-30.0 sec 570 MBytes 957 Mbits/sec 0.010 ms 0/406907 (0%) [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0-30.0 sec 3423 MBytes 957 Mbits/sec 0.026 ms 0/2441426 (0%) root@perf138:iperf-2.0.4#
Iperf client
route add -host 239.255.1.3 ethx (where x is the interface used to transmit/receive multicast traffic)
iperf -c 239.255.1.3 -u -b 957m -f m -i 5 -t 30 – o This command will run iperf in client mode. It will transmit 1470 byte UDP datagrams to destination address 239.255.1.3 at a rate of 957 Mbps. The test will terminate after 30 seconds. Rates will be formatted in Mbps and will be reported every 5 seconds.
root@perf139:iperf-2.0.4# iperf -c 239.255.1.3 -u -b 990m -f m -i 5 -t 30 ------------------------------------------------------------ Client connecting to 239.255.1.3, UDP port 5001 Sending 1470 byte datagrams Setting multicast TTL to 1 UDP buffer size: 0.06 MByte (default) ------------------------------------------------------------ [ 3] local 10.4.2.139 port 32952 connected with 239.255.1.3 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 5.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 5.0-10.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 10.0-15.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 15.0-20.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 20.0-25.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 25.0-30.0 sec 570 MBytes 957 Mbits/sec [ ID] Interval Transfer Bandwidth [ 3] 0.0-30.0 sec 3423 MBytes 957 Mbits/sec [ 3] Sent 2441428 datagrams root@perf139:iperf-2.0.4#
Bir cevap yazın