paint-brush
[iperf] Testing the Network Speed Between Two Machines in 4 Stepsby@peterchang_82818
1,995 reads
1,995 reads

[iperf] Testing the Network Speed Between Two Machines in 4 Steps

by March 22nd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

iPerf is a tool for active measurements of the maximum achievable bandwidth on IP networks (by <a href="https://iperf.fr/" target="_blank"><em>iperf.fr</em></a>).

Company Mentioned

Mention Thumbnail
featured image - [iperf] Testing the Network Speed Between Two Machines in 4 Steps
 HackerNoon profile picture

[iperf] Testing the Network Speed Between Two Machines in 4 Steps

How do you test the network speed between two boxes?

iPerf is a tool for active measurements of the maximum achievable bandwidth on IP networks (by iperf.fr).

Using Iperf is simple, run one instance on a server (receiving client) with the -s option and another instance on the testing client (sender) with the -c option.

1. Install (Server Linux)

$ wget http://sourceforge.net/projects/iperf/files/iperf-2.0.5.tar.gz/download

$ tar -xzvf iperf-2.0.5.tar.gz

2. Install (Client MAC)

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

$ brew install iperf

3. Run (Server Linux)

iperf -s — this will then start the server, listening to TCP port 5001 by default. You can change to any port you like (by cjcott01).

$ ./iperf-2.0.5/src/iperf -s

4. Run (Client Mac)

iperf -c 111.222.333.444 which is the ip address of the listening server (by cjcott01).

$ iperf -c 111.222.333.444 //target ip

Reference

https://iperf.fr/iperf-download.php#fedora

https://askubuntu.com/questions/7976/how-do-you-test-the-network-speed-between-two-boxes

https://iperf.fr/

https://travelingpacket.com/2014/04/15/iperf-for-bandwidth-testing/