qos dynamico

Upload: airnetwork

Post on 14-Jan-2016

14 views

Category:

Documents


0 download

DESCRIPTION

QoS Dynamico Mikrotik

TRANSCRIPT

  • Dynamic QoS RouterOS v6.3

    Valens Riyadi (Citraweb) [email protected]

    MUM-EU-2014 @Venice, Italy

  • About Me Valens Riyadi, Citraweb (ID) MikroTik Cer8ed Engineer (MTCNA, MTCWE, MTCRE, MTCTCE, MTCUME, MTCINE)

    MikroTik Cer8ed Trainer since 2004 MikroTik Cer8ed Consultant MikroTik Academy Coordinator Citra.net.id WISP CEO Manager for IDNIC (Indonesia Na8onal Internet Registry) IT Expert on Disaster Relief Proud member of Routed World community

    2 Qos pada RouterOS v6

  • Qos pada RouterOS v6 3

    distributor www.mikro8k.co.id

  • Qos pada RouterOS v6 4

  • MikroTik Training Center The rst MikroTik Training Center in Asia Pasic, has at least 2200 par8cipants (112 classes).

    Mikro8k Academy Coordinator.

    Qos pada RouterOS v6 5

  • QoS concept

    6 Qos pada RouterOS v6

  • Queue Parameter

    limit-at (CIR) max-limit (MIR) burst (threshold, limit, 8me) queue type (FIFO, RED, SFQ, PCQ) parent

    Qos pada RouterOS v6 7

  • parent max-limit 10mbps Qos pada RouterOS v6 8

    child B: limit-at=6mbps max-limit=8mbps

    child A: limit-at=4mbps max-limit=8mbps

    6mbps

    4mbps

  • parent max-limit 10mbps Qos pada RouterOS v6 9

    child B: limit-at=6mbps max-limit=8mbps

    child A

    8mbps

    2mbps

  • parent max-limit 10mbps Qos pada RouterOS v6 10

    child B: limit-at=6mbps max-limit=8mbps 8mbps

    child A : 0mbps

  • Qos pada RouterOS v6 11

    without parent, with 10mbps link

    child B

    child A

    child B

    child A child A

    child B

    child A

    child B

  • Without parent, limit-at and priority will be ignored

    Qos pada RouterOS v6 12

    Check my presenta8on 5 years ago: hbp://mum.mikro8k.com/presenta8ons/US09/Valens-MUM2009USA.pdf

  • dynamic queue?

    Qos pada RouterOS v6 13

    Queue which is created automa8cally at simple queue from DHCP, Hotspot, PPP,

    etc.

  • rate-limit

    rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-8me[/tx-burst-8me]]]]. All rates should be numbers with op8onal 'k' (1,000s) or 'M' (1,000,000s). If tx-rate is not specied, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-8me. If both rx-burst-threshold and tx-burst-threshold are not specied (but burst-rate is specied), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-8me and tx-burst-8me are not specied, 1s is used as default

    Dynamic QoS Mikro8k Indonesia 14

  • Dynamic QoS

    Dynamic QoS Mikro8k Indonesia 15

  • Simple Queue at RoS v6

    Re-build from scratch, build in kernel, faster 9 8mes faster if there are at least 32 parent queues on router with mul8 core processor

    Located ajer HTB global in chain input and postrou8ng

    Dynamic QoS Mikro8k Indonesia 16

  • Simple Packet Flow v6

    Qos pada RouterOS v6 17

    INPUT INTERFACE

    OUTPUT INTERFACE

    MANGLE PREROUTING

    MANGLE POSTROUTING

    MANGLE FORWARD

    MANGLE OUTPUT

    MANGLE INPUT

    HTB INTERFACE

    ROUTING DECISION

    ROUTING DECISION

    FILTER OUTPUT

    LOCAL PROCESS

    FILTER FORWARD

    ROUTING ADJUSMENT

    DST-NAT

    INPUT

    PRE ROUTING

    OUTPUT

    FORWARD

    POST ROUTING

    CONNECTION TRACKING

    CONNECTION TRACKING

    SIMPLE QUEUE

    GLOBAL HTB

    SRC-NAT FILTER INPUT

    GLOBAL HTB SIMPLE QUEUE

  • Dynamic Queue - DHCP

    Its possible to set simple queue posi8on ajer created automa8cally.

    Dynamic QoS Mikro8k Indonesia 18

  • PPP & Hotspot & Queue

    Since RoS v6.3, we can set queue type and parent queue parameter on dynamic queue from PPP and Hotspot

    This feature makes HTB (limit-at and priority) could work op8mal.

    Dynamic QoS Mikro8k Indonesia 19

  • PPPoE Server

    Dynamic QoS Mikro8k Indonesia 20

  • PPP Prole - Limits

    Dynamic QoS Mikro8k Indonesia 21

    max-limit

    burst-limit

    burst threshold

    burst-8me

    priority

    limit-at

  • PPP Prole - Queue

    Dynamic QoS Mikro8k Indonesia 22

  • PPPoE Client

    Dynamic QoS Mikro8k Indonesia 23

  • Dynamic Queue from PPPoE

    Dynamic QoS Mikro8k Indonesia 24

  • Hotspot User Prole

    Dynamic QoS Mikro8k Indonesia 25

    max-limit

    burst-limit

    burst threshold

    burst-8me

    priority

    limit-at

  • Hotspot Client

    Dynamic QoS Mikro8k Indonesia 26

  • Dynamic Queue

    Dynamic QoS Mikro8k Indonesia 27

  • HTB with Dynamic Queue

    Because we can set limit-at, parent, and priority on the queue, HTB will work well, and we can work with a lot of QoS/HTB scenarios.

    Dynamic QoS Mikro8k Indonesia 28

  • User 1 Congura8on

    Dynamic QoS Mikro8k Indonesia 29

  • User 2 Congura8on

    Dynamic QoS Mikro8k Indonesia 30

  • Queue Parent

    Dynamic QoS Mikro8k Indonesia 31

  • Dynamic QoS Mikro8k Indonesia 32

  • Thank you

    Comments and sugges8ons:

    Valens Riyadi ([email protected]) @valensriyadi

    Qos pada RouterOS v6 33

    This license lets others remix, tweak, and build upon your work even for commercial purposes, as long as they credit you and license their new crea8ons under the iden8cal terms. This license is ojen compared to copylej free and open source sojware licenses. All new works based on yours will carry the same license, so any deriva8ves will also allow commercial use.