Tenda
  • Homepage
  • Home Network
    • Whole-Home Wi-Fi
    • Routers
    • Modems/ Gateways
    • Network Expansion
    • Adapters
  • Business Network
    • Switches
    • Gateway
    • Optical Access
    • Enterprise Wireless
    • CPE&Basestation
    • Cloud Service
  • Video Surveillance
    • IP Camera
    • Network Video Recorder
    • Video Security Kit
  • Where to Buy
    • Amazon UK
    • Amazon France
    • Amazon Germany
    • Amazon Spain
    • Amazon Italy
    • Amazon US
  • Help Center
    • Technical Support
    • Contact us
    • Product Center
    • Tech Specs
    • QIG Center
    • Download Center
    • FAQ Center
    • Video Center
    • Emulator Center
    • EOL Center
  • Profile
    • Profile
    • Contact Us
    • News
  • Choose language
Tenda

EN

Global / English / EN
Global-English Argentina-Español Australia-English Bolivia-Español Brazil-Português Bulgaria-Български език Central America and Caribbean-Español Chile-Español China-简体中文 Colombia-Español Czech-English Denmark-English Ecuador-Español Egypt-English France-Français Germany-Deutsch Greece-Ελλάδα Hongkong,China-繁體中文 India-English Indonesia-English Iraq-English Italia-Italiano Kazakhstan-English Kenya-English Mexico-Español Nordic-English Norge-English North Africa-English Peru-Español Poland-Polski Portugal-português Romania-Română Russia-Русский Saudi Arabia-English South Africa-English Spain-español Suomi-English Sverige-English Taiwan,China-繁體中文 Thailand-ไทย Turkey-Türkçe Ukraine-Українська United Arab Emirates-English United States-English Uruguay-Español Uzbekistan-Русский Venezuela-Español Vietnam-Tiếng Việt Nam
  • Home Network

    Product Center

    Home Network

    Where to Buy

    QIG Center

    Tech Specs

    Whole-Home Wi-Fi

    Good coverage for the whole home

    • New
    • Wi-Fi 6 Mesh
    • Wi-Fi 5 Mesh

    Routers

    More stable and reliable Wi-Fi Signal

    • New
    • Wi-Fi 7 Routers
    • Wi-Fi 6 Routers
    • Wi-Fi 5 Routers
    • Wi-Fi 4 Routers

    Modems/ Gateways

    Navigate to the internet

    • 5G Routers
    • 4G Routers
    • Mobile Wi-Fi
    • xDSL Modem

    Network Expansion

    Improve your network coverage

    • SOHO Switches
    • Powerline
    • Range Extenders

    Adapters

    Equip your devices for a faster Wi-Fi

    • PCIe Adapters
    • USB Adapters
  • Business Network

    Product Center

    Business Network

    Where to Buy

    QIG Center

    Tech Specs

    Switches

    Highly available design for a wide range of environments

    • New
    • Smart Switches
    • Managed Switches
    • Unmanaged Switches
    • PoE Switches
    • Cloud Switches
    • Media Converter
    • Accessories

    Gateway

    Navigate to the internet

    • Wireless Enterprise Router
    • Wired Enterprise Router

    Optical Access

    FTTX Solution

    • OLT
    • ONT
    • ONU
    • Accessories

    Enterprise Wireless

    Centralized Management

    • Ceiling AP
    • Desktop AP
    • In-wall AP
    • Outdoor AP
    • AP Controller

    CPE&Basestation

    Strict transmit performance requirements

    • Outdoor CPE
    • Antenna
    • Basestation

    Cloud Service

    Professional business manager

    • CloudFi Cloud
    • CloudFi App
  • Video Surveillance

    Product Center

    Video Surveillance

    Where to Buy

    QIG Center

    Tech Specs

    IP Camera

    Be your security guard

    • New
    • Home Security
    • SMB Securiy

    Network Video Recorder

    Robust recording and superior storage

    • PoE & Non-PoE

    Video Security Kit

    Easy to connect and simple to set up

    • Wi-Fi Kit
    • PoE Kit
  • Help Center

    Product Center

    Where to Buy

    QIG Center

    Tech Specs

    Download

     

    • Datasheet
    • Installation Guide
    • Firmware
    • User Guide
    • User Manual
    • HD Image
    • Drivers
    • CE
    • GPL

    FAQs

     

    • QA
    • Features&Configuration
    • Troubleshooting
    • Others

    Help Center

     

    • Contact us
    • Product Center
    • Download Center
    • FAQ Center
    • Video Center
    • Emulator Center
    • QIG Center
    • EOL Center

    Where to Buy

     

    • Amazon UK
    • Amazon France
    • Amazon Germany
    • Amazon Spain
    • Amazon Italy
    • Amazon US

    Service Provider

     

    • Privacy Statement
    • Discontinuation Policy
  • Partners
    • TE3L
    • RE3L
    • CH7-WCA
    • RH7-WCA
    • TC3T24C
    • TC3B24C
    • TN3104-4P
    • TN3108-8P
    • TN3108
    • TN3116
  •   
    •   QA
    •   Features&Configuration
    •   Troubleshooting
    •   Others

[Router/Gateways/Mesh-4.3] How to use Iperf to test the speed

 2024-07-26   680

This Article Applies to:

Usually, people may want to use Speedtest to measure the speed of the router when they encounter the problem that the device connected behind the router has a slower rate or that its speed is much slower than the ISP bandwidth.

But the result of Speedtest may be affected by the ISP and network delay, so we recommend you use the iPerf tool to test. This tool is a little software, and it is convenient to operate. Besides, when using iPerf, the host can connect to the server directly, eliminating the effects of the ISP and network congestion, and it can measure the most accurate speed, reducing the network influence to the lowest.

Additionally, compared to Speedtest, iPerf can conveniently conduct speed tests between two devices on the same local network as it allows for customizing the server.

Step 1 Install iPerf on computers

  1. Before having a test, you may need to install iPerf on both computers, and you can refer to the iPerf official website to download it: https://iperf.fr/iperf-download.php
  2. The latest version of iPerf is iPerf3, so we used in this FAQ is iPerf3. Please choose the right software version for your computer when downloading. For example, the operating system of the PC we used in this FAQ is Windows 11 64-bit, so we downloaded iPerf3-3.1.3-win64. After downloading, you will get a zip file. Extract the zip file, there will be two files: cygwin1.dll and iperf3.exe as the following figure shows.

    Note: Using different versions of iPerf for server and client may result in unsuccessful speed tests.image-20240429105222-1,20240429025223p
  3. Copy these two files to the path C:\Windows\System32, and then the installation is complete.
    image-20240429105222-2,20240429025223dimage-20240429105222-3,20240429025224r

Let's take a LAN-to-LAN speed test, for example.

Step 2 Setup the iPerf Server and Client to measure the speed of the router (LAN to LAN)

When using iPerf to test the speed, we need to set one PC as a server and another PC as a client. In this FAQ we set PC A as the server and PC B as the client.

  1. On PC A, press Windows key + R; put cmd in the Open bar and click OK; in the CMD dialog box, input the command iperf3 -s and press enter to set PC A as a server.

image-20240429105222-4,20240429025223u

  1. Perform the same operation on PC B to run CMD; in the CMD dialog box, input the command iperf3 -c 192.168.68.51, where the c means to set PC B as a client, and the IP address behind -c is the IP address of the server. After inputting this command, type the Enter key to start measuring the speed.

    Note: You can use iperf3 -c 192.168.0.1 -P <parallel> -t <time> instead, where <parallel> is the number of parallel client streams to run (default 1), <time> is the time in seconds to transmit for (default 10 secs). Take the picture above as an example. Sometimes, having a too-low parallel setting can result in slower speeds. In such cases, it's advisable to increase the parallel setting appropriately.image-20240429105222-5,20240429025224e

Step 3 How to perform LAN-to-WAN and WAN-to-LAN speed test

Set up the topology as shown below:

image-20240429105222-6,20240429025223r

  1. In the diagram above, PC A is connected to the WAN port of the router. PC B is connected to the LAN port of the router.
    Note: Please disable the firewall on both computers before testing. The firewall may block test traffic.
  2. Set the IP address of PC A to 192.168.0.1 and the subnet mask to 255.255.255.0.

    Note: Due to PC B connecting to the Router directly, PC B need not configure the Static IP address manually, PC B will get the IP address from the Router automatically. If you disabled the DHCP Server function on the Router, please set the Static IP address for PC B also.
    Note: Sometimes you may encounter a situation where the IP of PC B is 192.168.0.X. In this case, you should set the address of PC A to 192.168.1.1 with a mask of 255.255.255.0. (Just make sure A and B are not in the same IP address range.)image-20240429105222-7,20240429025223g
  3. Set the static IP address for the WAN port of the Router as 192.168.0.2 with the mask of 255.255.255.0. Go to the web interface of the Router first. Configure the static IP address for the WAN port of Router, as shown in the figure:image-20240429105222-8,20240429025224l
  4. Once the IP address configuration is completed, the next step is to run the iPerf3 speed test. Similar to Step 2, first run iperf3 -s on the Server (PC A); then on the Client (PC B), run:
    • iperf3 -c 192.168.0.1 to test LAN-to-WAN speed, which represents the upload speed in our daily lives.
    • iperf3 -c 192.168.0.1 -R to test WAN-to-LAN speed, which represents download speed, where -R indicates traffic in a reverse direction.
      Note: You can also add -P <parallel> -t <time> after the above commands, leaving a space between each.
Solved(1)
Unsolved(0)
  •  +86 755-2765 7180
  • support@tenda.cn
Home Network
Whole-Home Wi-Fi
Routers
Modems/ Gateways
Network Expansion
Adapters
Business Network
Switches
Gateway
Optical Access
Enterprise Wireless
CPE&Basestation
Cloud Service
Video Surveillance
IP Camera
Network Video Recorder
Video Security Kit
Self-service
Technical Support
Product Center
Tech Specs
Download Center
FAQ Center
Video Center
Emulator Center
QIG Center
EOL Center
Where to Buy
Amazon UK
Amazon France
Amazon Germany
Amazon Spain
Amazon Italy
Amazon US
Profile
About Us
Contact Us
News
Milestone
logo
  • Privacy Statement
  • Discontinuation Policy
   
All rights reserved © 1999-2023 Shenzhen Tenda Technology Co.,Ltd.
 Global / English/ 

Tenda Technology Tower ,#1001 Int' l E-City Zhongshanyuan Road,Nanshan District, Shenzhen China 518052