On 2009-12-09, Bryan S. Leaman <lea...@bitbytes.com> wrote: > Andres Salazar wrote: >> Thank you for your suggestions.. however in this particular case I >> still can download at 615Kbytes/sec .. at least now I can download at >> a lesser rate with the following: >> >> altq on $t_externa bandwidth 200Kb hfsc queue { bulk, ack } >> queue ack bandwidth 20% priority 2 qlimit 500 hfsc (realtime 40Kb >> upperlimit 40Kb) >> queue bulk bandwidth 80% priority 1 qlimit 500 hfsc (realtime 120Kb >> upperlimit 120Kb default) >> >> >> But I still cannot accomplish what I need > If you want to attempt to throttle inbound traffic, then you will need > to apply the queue to the *inside* interface, since queuing only works > for traffic leaving an interface. So the traffic leaving the inside > interface toward the internal LAN would be the inbound traffic. What > you have currently is being applied to outbound traffic.
yes, that's exactly it. >> However everytime I try, it just always ends up using the entire link. >> If I modify it to 1Kb , it ends up using around 80Kilobytes/sec . and this "works" because you're throttling the acks, so the sender slows down.