How to send DSCP-marked packets using iperf?
How to send DSCP-marked packets using iperf?
I did not find the option in 1.7.0 version on W开发者_StackOverflow中文版indows. Are there any newer versions of iperf for Windows?
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
This posting explains how to enable DSCP in iperf. It's from 2003, so it should be in recent releases, I guess.
Ruby's packgen is good .
精彩评论