On Monday 25 October 2004 21:05, Jakub Głazik wrote: > Correct me if I'm wrong, I just want to help my friend who needs a tc > solution with fairness to hosts on a 512K/s DSL line, but few of them > should be restricted to 64K/s > > I thought about htb + esfq (sfq with ip based fairness, not connection) > > parent class with CEIL=500Kbit (no RULE? see *1) and attached esfq to this > parent class, now Attaching esfq is useless, it will removed as soon as you add a child class. > child class with CEIL=64Kbit and RULE=10.0.0.1 > child class with CEIL=64Kbit and RULE=10.0.0.2 > child class with CEIL=64Kbit and RULE=10.0.0.N > child class with CEIL=500Kbit and RULE=10.0.0.0/24 > > is this correct? or: > > *1 maybe here I will need RULE=10.0.0.0/24 ? > so the traffic would be directed to the parent and then 64Kbit for each > shaped host, and rest (with fairness) to other hosts in the subnet? or the > traffic would be shaped to 500Kbit and will never run thru child classes? You can use 1 filter to put all traffic in the child class. > I would be thankful for any answer that would allow me to understand tc > philosophy better ;) Try the faq pages on www.docum.org: http://www.docum.org/docum.org/faq/cache/10.html Stef -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/