Close

Testing Network Performance on Dual Ethernet SP2302 Using WIZ850io (W5500)

securepiSecurePi wrote 05/27/2025 at 09:01 • 3 min read • Like

Secure Pi SP2302 now supports dual Ethernet interfaces using the WIZ850io module (powered by the W5500 SPI-based Ethernet chip). This guide shows how to:

Requirements

Step 1: Install iperf3 from GitHub on SP2302

1.1 Update system & install build tools

bash

sudo apt update
sudo apt install git build-essential autoconf automake libtool -y

1.2 Clone and compile iperf3

bash

git clone https://github.com/esnet/iperf.git
cd iperf
./configure
make
sudo make install

iperf3 binary and required libraries to /usr/local/lib.

Step 2: Fix libiperf.so.0 Linker Issue

You may encounter this error:

bash


iperf3: error while loading shared libraries: libiperf.so.0: cannot open shared object file

2.1 Create a linker config for /usr/local/lib

bash

echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/iperf3.conf

2.2 Update linker cache

bash

sudo ldconfig

✅ Verify

bash

iperf3 --version

Should show:

nginx

iperf 3.x

Step 3: Set Up iperf3 Server on PC

On Your Linux/Mac/Windows PC:

iperf3>span class="md-plain"> (if not already):

bash

sudo apt install iperf3       # On Linux
brew install iperf3           # On macOS

Run it as a server:

bash

iperf3 -s

Leave this terminal open — it waits for incoming tests.

Step 4: Test from SP2302 Client (W5500 via eth1)

4.1 Ensure eth1 has a valid IP

bash

ip addr show eth1

If not, apply your netplan or assign a static IP.

4.2 Run iperf test via eth1

bash

iperf3 -c <PC_IP> -B <SP2302_eth1_IP>

For example:

bash

iperf3 -c 192.168.1.100 -B 192.168.1.50

Testing Output:

bash

iperf3 -c 10.0.1.202 -B 10.0.1.69

From PC:

From SP2302:

Step 5: Optional - Reverse Direction Test

From PC:

bash

iperf3 -c 192.168.1.50

Testing Output:

bash

iperf3 -c 10.0.1.69

From PC:

From SP2302:

This checks inbound performance to the SP2302 over W5500.

Summary

StepCommand/ActionPurpose
Clone & build iperf3git clone, make install
Fix linker errorldconfig with /usr/local/libEnsure dynamic lib loading
Start PC serveriperf3 -sPC listens for traffic
Run client testiperf3 -c -BTest bandwidth from SP2302
Confirm resultsOutput with Mbits/secNetwork verified over W5500

Notes

Like

Discussions