Pages

Friday, March 7, 2025

How to run IPERF on ESXi host?

# Disable firewall
esxcli network firewall set --enabled false
# Allow execute binaries which are not part of base installation
localcli system settings advanced set -o /User/execInstalledOnly -i 0
 
# Make a copy of iperf
cd /usr/lib/vmware/vsan/bin
cp iperf3 iperf3.copy
chmod +x iperf3

# Run iperf server
./iperf3.copy -s -B 192.168.123.22

# Run iperf client (typically from another ESXi host than iperf server)
./iperf3.copy -c -B 192.168.123.22

After iperf benchmarking you should enable firewall and disallow execution of binaries which are not part of base installation
 
# Cleaning
esxcli network firewall set --enabled true
localcli system settings advanced set -o /User/execInstalledOnly -i 1
 

No comments:

Post a Comment