厦门服务器租用>高防服务器>Centos系统使用iperf3测速

Centos系统使用iperf3测速

发布时间:2023/4/11 10:44:59

Centos系统使用iperf3测速

1.下载iperf3安装包

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

Centos系统使用iperf3测速-2214

2.安装iperf3

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

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

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

iperf3 -s

Centos系统使用iperf3测速-2215

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

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

Centos系统使用iperf3测速-2216

Centos系统使用iperf3测速-2217

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

systemctl stop firewalld.service

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

Centos系统使用iperf3测速-2218

在线客服
微信公众号
免费拨打400-1886560
免费拨打0592-5580190 免费拨打 400-1886560 或 0592-5580190
返回顶部
返回头部 返回顶部