iperf is used to measure the network throughput of two servers.
To use it, have a server that listens for incoming connections, and tell the client to connect to it.
In both cases, using megabytes as format.
Server:
iperf -f M -s
Client:
iperf -f M -c [server]