From: Stef Coene Date: Tue, 26 Oct 2004 19:46:54 +0000 Subject: Re: [LARTC] tc philosophy, will this work? Message-Id: <200410262146.54218.stef.coene@docum.org> List-Id: References: <200410252105.38144.zytek-lists@ostrow-wlkp.net> In-Reply-To: <200410252105.38144.zytek-lists@ostrow-wlkp.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Monday 25 October 2004 21:05, Jakub G=B3azik 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 CEILP0Kbit (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 CEILdKbit and RULE=10.0.0.1 > child class with CEILdKbit and RULE=10.0.0.2 > child class with CEILdKbit and RULE=10.0.0.N > child class with CEILP0Kbit 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 --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/