下载地址

https://iperf.fr/download/windows/iperf-3.1.3-win64.zip
https://iperf.fr/download/windows/iperf-3.1.3-win32.zip

下载完成后解压得到:cygwin1.dlliperf3.exe文件

运行CMD,进入解压的目录运行:iperf3.exe 就会看到下面的命令详解。

C:\Users\Anita\Desktop\iperf\64>iperf3.exe
iperf3: parameter error - must either be a client (-c) or server (-s)Usage: iperf [-s|-c host] [options]iperf [-h|--help] [-v|--version]Server or Client:-p, --port      #         server port to listen on/connect to-f, --format    [kmgKMG]  format to report: Kbits, Mbits, KBytes, MBytes-i, --interval  #         seconds between periodic bandwidth reports-F, --file name           xmit/recv the specified file-B, --bind      <host>    bind to a specific interface-V, --verbose             more detailed output-J, --json                output in JSON format--logfile f               send output to a log file-d, --debug               emit debugging output-v, --version             show version information and quit-h, --help                show this message and quit
Server specific:-s, --server              run in server mode-D, --daemon              run the server as a daemon-I, --pidfile file        write PID file-1, --one-off             handle one client connection then exit
Client specific:-c, --client    <host>    run in client mode, connecting to <host>-u, --udp                 use UDP rather than TCP-b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)(default 1 Mbit/sec for UDP, unlimited for TCP)(optional slash and packet count for burst mode)-t, --time      #         time in seconds to transmit for (default 10 secs)-n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)-k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead of -t or -n)-l, --len       #[KMG]    length of buffer to read or write(default 128 KB for TCP, 8 KB for UDP)--cport         <port>    bind to a specific client port (TCP and UDP, default: ephemeral port)-P, --parallel  #         number of parallel client streams to run-R, --reverse             run in reverse mode (server sends, client receives)-w, --window    #[KMG]    set window size / socket buffer size-M, --set-mss   #         set TCP/SCTP maximum segment size (MTU - 40 bytes)-N, --no-delay            set TCP/SCTP no delay, disabling Nagle's Algorithm-4, --version4            only use IPv4-6, --version6            only use IPv6-S, --tos N               set the IP 'type of service'-Z, --zerocopy            use a 'zero copy' method of sending data-O, --omit N              omit the first n seconds-T, --title str           prefix every output line with this string--get-server-output       get results from server--udp-counters-64bit      use 64-bit counters in UDP test packets[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-iperf3 homepage at: http://software.es.net/iperf/
Report bugs to:     https://github.com/esnet/iperfC:\Users\Anita\Desktop\iperf\64>

首先我们找两个点,一个视为服务器,另一个视为客户端。将软件复制到两个主机。

  • 服务器:192.168.0.250
  • 客户端:192.168.0.98

在服务器上运行

iperf3.exe -s     #启动服务

在客户端上运行

iperf3.exe -c 192.168.0.250
C:\Users\Anita\Desktop\iperf\64>iperf3.exe -c 192.168.0.250
Connecting to host 192.168.0.250, port 5201
[  4] local 192.168.0.98 port 55593 connected to 192.168.0.250 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  11.4 MBytes  95.4 Mbits/sec
[  4]   1.00-2.00   sec  11.0 MBytes  92.3 Mbits/sec
[  4]   2.00-3.00   sec  11.4 MBytes  95.3 Mbits/sec
[  4]   3.00-4.00   sec  11.2 MBytes  94.3 Mbits/sec
[  4]   4.00-5.00   sec  11.4 MBytes  95.6 Mbits/sec
[  4]   5.00-6.00   sec  11.2 MBytes  94.3 Mbits/sec
[  4]   6.00-7.00   sec  11.4 MBytes  95.3 Mbits/sec
[  4]   7.00-8.00   sec  11.2 MBytes  94.4 Mbits/sec
[  4]   8.00-9.00   sec  11.4 MBytes  95.5 Mbits/sec
[  4]   9.00-10.00  sec  11.2 MBytes  94.2 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   113 MBytes  94.7 Mbits/sec                  sender
[  4]   0.00-10.00  sec   113 MBytes  94.7 Mbits/sec                  receiveriperf Done.

最后再看服务端

局域网测速:iperf实现局域网点对点测试传输速度相关推荐

  1. 局域网千兆网速测试软件,局域网测速工具软件:charIOT

    charIOT是一款专业的局域网测速工具软件,并且是目前世界上唯一认可的应用层IP网络及网络设备的测试软件,可以提供端到端,多操作系统,多协议测试,多应用模拟测试,其应用范围包括有线,无线,局域,广域 ...

  2. 局域网测速工具lan_speed

    是否经常感觉家里网速比较慢而且还很不稳定? 这时就需要一个实用的工具来帮助用户进行网络的测试,还有这方面需求的朋友,赶紧试试lan speed test(局域网测速工具)吧 能提供精确的网速测试,也支 ...

  3. CHARIOT 一款专业的局域网测速工具软件

    用事实说话,CHARIOT CHARIOT是一款专业的局域网测速工具软件,并且是目前世界上唯一认可的应用层IP网络及网络设备的测试软件,可以提供端到端,多操作系统,多协议测试,多应用模拟测试,其应用范 ...

  4. 局域网测速工具iperf3使用

    局域网测速工具iperf3使用 1.安装 2.使用 2.1 服务端 2.2 客户端 1.安装 下载地址 下载rpm文件,上传至服务器,用如下命令安装. rpm -ivh iperf3-3.1.3-1. ...

  5. 【亲测有效】root安装软件和无需root权限两种方法linux点对点网络测速,网速测试,带宽测速,局域网测速

    方案1 直接安装程序执行即可 环境:Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64) apt install iperf 1)TCP测试 ...

  6. 局域网测速软件 iperf 的简要使用方法

    参考 http://www.slyar.com/blog/iperf-measure-network-performance.html 昨天趁京东做活动拿下一台千兆路由器.琢磨着要不要给家里的网络来个 ...

  7. iperf的ios版本;无线局域网测速

    在测试家里wifi质量的时候一直非常头疼的是speedtest之类的网站是受限于上联带宽的~入户100Mbps,内网再怎么测也没用~ 发现iperf有ios版本,非常方便~ 在PC端开一个iperf3 ...

  8. 局域网测速iperf3

    局域网又称内网,内网测速我们适用iperf3组件进行测速 1.安装 macOS:可以直接用brew安装 brew install iperf3 卸载:brew uninstall iperf3 win ...

  9. Linux磁盘/硬盘测速,dd命令,测试顺序读写,测试4K性能

    笔者也经常在网上查询信息,但发现很多信息都是照搬,内容甚至有错误,可用性很低.笔者就认为如果要分享就应该把遇到的问题真实的分享出来,让更多同路人少走弯路.节约时间. 觉得这篇文章有帮助的同学可以点个赞 ...

最新文章

  1. matlab直方图绘制
  2. linux下gzip
  3. 浅谈Spring MVC知识
  4. 11.13. Highslide
  5. Django模板语法
  6. setTimeout、setInterval解刨
  7. Hive 之 分析窗口函数
  8. ubuntu10.04下 简单配置samba
  9. Java CAS无锁技术深度解析
  10. numpy 加速 矩阵相加_图解入门 NumPy !
  11. MyEclipse报Errors occurred during the build. 异常
  12. android 获取屏幕的宽和高
  13. nyoj--496--巡回赛(拓扑排序)
  14. 机房的防火墙有何作用
  15. AR5B22网卡折腾记录
  16. python画图小例(玫瑰、佩奇、哆啦A梦、美队盾牌)
  17. 2022年人工智能领域发展七大趋势
  18. 云计算基础(一)2022-3-21
  19. LinuX 硬盘分区细节
  20. 图像处理系列05——Jetson Xavier NX平台JPEG硬解

热门文章

  1. 在cocos2dx2.2.3中遇到的error LNK2019: 无法解析的外部符号 _libiconv_closexxxxxxx的解决办法
  2. 锐龙R7 Pro 5850U怎么样 相当于什么水平
  3. IntelliJ IDEA授权服务器使用搭建
  4. 计算机一级之键盘操作技巧
  5. mysql事物开始命令_MySQL命令行事务
  6. playwright--screenshot 截图
  7. 未转变者3.20找不到服务器,解决最新版本3.20.X未转变者开服出错问题
  8. 读书笔记003:关于修身、齐家、为人处世的总结——曾国藩家书
  9. VSCode快捷键大全,大大提高开发效率
  10. 线程sleep、wait、yield、join区别