Ethernet Interface
Ethernet Interface Testing
The ROCK 4A/4B/4A+/4B+/4SE has 1 Ethernet ports. Below we will conduct a simple test of the ROCK 4A/4B/4A+/4B+/4SE's Ethernet interface.
- Hardware Connection

- Check Connection Status
After the system boots up, open the terminal and run the following command to check if the Ethernet connection is working properly. If connected correctly, the ROCK 4A/4B/4A+/4B+/4SE will automatically obtain an IP address.
ip a

As shown in the image, the Ethernet has automatically obtained an IP address, indicating that the Ethernet connection is working properly.
- Test Connectivity
ping -c 4 google.com
If you get a response, the connection is working properly.
If there's no response, please check your network configuration.
-
Test Speed
- First, install iperf3 on both your host machine and the ROCK 4A/4B/4A+/4B+/4SE
sudo apt-get install iperf3- On the host machine, run as server:
iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
------------------------------------------------------------ On the ROCK 4A/4B/4A+/4B+/4SE, run as client to test upload speed:
iperf3 -c <server-ip> -t 20 -i 1 -w 2M
- Test results:
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-20.00 sec 2.67 GBytes 1.15 Gbits/sec 198 sender
[ 4] 0.00-20.00 sec 2.67 GBytes 1.15 Gbits/sec receiver- Parameter explanation:
Parameter Description -c Client mode, followed by server IP -t Test duration in seconds -i Output interval in seconds -w Window size -P Number of parallel threads -R Reverse test (server sends, client receives) -d Bidirectional test -u Use UDP protocol -b Target bandwidth -p Server port -V Show version information -h Show help information - For more parameter details:
iperf3 -h
- To test download speed, run the following command on the ROCK 4A/4B/4A+/4B+/4SE:
iperf3 -c <server-ip> -R -t 20 -i 1 -w 2M
Radxa 23W PoE HAT
Please refer to PoE HAT Usage.