On Friday 24 May 2002 19:15, Justin Owens wrote: > Hello, > > I am testing HTB using Iperf to generate traffic on a couple of ports and > trying to shape the traffic. I am using the script following but my results > don't seem to make sense. > I am seeing 4627Kbps on port 100 and 6944 on port 150. > I'm sure there's a reasonable explaination for this but I can't find it ! > > Any help would be appreciated. You are probably mixing bytes and bits. In tc commands, kbps = kilobit. So 600kbps = 4800kilobyte per second. And you are measuring 4627Kbps. So that's 4627 kilobyte /s and very close to the 4800 you wanted with tc. Stef stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net