From: "mohican 542003" Date: Wed, 21 Feb 2007 08:20:31 +0000 Subject: [LARTC] Problem with HTB and outgoing traffic Message-Id: <519f77360702210020s4408e2dw2d47ccee2f9ac04a@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0810539055==" List-Id: To: lartc@vger.kernel.org --===============0810539055== Content-Type: multipart/alternative; boundary="----=_Part_2873_7329286.1172046031850" ------=_Part_2873_7329286.1172046031850 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_2873_7329286.1172046031850 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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




------=_Part_2873_7329286.1172046031850-- --===============0810539055== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0810539055==--