From: Vinod Chandran <vinod_chandran@multitech.co.in>
To: lartc@vger.kernel.org
Subject: [Fwd: Re: [LARTC] sercice-based and ip-based shaping]
Date: Tue, 02 Aug 2005 05:29:12 +0000 [thread overview]
Message-ID: <42EF01D8.3000007@multitech.co.in> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: Re: [LARTC] sercice-based and ip-based shaping --]
[-- Type: message/rfc822, Size: 3404 bytes --]
From: Vinod Chandran <vinod_chandran@multitech.co.in>
To: Mihai Vlad <mihaivlad@web-profile.net>
Subject: Re: [LARTC] sercice-based and ip-based shaping
Date: Tue, 02 Aug 2005 10:36:00 +0530
Message-ID: <42EEFF38.1020405@multitech.co.in>
Hi Mihai,
You could have a parent class based on services, then have children of
that parent class based on ips.
for eg,
lets say the root is 1:1,
have FTP service class as 1:2 , parent 1:1
and then have a child say 1:21, 1:22 and so on whose parent is 1:2.
I have used mark values to classify traffic.
As far as rate/ceil values are concerned..
have class 1:2 rate/ceil 128/512.
1:21 - 8/128
1:22 - 8/64 ..
and so on...
1:1(512)
|
|
--------------------------------------------------------------------------------------
|
|
1:2(FTP)(128/512)
1:3( Telnet)(384/512)
|
|
--------------------------------------
--------------------------
|
|
| |
1:21 (8/128) 1:22 (8/64)
1:31(128/384)
1:32(128/256)
Hope this helps you,
Regards,
Vinod C
Mihai Vlad wrote:
>Hello guys,
>
>I need to accomplish 2 tasks with one Linux router:
>
>1) Shape the traffic based on services (e.g. HTTP max 512 kbps, P2P max 128
>kbps - with a lower prio, etc)
>
>2) After I have classified the traffic based on services, I want to pass it
>to the clients with different rates/ceils (one client will get 8/128 kbps,
>other 8/64 kbps, etc). If all the users are downloading via P2P I do not
>want the whole traffic to exceed the P2P service ceil (the 128 kbps - as
>stated before).
>
>
>I know how to shape based on protocols and services. I know how to shape a
>connection based on IP's. But how do I combine the both? How should the
>Hierarchy look like.
>
>
>Thanks in advance,
>
>Mihai VLAD
>
>
>
>
>_______________________________________________
>LARTC mailing list
>LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
reply other threads:[~2005-08-02 5:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42EF01D8.3000007@multitech.co.in \
--to=vinod_chandran@multitech.co.in \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.