Exercise 2-3: UDP throughput with 2 streams and variable data rate

Test the UDP throughput for the ideal IPerf packet size with simultaneous traffic from station 1 to the access point and from station 2 the access point. First, this will give similar results to Exercise 2-1. After 10 seconds the physical data rate of station 2 will be lowered to 12Mbit/s. Note that the physical data rate of station 1 remains unaltered.

Executed on the access point:

iperf -s -u -i 1 -p 5001
iperf -s -u -i 1 -p 5002

Executed on station 1:

iperf -c -u -b 50M -p 5001

Executed on station 2:

iperf -c -u -b 50M -p 5002
after 10 seconds:
iwconfig wlan0 set rate 12M