mikrotik_bezt_pracitice.pdf

(709 KB) Pobierz
227445333 UNPDF
MikroTik RouterOS Workshop
QoS Best Practice
Dallas/Fort Worth
MUM USA 2009
© MikroTik 2009
227445333.002.png
Questions and Answers
Q: Is it possible to prioritize traffic by type for
every single client while having strict per-user
limitations on the same router?
A: Yes!
Q: What will I need to achieve that?
A: You will need:
1)Packet Flow Diagram 2)HTB (queue tree),
3)Mangle, 4)PCQ, 5)Address List
© MikroTik 2009 2
227445333.003.png
Mangle
The mangle facility allows you to mark IP
packets with special marks.
These marks are used by other router facilities
like routing and bandwidth management to
identify the packets.
Additionally, the mangle facility is used to modify
some fields in the IP header, like TOS (DSCP)
and TTL fields.
© MikroTik 2009 3
227445333.004.png
Hierarchical Token Bucket
All bandwidth management implementation in
RouterOS is based on Hierarchical Token
Bucket (HTB)
HTB allows you to create hierarchical queue
structure and determine relations between
queues
RouterOS supports 3 virtual HTBs (global-in,
global-total, global-out) and one more just
before every output interface
© MikroTik 2009 4
227445333.005.png
QoS Packet Flow
This diagram is created from RouterOS Packet
Flow diagram.
http://wiki.mikrotik.com/wiki/Packet_Flow
© MikroTik 2009 5
227445333.001.png
Zgłoś jeśli naruszono regulamin