PowerEdge: How to Test Network Bandwidth Using iPerf

摘要: Use iPerf in server and client mode to measure network throughput between two systems and identify available bandwidth.

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

Note: The iPerf3 tool is an open source software that is available with source code. It is developed by ESnet (External Link) and Lawrence Berkeley National Laboratory (External Link). It is released under a three-clause BSD license (External Link). The iPerf3 tool is not a Dell Technologies tool.

Learn how to test network bandwidth and throughput using iPerf by configuring a client and server and interpreting network performance results.

Use iPerf to test available network bandwidth between systems and to measure network throughput and identify performance issue.


The iPerf3 utility is a commonly used network testing tool that measures the throughput of a network between two systems.

It allows the user to set various parameters that can be used for testing a network, or alternatively for optimizing or tuning a network. It has a client and server functionality and can measure the throughput between the two ends, either unidirectionally or bi-directionally. It is an open-source software that runs on various platforms including Linux, Windows, and VMware.

If a specific interface address must be used, you can specify the address to use with the -B <x.x.x.x> option.

When testing networks above 10G speeds its best to connect the client with multiple threads using the -P <threads> option.

 

Note: Additional information about iPerf3 and its uses can be found at iPerf.fr. (External Link).

Download or install the iPerf3 utility for the operating system (OS) being used:

Windows Installation:

  1. Download the latest binary for the iPerf tool (External Link)
  2. Extract the Binary .zip file anywhere on the local file system to later run it from.
  3. There is no install for Windows, instead open a command prompt at the location the utility was extracted to.

Red Hat Linux Installation: 

  1. Run the following command with superuser privileges (root):
dnf install iperf3

Ubuntu Linux Installation: 

  1. Run the following command with sudo privileges:
sudo apt install iperf3

 

Note: The iPerf utility is installed by default on VMware ESXi 7.0 and later and is located on the local file system at /usr/lib/vmware/vsan/bin/iperf3.

How to test available network bandwidth:

  1. On the server receiving data, run the following command:
iperf3 -s

The port used (Default 5201) must be opened if a local firewall is enabled. You can specify a specific port (if needed) with the -p <port> option.

  1. On the server sending data, run the following command:
iperf3 -c x.x.x.x

Replace the <x.x.x.x> with the IP address of the server from step 2.

iperf running on Windows in server mode

Figure 1: Image of iPerf3 running on Windows as server ready to receive data.

iperf client transfer output Figure 2: Image of iPerf3 running on Linux as client showing transfer results

其他資訊

  • What is the iPerf command to test bandwidth from a client?

To test network bandwidth from a client machine, the standard basic iPerf3 command is:

iperf3 -c <server_ip_address>

Replace <server_ip_address> with the actual IP address of your listening iPerf server. This default command runs a 10-second Transmission Control Protocol (TCP) throughput test.

  • How does iPerf measure network throughput?

iPerf measures network throughput by running client and server software on opposite ends of a network. The client transfers a stream of data packets across the connection for a set time. It then calculates throughput by taking the total number of successfully received bytes and dividing that result by the test duration.

For more information on iPerf, see iPerf - The ultimate speed test tool for TCP, UDP and SCTP (External Link).

受影響的產品

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows Server 2025, Red Hat Enterprise Linux Version 7, Red Hat Enterprise Linux Version 10, Red Hat Enterprise Linux Version 9 , Red Hat Enterprise Linux Version 8, SUSE Linux Enterprise Server 15, SUSE Linux Enterprise Server 16 ...

產品

Ubuntu Server LTS, VMware ESXi 7.x, VMware ESXi 8.x, VMware ESXi 9.x
文章屬性
文章編號: 000139427
文章類型: How To
上次修改時間: 14 Aug 2026
版本:  12
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。