Vous êtes sur la page 1sur 34

MIKROTIK DYNAMIC QOS

RouterOS v6.3
YANKURO

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

MikroTik Cer8ed Trainer & Consultant


MikroTik Academy Coordinator
Citra.net.id WISP CEO
Manager for IDNIC (Indonesia Na8onal
Internet Registry)
IT Expert on Disaster Relief
Qos pada RouterOS v6

www.mikro8k.co.id

distributor

Qos pada RouterOS v6

Qos pada RouterOS v6

MikroTik Training Center


The rst MikroTik Training Center in Asia
Pasic, has taught at least 2200 par8cipants
(112 classes).
Mikro8k Academy Coordinator.

Qos pada RouterOS v6

konsep dasar
QoS
Qos pada RouterOS v6

Parameter Queue

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

Qos pada RouterOS v6

child B: limit-at 4mbps


4mbps
max-limit=8mbps
child A: limit-at 6mbps 6mbps
max-limit=8mbps
parent max-limit 10mbps
Qos pada RouterOS v6

child B

child A: limit-at 6mbps


max-limit=8mbps

2mbps

8mbps

parent max-limit 10mbps


Qos pada RouterOS v6

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

8mbps

parent max-limit 10mbps


Qos pada RouterOS v6

10

tanpa parent, kapasitas 10mbps


child
B

child A

child B
child B
child B
child A
child A
child A
Qos pada RouterOS v6

11

Tanpa parent, maka


parameter limit-at dan
priority akan diabaikan
(8dak berfungsi)

Qos pada RouterOS v6

12

dynamic queue?
Queue yang dibuat secara otoma8s di
simple queue, dari tur lainnya,
seper8 DHCP, Hotspot, PPP, dll.
Qos pada RouterOS v6

13

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 di v6
Dibuat ulang seluruhnya, build in kernel, lebih
cepat
9 kali lebih cepat, jika memiliki se8daknya 32
parent queue pada router dengan mul8
processor
Dilakukan setelah HTB global pada chain input
dan postrou8ng

Dynamic QoS Mikro8k Indonesia

16




FORWARD


MANGLE
FILTER
FORWARD
FORWARD
POST

ROUTING

OUTPUT


MANGLE

ROUTING

POSTROUTING

ADJUSMENT



SRC-NAT


FILTER

OUTPUT


GLOBAL
HTB


MANGLE

QUEUE
OUTPUT
SIMPLE



CONNECTION

HTB

Simple Packet Flow v6


ROUTING
DECISION
INPUT
PRE
ROUTING



DST-NAT



MANGLE
PREROUTING



CONNECTION

TRACKING

INPUT
INTERFACE

MANGLE

INPUT

FILTER

INPUT



GLOBAL HTB



SIMPLE QUEUE

LOCAL
PROCESS

TRACKING
ROUTING
DECISION

Qos pada RouterOS v6

INTERFACE
OUTPUT
INTERFACE

17

Dynamic Queue -
DHCP
Dimungkinkan untuk
menentukan posisi
simple queue setelah
dibuat secara otoma8s

Dynamic QoS Mikro8k Indonesia

18

PPP & Queue


Mulai RoS versi 6.3, dimungkinkan untuk
menambahkan parameter queue type dan
parent queue.
Hal ini memungkinkan HTB (limit-at dan
priority) bisa berjalan dengan op8mal.

Dynamic QoS Mikro8k Indonesia

19

PPP & Hotspot & Queue


Mulai RoS versi 6.3, dimungkinkan untuk
menambahkan parameter queue type dan
parent queue.
Hal ini memungkinkan HTB (limit-at dan
priority) bisa berjalan dengan op8mal.

Dynamic QoS Mikro8k Indonesia

20

PPPoE Server

Dynamic QoS Mikro8k Indonesia

21

PPP Prole - Limits

max-limit

burst
threshold

burst-limit
burst-8me
Dynamic QoS Mikro8k Indonesia

priority

limit-at
22

PPP Prole - Queue

Dynamic QoS Mikro8k Indonesia

23

PPPoE Client

Dynamic QoS Mikro8k Indonesia

24

Dynamic Queue from PPPoE

Dynamic QoS Mikro8k Indonesia

25

Hotspot User Prole

max-limit

burst-limit

burst
threshold

priority

burst-8me

limit-at

Dynamic QoS Mikro8k Indonesia

26

Hotspot Client

Dynamic QoS Mikro8k Indonesia

27

Dynamic Queue

Dynamic QoS Mikro8k Indonesia

28

HTB with Dynamic Queue


Jika kita bisa menentukan limit-at, parent, dan
priority, maka HTB bisa berjalan dengan baik,
dan banyak skenario yang dapat dijalankan.

Dynamic QoS Mikro8k Indonesia

29

User 1 Congura8on

Dynamic QoS Mikro8k Indonesia

30

User 2 Congura8on

Dynamic QoS Mikro8k Indonesia

31

Queue Parent

Dynamic QoS Mikro8k Indonesia

32

Dynamic QoS Mikro8k Indonesia

33

Thank you
Comments and sugges8ons:

Valens Riyadi (valens@mikro8k.co.id)
@valensriyadi

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 omen
compared to copylem free and open source somware licenses. All new works based on yours will carry
the same license, so any deriva8ves will also allow commercial use.
Qos pada RouterOS v6

34

Vous aimerez peut-être aussi