All of lore.kernel.org
 help / color / mirror / Atom feed
* Some advice for QoS setup ...
@ 2003-01-09  6:41 Raymond Leach
  2003-01-09  8:20 ` Jörg Esser
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Leach @ 2003-01-09  6:41 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- Attachment #1: Type: text/plain, Size: 2473 bytes --]

Hi all

Am I going about this in the right way?

This is what I plan to do :

1. Outgoing www traffic originating from our web servers has priority 1
with min 30% bandwidth and max 60% bandwidth.
2. Outgoing mail traffic (smtp and pop3) originating from our mail
servers has priority 2 with min 5% bandwidth and max 20% bandwidth.
3. Outgoing ftp traffic originating from our ftp servers has priority 3
with min 5% bandwidth and max 10% bandwidth.
4. All other traffic has priority 4 with min 0% bandwidth and max 10%
bandwidth.

I was thinking of using htb and sfq. What should my 'tree that is not a
tree' look like?

I was also planning to use netfilter iptables to mark the traffic and
use tc to filter the packets based on the mark (let's say 1,2,3,4
corresponding to the priorities above).

Any suggestions?

I thought my tree would look something like this:

                              10: (htb)
                                 |
                              10:1 (htb)
                       (rate 512kbps, ceil 512kbps)
                                 |
    ________________________________________________________
   |                  |                  |                  |
10:10 (htb)        10:20 (htb)        10:30 (htb)        10:40 (htb)
(rate 153kbps,     (rate 25kbps,      (rate 25kbps,      (rate 0kbps,
 ceil 306kbps)      ceil 102kbps)      ceil 50kbps)       ceil 50kbps)
   |                  |                  |                  |
  SFQ                SFQ                SFQ                SFQ

Does my tree look correct? Will this tree honour the priorities I want
to set? Is netfilter FWMARK the right way to go here?

Regards

Ray
-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  Raymond Leach                       )
 ) Knowledge Factory                  (
(                                      )
 ) Tel: +27 11 445 8100               (
(  Fax: +27 11 445 8101                )
 )                                    (
(  http://www.knowledgefactory.co.za/  )
 ) http://www.saptg.co.za/            (
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   o                                o
    o                              o
        .--.                  .--.
       | o_o|                |o_o |
       | \_:|                |:_/ |
      / /   \\              //   \ \
     ( |     |)            (|     | )
     /`\_   _/'\          /'\_   _/`\
     \___)=(___/          \___)=(___/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-09  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09  6:41 Some advice for QoS setup Raymond Leach
2003-01-09  8:20 ` Jörg Esser

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.