Skip to content
Menu
vAndu
  • Home
  • Home Lab
  • AI/ML & vGPU
  • Learning Hub
    • Body & Mind
    • Study- Guides & Tutorials
      • Virtualization environment is your Shaolin Temple, where you train your IT skills
      • vSphere/Workstation Pro is like a Lego suitable for all ages
      • VCP Certification Practical Prep. Guide
      • How to Study IT
      • Home Lab Building Guide for Beginners.
      • Video- Nvidia Tesla K80+ vSphere 7 U3+ Horizon + W11- Complete Installation and Setup Guide for Gaming
        • 01 Nvidia Tesla K80+ vSphere 7 U3+ Horizon + W11- Complete Installation and Setup Guide for Gaming
        • 02 VMware vSphere 7 + Horizon+ Nvidia Tesla K80 + Complete Installation and Setup Guide for Gaming
        • 03 Tesla K80 error Operation Failed Module DevicePowerOn Power on failed
        • 04 GAMING Tesla K80 VMWARE HORIZON CLIENT Fix the mouse cursor
        • 05 Benchmark Tesla K80 Heaven Benchmark 4 0 max graphics part1
        • 06 Benchmark Tesla K80 Heaven Benchmark 4 0 max graphics Part2
        • 07 Benchmark Tesla K80 3DMark Fire Strike & Time Spy
        • 08 GAMING Tesla K80 Shadow of the Tomb Raider v1 0 max graphics
        • 09 GAMING Tesla K80 Need for Speed Payback max graphics
        • 10 GAMING Tesla K80 Apex Legends max graphics
        • 11 GAMING Tesla K80 Deus Ex Mankind Divided max graphics
        • 12 GAMING Tesla K80 Deus Ex Breach max graphics
        • 13 GAMING Tesla K80 Overwatch max graphics
        • 14 GAMING Tesla K80 Trepang 2 max graphics
        • 15 GAMING Tesla K80 Overwatch max graphics Part 2
        • Crysis Remastered Gameplay VMware vSphere 7 U3 + Horizon + Nvidia Tesla K8
        • Deus Ex: Mankind Divided Gameplay. VMware vSphere 7 U3 and Nvidia Tesla K80
        • Overwatch Gameplay VMware vSphere 7 U3 + Horizon + Nvidia Tesla K8
  • YouTube
    • Home Lab YouTube Channel
    • Home Lab Cloud Gaming
  • Podcasts
    • Home Labbers Podcast
  • Security
  • Other
vAndu

Quick Guide on How to Use iperf3 to Measure Throughput Between Two ESXi 8.0 Update 3 Hosts or VMs

Posted on January 5, 2025January 5, 2025

Preparation:

  • Note: iperf3 is already included in ESXi; no need to download it from the iperf website.
  • Enable ESXi Shell and SSH on both hosts.

Steps for Each Host:

  1. Disable the ESXi Firewall (only during the test period) using the command:
    esxcli network firewall set --enabled false

  2. Enable iperf3 Execution by disabling application domain security policies:
    localcli system secpolicy domain set -n appDom -l disabled

  3. Navigate to the iperf3 location where the executable is stored.
    cd /usr/lib/vmware/vsan/bin

Testing:

  • On Host 1 (acting as the server), run:
    ./iperf3 -s

  • On Host 2 (acting as the client), connect to Host 1 by specifying its IP address (replace 10.1.0.21 with the actual server IP):
    ./iperf3 -c 10.1.0.21 -P 2 -w 10M -l 1M

    Here, -P 2 sets up 2 parallel connections. Adjust the number of connections by changing the value of -P (e.g., -P 6, -P 8, -P 20). -w 10M sets the TCP window size to 10 MB, and -l 1M sets the buffer length to 1 MB per I/O operation.

Final Steps:

  • After testing, re-enable the ESXi firewall on both hosts:
    esxcli network firewall set --enabled true

  • Re-enable security policies if necessary.

This guide will help you test network bandwidth between two ESXi hosts effectively using iperf3. Remember to restore the original security settings after completing your tests to maintain the security of your hosts.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X

Like this:

Like Loading...

Home Labber who likes to build things and push it to the limits. vSphere is like Lego for adults.

“The fastest way to learn IT is 80% labbing and 20% studying theory. Just do it and have fun.” – vAndu

“If you wish to achieve worthwhile things in your personal and career life, you must become a worthwhile person in your own self-development” – Brian Tracy

VMware vExpert 2023
VMware vExpert NSX
VMware vExpert Pro
©2026 vAndu | Powered by SuperbThemes!
%d