S&C Instruction Sheet 1072-570
19
Testing Bandwidth with
Iperf
Follow these steps to test bandwidth with Iperf:
STEP 1.
Configure your single-link network with the IP addresses shown in Figure 19 .
STEP 2.
Install Iperf in both laptop computers . Use DOS prompt to go to the Iperf
directory on both computers .
STEP 3.
Set up Iperf Server on Laptop #1 listening on UDP port 5001, UDP window size: 8 .00
KByte (default) .
Run
iperf -s -u -1 565 -t 30 -i 10
as shown in Figure 20 .
Single Link Testing
Iperf is a shareware tool developed to asses the performance of a network link . It can
measure the bandwidth, packet loss latency, and jitter of a link . S&C recommends using
Iperf for SpeedNet demonstrations and lab evaluations .
NOTICE
For Windows Vista and higher, Iperf must run in
Administrative Privilege mode . To run
in
Administrative Privilege mode: go to the
Start>All Programs>Accessories
screen .
Then, navigate to Command Prompt and right click to select the
Run as Administrator
option .
Figure 19. Testing single-link bandwidth.
Iperf Server
Laptop #1
192 .168 .10 .50
192 .168 .202 .10
192 .168 .10 .1
Iperf Client
Laptop #2
192 .168 .20 .50
192 .168 .202 .20
192 .168 .20 .1
Mask: 255 .255 .255 .0
Default Gateway:
192 .168 .10 .1
Mask: 255 .255 .255 .0
Default Gateway:
192 .168 .20 .1
Figure 20. Iperf screen shown at the server side.