iperf测试udp带宽
1、Centos安装 yum 方式安装 1 2 yum -y install epel-release yum install iperf 2、Windows安装 64位 https://iperf.fr/download/windows/iperf-2.0.8b-win64.zip 32位 https://iperf.fr/download/windows/iperf-2.0.8b-win32.zip 3、测速 1 2 服务器命令行:iperf -s -u -i 1 -p 8080 -l 1380 客户端运行:iperf -u -c 10.12.23.47 -p 8080 -l 1380 -B 10.12.32.45 -t 10 -i 1 -b 200M 参数解释: 测试对端是10.12.23.47 测试对端的端口是8080 数据包大小是1380个字节 绑定本地网卡10.12.32.45 测试持续10秒钟 每隔1秒钟打印一次信息 最大发送带宽200M 参数说明 参数说明 -s :以server模式启动,iperf -s -c host : 以client模式启动,host是server端ip,iperf -c 222.35.11.23 通用参数: -f [kmKM] 分别表示以Kbits, Mbits, KBytes, MBytes显示报告,默认以Mbits为单位, ...