On Monday 26 May 2003 18:02, Osgaldo Suanzes wrote: > hi, there. > > #!/bin/sh > tc qdisc del dev eth1 root > tc qdisc add dev eth1 root handle 1: htb default 1 > tc class add dev eth1 parent 1: classid 1:1 htb rate 32kbps > tc qdisc add dev eth1 parent 1:1 handle 10: esfq > > This is my script to shape my download traffic on eth1 down to > 32KB(ADSL=256kbit). > How can I be sure the esfq disc is properly attached to the class? > If I comment out the ESFQ line, I have quiet the same results of > behaviour when I start downloading > from different boxes on that lan attached to eth1. (2 boxes downloading > are not having 50% each from the bandwitdth, > and 3 boxes downloading neither have 33,3% of the available bandwidth) > ESFQ is supposed to be "fair" ? or not? Yes. But it creates fairness between flows. And a flow is determined by ports and ip-addresses. I never tried esfq so I don't know how it should behave. > Something wrong on the script? If not how can I enhance my > settings? > Is there a way to see that ESFQ, SFQ is working? Not that I know. Stef -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net