I use two differentt tools in order to measure the bw: iperf3 and netcat.
Iperf3 gives a higher bandwidth than netcat. The way I used netcat is:
dd if=/dev