[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 317] ALTQ 2.0 - DiffServ



Hi,
(first of all sorry for my basic undestanding and thank you for your
patience)

I'm trying to setup DiffServ using ALTQ v2.0

Copying the TIPS.txt file, we have the following diagram:

                       diffserv network
                +------------------------------+
                |                              |
   src ----> ingress --------> core --------> egress ----> sink
             diffedge                         diffedge

          - MF classifier  - BA classifier  - BA classifier
          - meter/marker   - meter/marker   - meter/marker
          - AF/EF PHB      - AF/EF PHB      - AF/EF PHB
                                            - clear dscp

I have setup three FreeBSD routers to play the role of Ingress, Core,
and Egress (although I could use less that three)

I'm trying to see what exact altq.conf sections/disciplines I need in
each node/router.
The <conditioner> acts as a meter and marker. right?
Do I need it in the core? (probably

***********
At ingress:
***********
Input interface has the conditioners (MF classification, meter/marker),
output has the AF/EF PHB.
e.g. (from the TIPS.txt file)
(input IF, pvc1 in this example)
        #
        # EF style conditioner (a simple token bucket)
        #
        conditioner pvc1 ef_cdnr <tbmeter 6M 64K <pass><drop>>
                filter pvc1 ef_cdnr 0 0 172.16.4.176 0 0

        #
        # AF style conditioners (trTCM)
        #
        conditioner pvc1 af1x_cdnr \
            <trtcm 3M 32K 10M 64K <mark 0x28><mark 0x30><mark 0x38>
colorblind>
                filter pvc1 af1x_cdnr 0 0 172.16.4.177 0 0
(other AF filters have to be defined too...)

(output IF, pvc0 in this example)
        #
        # output interface
        #
        interface pvc0 bandwidth 45M cbq
        class cbq pvc0 root_class NULL pbandwidth 100
        class cbq pvc0 def_class root_class borrow pbandwidth 86 default
        #
        # EF class
        #
        class cbq pvc0 ef_class root_class pbandwidth 14 priority 5
                filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc
        #
        # AF classes
        #
        # rio threshold values
        rio 40 50 10 20 30 10 5 15 10
        #
        class cbq pvc0 af1x_class def_class borrow pbandwidth 20 rio
        class cbq pvc0 af2x_class def_class borrow pbandwidth 20 rio
        class cbq pvc0 af3x_class def_class borrow pbandwidth 20 rio
cleardscp
        class cbq pvc0 af4x_class def_class borrow pbandwidth 20 rio

                filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4
                filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4
                filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4
                filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4

(why do I need cleardscp at ingress?)

**********
At core
**********
Do I need conditioners? Then what kind of conditioners? (example
please?)
What do I have to do at the input IF.
I probably have to setup the CBQ (in my case) classes with the RIO
dropper.
Identicaly with Ingress output IF?


***********
At Egress:
***********
Is it optional to clear DSCP? If I just have one/some host-receivers
after the Egress and not another domain, I guess it doesn't matter. Is
that right?

Thank you again in advance for any clarification.

Vangelis

-- 
                                              \\|//
                                               O O
.------------------------------------------o00-(_)-00o----------.
| Evangelos Pappas-Katsiafas                                    |
|                                 email: vangpk@acm.org         |
| Distributed Systems                                           |
| Adastral Park         http://www.labs.bt.com/people/PAPPASE   |
| (BT Laboratories)     http://www.jungle.bt.co.uk/people/vang/ |
| room 70, B54,                                                 |
| Martlesham Heath,       tel: +44 1473 648721                  |
| IP5 3RE, UK             fax: +44 1473 643545                  |
`---------------------------------------------------------------'