Centos系统使用iperf3测速
时间:2024/5/21 8:34:39 来源:米安网络 作者:云主机配置专家 点击:291次
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进行查看
版权保护: 本文「Centos系统使用iperf3测速」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/879.html