From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 09 Oct 2003 16:43:32 +0000 Subject: Re: [LARTC] Shaping services and users (2nd time) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 09 October 2003 09:02, Phill wrote: > Oh, I am sorry, I knew that, it's jsut that I was playing with the numbers > and I didn't check the sums. > > I know how to shape traffic coming from different users, > ..protocol ip dst IP...etc, And I know how to shape traffic > from each service. I just don't know how to glue them together. > > So what abou this? The point is that I want to be able to shape > both the services and the IPs. > > root(128/128) > +IP1(32/128)-----WWW(20/128) > > | +---Default(10/128) > | +---P2P(1/64) > | +---... > > +IP2(32/64)------WWW(20/64) > > | +---Default(10/64) > | +---P2P(1/64) > | +---... > > +IP3(32/64)--.... > ... You need a set of filters attached to the root qdisc so the traffic for the different IP's are placed in the IPx class. Then you need a second set of filters attached to the IPx classes and redirect all traffic to the different sub classes. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/