Test the network speed between two Ubuntu/Linux Machines

Test the network speed between two Ubuntu/Linux Machines

 

iperf: It’s a client server arrangement in that you run it in server mode at one end and connect to its from another computer on the other side of the network.

One both machines run:

$ sudo apt-get install iperf

We’ll start an iperf server on one of the machines:

$ iperf -s

And then on the other computer, tell iperf to connect as a client:

$ iperf -c <address of other computer>

On the client machine, you’ll see something like this:

zen@pwning:~$ iperf -c 192.168.0.5
————————————————————
Client connecting to 192.168.0.5, TCP port 5001
TCP window size: 16.0 KByte (default)
————————————————————
[  3] local 192.168.0.4 port 37248 connected with 192.168.0.5 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.04 GBytes    893 Mbits/sec

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s