Matt Harrison wrote: > Shorewall Geek wrote: >> >From further down in the dump, we see: >> >> class htb 1:11 parent 1:1 leaf 11: prio 1 quantum 1500 rate 40000bit >> ceil 512000bit burst 1504b/8 mpu 0b overhead 0b cburst 1563b/8 mpu 0b >> overhead 0b level 0 >> Sent 1656 bytes 12 pkt (dropped 0, overlimits 0 requeues 0) >> rate 0bit 0pps backlog 0b 0p requeues 0 >> lended: 12 borrowed: 0 giants: 0 >> tokens: 284570 ctokens: 23132 >> >> So exactly 12 packets were sent through class 1:11. > > You are exactly right, it is working, to a point. I now have categories > of traffic assigned to classes. > > I have a 512/256 ADSL line, thats actual transfer speeds of 62kB/s > download and 32kB/s upload. > > My device: > > #INTERFACE IN-BANDWITH OUT-BANDWIDTH > eth1 512kbit 256kbit > > My classes: > > # high priority, fastest class > eth1 1 40kbit 512kbit 1 tos-minimize-delay > > # medium-low priority, internet games > eth1 3 50kbit 100kbit 2 > tos-maximize-reliability > > # medium priority, managed bulk traffic > eth1 2 100kbit 512kbit 3 > > # low priority, catchall bulk traffic > eth1 10 50kbit 512kbit 10 default > > # low priority, bittorrent > eth1 9 50kbit 512kbit 11 > > > My problem now is that when I am downloading a file over http,
TRAFFIC SHAPING WORKS ON OUTPUT, NOT INPUT!!!!!!!!!!!!!!!!!!!! Download traffic is INPUT on the external interface -- all that is outgoing are ACKs. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
