[LARTC] tc philosophy, will this work?
Jakub Głazik
zytek@ostrow-wlkp.net
Mon, 25 Oct 2004 21:05:38 +0200
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
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?
I would be thankful for any answer that would allow me to understand tc
philosophy better ;)
--
.: Jakub Głazik (zytek)
.: email: zytek@ostrow-wlkp.net
.: JID: zytek@azazel.ostrow-wlkp.net