Let’s use iperf to measure networking performance. First, set a “server” machine.
From a “client” machine, run the test.
iperf -c <server_ip>
If you are having trouble getting the server’s IP, use
ip addr show to find addresses used by the current machine in any connected networks.