If you need to measure network throughput and capacity, I haven’t found a simpler solution than iperf. There isn’t much to say about the operation of iperf — it’s a very simple application in server/client mode.
In short, iperf can be installed on two machines within your network. You’ll run one as a server, and one as a client.
First we need to install iprerf (debian and ubuntu way):