實驗目的:
使用網路測量軟體iperf,並藉由改變其參數來觀察無線網路的產出量或封包遺失率等變化。
實驗環境配置:
使用iperf 時必須有iperf server 端與iperf client 端,因此,我們以一部架設無線基地台的桌上型電腦做為server 端(作業系統為windows),再以一部簡易型電腦(Eee PC)(作業系統為Linux)做為client 端。
實驗步驟:
server 端:
首先,server 端必須先啟動iperf server 服務。程序為開啟Dos 視窗,並參考下列參數說明啟動server 服務『iperf –s –參數』。注意要做的題目是UDP 或TCP,不同的傳輸模式在開啟server 時所下的參數亦不同。
Client 端:
開啟Eee PC 中的「無線網路」選項,並選擇與SSID 為「WN_Lab」的基地台聯結,接著開啟一終端機程式(Ctrl+Alt+t),並輸入『iperf –c X.X.X.X(server IP) –參數』與server 聯結,並依題目改變所下的參數。若須更改基地台設定(如:Channel No.),請在server 端可開啟網頁並在網址欄輸入192.168.1.1 進入無線基地台設定頁面,並由其中改變設定,進入設定頁面預設帳密皆為”admin”,請不要更改。更改完後client 端可能要重新聯結。
參數說明:
Usage: iperf [-s|-c host] [options]
iperf [-h|--help] [-v|--version]
Client/Server:
-f, --format [kmKM] format to report: Kbits, Mbits, KBytes, MBytes
-i, --interval # seconds between periodic bandwidth reports
-l, --len #[KM] length of buffer to read or write (default 8 KB)
-m, --print_mss print TCP maximum segment size (MTU - TCP/IP header)
-o, --output <filename> output the report or error message to this specified file
-p, --port # server port to listen on/connect to
-u, --udp use UDP rather than TCP
-w, --window #[KM] TCP window size (socket buffer size)
-B, --bind <host> bind to <host>, an interface or multicast address
-C, --compatibility for use with older versions does not sent extra msgs
-M, --mss # set TCP maximum segment size (MTU - 40 bytes)
-N, --nodelay set TCP no delay, disabling Nagle's Algorithm
-V, --IPv6Version Set the domain to IPv6
Server specific:
-s, --server run in server mode
-D, --daemon run the server as a daemon
-R, --remove remove service in win32
Client specific:
-b, --bandwidth #[KM] for UDP, bandwidth to send at in bits/sec
(default 1 Mbit/sec, implies -u)
-c, --client <host> run in client mode, connecting to <host>
-d, --dualtest Do a bidirectional test simultaneously
-n, --num #[KM] number of bytes to transmit (instead of -t)
-r, --tradeoff Do a bidirectional test individually
-t, --time # time in seconds to transmit for (default 10 secs)
-F, --fileinput <name> input the data to be transmitted from a file
-I, --stdin input the data to be transmitted from stdin
-L, --listenport # port to recieve bidirectional tests back on
-P, --parallel # number of parallel client threads to run
-T, --ttl # time-to-live, for multicast (default 1)
Miscellaneous:
-h, --help print this message and quit
-v, --version print version information and quit
分享到:
相关推荐
基于zynqmp的linux下网络测速工具iperf3的移植,实测可用,zynqmp芯片做为客户端,ubuntu作为服务器。
网络测速工具
Linux下 开源网络性能测试软件iperf源码 希望对大家学习网络探测技术有所帮助!
armv7交叉编译版,测试arm soc的网口速度,pc上直接安装sudo aptget install iperf 服务端,板子上运行iperf 客户端
iperf3非常好用的服务器测速软件,用来部署到服务器,用客户端发起网络测速,很实用
iperf PC端文件 网络测速
iperf_2.0.13网络测试软件
测试软件iperf学习
网络性能测试iperf
网络性能测试工具Iperf简介 网络性能测试工具Iperf简介 网络性能测试工具Iperf简介
txwb_iperf,GUI界面的iperf网吧局域网测速工具,简单易用,单文件版_天下网吧APP_网吧网咖APP txwb_iperf,GUI界面的iperf网吧局域网测速工具,简单易用,单文件版_天下网吧APP_网吧网咖APP 使用方法: 1、在服务端...
简单介绍Windows端和嵌入式系统上iperf的使用,包括下载地址。 免费共享中……
源代码官网https://sourceforge.net/p/iperf2/下载, 截止2019年11月5日最新源代码6a2475ebf2f69b279779a77b34a00ebfe4dec666打包下载;
iperf 下载地址 for Windows如果下载的是 iperf3,则输入命令时也是 iperf3 而不是 iperfCentos 上直接 yum sear
局域网速度测试软件 iperf,写了批处理文件,服务端运行后客户端只要输入服务器端的IP即可
Iperf 是一个网络性能测试工具。Iperf可以测试TCP和UDP带宽质量。Iperf可以测量最大TCP带宽,具有多种参数和UDP特性。包含Iperf使用方法与参数说明
Iperf软件及配置指导,详细指导如何使用Iperf软件操作,如何使用iperf软件跑流
可以提供很精确的网络测量,在命令行模式下通过server-client模式运行。
Iperf3测速客户端批处理版(x64) 请自行修改IP.IP.IP.IP为iperf3服务器IP,双机bat批处理问题运行,等待结果输出即可,如果想封装,请使用bat转exe软件封装加密即可。
iperf 测试网络质量的好东西