帮助文档>Linux实用技巧 > Centos系统使用iperf3测速

Centos系统使用iperf3测速

发布时间:2021-09-24 04:23
 

1.下载iperf3安装包

wget https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm

2.安装iperf3

我们需要准备2台服务器,都安装iperf3,其中1台作为服务端,另1台作为客户端:

rpm -i iperf3-3.1.3-1.fc24.x86_64.rpm

3.在服务端主机上启动iperf3

iperf3 -s

4.在客户端主机上启动iperf3,并作为客户端向服务端发起连接:

iperf3 -c 服务端IP地址> -d -t 60

如果报错“no route to host”,则需要先关闭服务端的防火墙再进行测试:

systemctl stop firewalld.service

5.iperf3还有一些其他的用法,可以通过命令iperf3 help进行查看

本文导读

客户热线:13306992629

客户服务中心