[LARTC] Problem with HTB and outgoing traffic

mohican 542003 thelastmohican54 at gmail.com
Wed Feb 21 09:20:31 CET 2007


Hello,

I'm using a script with tc, to limit my outgoing traffic :
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbit burst 6k
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst
172.28.54.9 flowid 1:1

I want to test bandwidth with iperf to see if limitation is correct.
Sometimes, I get correct measure for certain rates, but i often get measure
that do not correspond to rate.
For example, if rate is 500kbit, measure is 2000kbit/s...

Can someone help me ?

Thanks,
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070221/39f769b3/attachment.htm


More information about the LARTC mailing list