How to send DSCP-marked packets using iperf?

Vidya picture Vidya · Feb 3, 2010 · Viewed 32.8k times · Source

How to send DSCP-marked packets using iperf?

I did not find the option in 1.7.0 version on Windows. Are there any newer versions of iperf for Windows?

Answer

José Ibañez picture José Ibañez · May 13, 2014

You have to run iperf with '-S' option:

iperf -c 10.19.4.10 -i 1 -u -b 5000K -r -S 0xB8

You can get your tos value here:

http://www.tucny.com/Home/dscp-tos