网络营销师_王健
使用mtr 和 iperf3诊断网络情况
post by:王健 2025-11-13 0:39

Linux & Windows 网络测试:mtr + iperf3 快速指南

1️⃣ 安装工具(Linux)

sudo apt update -y sudo apt install -y iperf3 mtr sudo ufw allow 5201/tcp # 开放 iperf3 默认端口

2️⃣ MTR 测试延迟

mtr -rw -c 100 目标IP

输出每一跳延迟和丢包率


3️⃣ iperf3 测试带宽

a) Linux VPS(A)作为服务端

iperf3 -s

b) 另一台机器(B)测试上传速度

iperf3 -c VPS_IP

c) 测试下载速度(反向)

iperf3 -c VPS_IP -R

d) 双向同时测试

iperf3 -c VPS_IP --bidir

4️⃣ Windows 使用

Windows 命令与 Linux 类似,只需在 CMD 里运行对应 iperf3 命令

评论:
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容