Start
Entdecken
Suche senden
Hochladen
Einloggen
Registrieren
Anzeige
Check these out next
MikroTik Basic Training Class - Online Moduls - English
Adhie Lesmana
Bonding Interface in MikroTik
KHNOG
Mikro tik advanced training
Jignesh H. Bhalsod
Routing Implementation - Cisco vs. Mikrotik
KHNOG
VXLAN and FRRouting
Faisal Reza
MikroTik BGP Security - MUM 2014 (rofiq fauzi)
Rofiq Fauzi
Demystifying EVPN in the data center: Part 1 in 2 episode series
Cumulus Networks
BGP Prime
KHNOG
1
von
36
Top clipped slide
Qo s of service with winbox
23. Dec 2011
•
0 gefällt mir
1 gefällt mir
×
Sei der Erste, dem dies gefällt
Mehr anzeigen
•
3,836 Aufrufe
Aufrufe
×
Aufrufe insgesamt
0
Auf Slideshare
0
Aus Einbettungen
0
Anzahl der Einbettungen
0
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Melden
Technologie
SONDAY Barbarwale
Folgen
Transmission Support Engineer um KKON TECHNOLOGY
Anzeige
Anzeige
Anzeige
Recomendados
Mikrotik router os qos best practice
Bassel Kablawi
15.6K Aufrufe
•
32 Folien
BRAC case study on mikrotik router for NGO network
Jobayer Almahmud Hossain (RHCA, RHCDS, RHCSS)
1K Aufrufe
•
20 Folien
MikroTik Firewall : Securing your Router with Port Knocking
Akbar Azwir, MM, PMP, PMI-SP, PSM I, CISSP
25.9K Aufrufe
•
28 Folien
Mikrotik load balansing
Кирилл Кекер
17.9K Aufrufe
•
46 Folien
Class 7
mozaharulhoq
446 Aufrufe
•
34 Folien
Choosing MikroTik for Your Network
Faisal Reza
4.3K Aufrufe
•
36 Folien
Más contenido relacionado
Presentaciones para ti
(20)
MikroTik Basic Training Class - Online Moduls - English
Adhie Lesmana
•
2.8K Aufrufe
Bonding Interface in MikroTik
KHNOG
•
7.9K Aufrufe
Mikro tik advanced training
Jignesh H. Bhalsod
•
4.8K Aufrufe
Routing Implementation - Cisco vs. Mikrotik
KHNOG
•
3.1K Aufrufe
VXLAN and FRRouting
Faisal Reza
•
1.3K Aufrufe
MikroTik BGP Security - MUM 2014 (rofiq fauzi)
Rofiq Fauzi
•
3.7K Aufrufe
Demystifying EVPN in the data center: Part 1 in 2 episode series
Cumulus Networks
•
2.2K Aufrufe
BGP Prime
KHNOG
•
208 Aufrufe
2010fall ch1 lkhamsuren
Bayarmaa GBayarmaa
•
351 Aufrufe
Mikrotik basic configuration
Tola LENG
•
5.7K Aufrufe
Rpki -manrs_(7_september)
NaveenLakshman
•
45 Aufrufe
BGP filtering - Zagreb 2013
Wardner Maia
•
760 Aufrufe
Mtcna outline
galiya1810
•
574 Aufrufe
Simplified Call Flow Signaling: Registration - The Attach Procedure
3G4G
•
7.4K Aufrufe
BGP persistence
Bertrand Duvivier
•
1.8K Aufrufe
20 - IDNOG03 - Franki Lim (ARISTA) - Overlay Networking with VXLAN
Indonesia Network Operators Group
•
1.1K Aufrufe
MPLS + BGP Presentation
Gino McCarty
•
2K Aufrufe
Vxlan control plane and routing
Wilfredzeng
•
11.3K Aufrufe
VXLAN BGP EVPN: Technology Building Blocks
APNIC
•
2.6K Aufrufe
Rapid Ring Protection Protocol (RRPP)
KHNOG
•
3.9K Aufrufe
Destacado
(13)
Technology Overview: Policer Implementation on MX Series, M120, and M320 Routers
Juniper Networks
•
1.1K Aufrufe
OpenWRT Case Study
Bob Chao
•
1.2K Aufrufe
Class 6
mozaharulhoq
•
421 Aufrufe
Class 4
mozaharulhoq
•
373 Aufrufe
Class 5
mozaharulhoq
•
469 Aufrufe
Class 2
mozaharulhoq
•
409 Aufrufe
Class 3
mozaharulhoq
•
427 Aufrufe
Class 1
mozaharulhoq
•
774 Aufrufe
MTCWE
Romualdo Simatupang
•
2.8K Aufrufe
P3 konfigurasi dasar mikrotik
Karya Gunawan
•
1.3K Aufrufe
Mikrotik firewall filter
Achmad Mardiansyah
•
3.8K Aufrufe
VLAN on mikrotik
Achmad Mardiansyah
•
9.7K Aufrufe
Leaky bucket algorithm
Umesh Gupta
•
47.4K Aufrufe
Anzeige
Similar a Qo s of service with winbox
(20)
Lets talk about QoS by Megis.pdf
ssusere31f1c
•
12 Aufrufe
ETE405-lec9.ppt
mashiur
•
269 Aufrufe
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
ssusercbaa33
•
7 Aufrufe
ETE405-lec9.pdf
mashiur
•
303 Aufrufe
OptiQNet-842-DM-v0.4-for-852
Yi-Neng Lin
•
205 Aufrufe
Building DataCenter networks with VXLAN BGP-EVPN
Cisco Canada
•
12.2K Aufrufe
Improving Network Efficiency with Simplemux
Jose Saldana
•
1.2K Aufrufe
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
abdenour boussioud
•
601 Aufrufe
Krzysztof Mazepa - Netflow/cflow - ulubionym narzędziem operatorów SP
PROIDEA
•
45 Aufrufe
PLNOG 13: Krzysztof Konkowski: Cisco Access Architectures: GPON, Ethernet, Ac...
PROIDEA
•
1.6K Aufrufe
Protocols for internet of things
Charles Gibbons
•
541 Aufrufe
Internet of Things: Protocols for M2M
Charles Gibbons
•
8.1K Aufrufe
Protocols for internet of things
Charles Gibbons
•
578 Aufrufe
Protocols for internet of things
Charles Gibbons
•
556 Aufrufe
Protocols for internet of things
Charles Gibbons
•
4K Aufrufe
Protocols for internet of things
Charles Gibbons
•
543 Aufrufe
Cisco WS-C4908GL3
savomir
•
31 Aufrufe
Flexing Network Muscle with IBM Flex System Fabric Technology
Brocade
•
1K Aufrufe
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
PeterNiblett
•
3.4K Aufrufe
Intelligent Network Services through Active Flow Manipulation
Tal Lavian Ph.D.
•
273 Aufrufe
Último
(20)
Bench, a Framework for Benchmarking Kafka Using K8s and OpenMessaging Benchma...
HostedbyConfluent
•
0 Aufrufe
Digital Marketing Plan.pdf
mennaHendy
•
0 Aufrufe
Email Signature.pdf
mennaHendy
•
0 Aufrufe
proposal (2).pdf
mennaHendy
•
0 Aufrufe
Intro to Text Classification with TensorFlow
Elizabeth (Lizzie) Siegle
•
0 Aufrufe
Lesson-01.pptx
ssuserc24e05
•
0 Aufrufe
Transcript: #StandardsGoals for 2023 Standards & certification roundup - Tech...
BookNet Canada
•
0 Aufrufe
Refactr.tech.pptx
Elizabeth (Lizzie) Siegle
•
0 Aufrufe
Information Communication and Technology (ICT’s) Application in Agriculture.pptx
toran607
•
0 Aufrufe
Safeguarding - Protecting Your Kafka from Misbehaving Clients with Tom Scott
HostedbyConfluent
•
0 Aufrufe
Memory Matters: Drift Detection with a Low Memory Footprint for ML Models on ...
HostedbyConfluent
•
0 Aufrufe
The California Age Appropriate Design Code Act Navigating the New Requirement...
TrustArc
•
0 Aufrufe
Testing SMTs? Testcontainers to the Rescue! with Fábio Sequeira & Mafalda Santos
HostedbyConfluent
•
0 Aufrufe
Segment Data Analytics for Indie Developers: KCDC 2023
Elizabeth (Lizzie) Siegle
•
0 Aufrufe
AI-Driven Market Research Platform
Prasanna Hegde
•
0 Aufrufe
Excel 2010.docx
RobertoMarcelinodaSi1
•
0 Aufrufe
Will AI take over our jobs .pptx
Alfredo Mancera
•
0 Aufrufe
Lesson-02 (1).pptx
ssuserc24e05
•
0 Aufrufe
PIAIC.pdf
IrfanAslam55
•
0 Aufrufe
Balance Kafka Cluster with Zero Data Movement with Haochen Li & Yaodong Yang
HostedbyConfluent
•
0 Aufrufe
Anzeige
Qo s of service with winbox
© MikroTik 2008 MikroTik
RouterOS Workshop QoS Best Practice Prague MUM Czech Republic 2009
© MikroTik 2008
2 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 Questions and Answers
© MikroTik 2008
3 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 2008
4 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 2008
5 QoS Packet Flow This diagram is created from RouterOS Packet Flow diagram. http://wiki.mikrotik.com/wiki/Packet_Flow
© MikroTik 2008
6 Double QoS It is possible to mark and shape traffic twice in the same router: Mangle chain Prerouting – for first marking Global-in HTB – for first shaping Mangle chain Forward or Postrouting for second marking Global-out or Out-interface HTB for second marking Double QoS is only possible with Queue Tree
© MikroTik 2008
7 Why not Simple Queues? Simple queues are ordered - similar to firewall rules In order to get to 999th queue packet will have to be checked for match to all 998 previous queues Each simple queue might stand for 3 separate queues: One in Global-in (“direct” part) One in Global-out (“reverse” part) One in Global-total (“total” part)
© MikroTik 2008
8 Simple Queues and Mangle
© MikroTik 2008
9 Queue Tree Tree queue is one directional only and can be placed in any of the available HTBs Queue Tree queues don't have any order – all traffic is processed simultaneously All child queues must have packet marks from “/ip firewall mangle” facility assigned to them If placed in the same HTB, Simple queue will take all the traffic away from the Queue Tree queue
© MikroTik 2008
10 Global-Out or Interface HTB? There are two fundamental differences In case of SRC-NAT (masquerade) Global-Out will be aware of private client addresses, but Interface HTB will not – Interface HTB is after SRC-NAT Each Interface HTB only receives traffic that will be leaving through a particular interface – there is no need for to separate upload and download in mangle
© MikroTik 2008
11 Conclusions We will use mangle and queue tree: Mark traffic by traffic type in mangle chain Prerouting Prioritize and limit traffic by type in Global-in HTB Re-Mark traffic by clients in mangle chain Forward Limit traffic per client in Interface HTB It is necessary to keep the amount of mangle rules and queues to a minimum to increase the performance of this configuration.
© MikroTik 2008
12 Client Limitation ~40 Mbps T3/E3 line ● You have more than 400 clients and 3 different connection types: ● Business (4Mbps/1Mbps) connection ● Standard (750kbps/250kbps) connection ● Basic (375kbps/125kbps) connection
© MikroTik 2008
13 PCQ Per Connection Queue is a queue type capable of dividing traffic into sub-streams based on selected classifiers Each sub-stream will then go through FIFO queue with queue size specified by “pcq-limit” option and maximal rate specified by “pcq-rate” option
© MikroTik 2008
14
© MikroTik 2008
15 PCQ Part 2 In order to ensure that each PCQ sub-stream represents one particular client we need to create 2 different PCQ types: PCQ_upload – source address as classifier PCQ_download - destination address as classifier PCQ will distribute available traffic equally between sub-queues until the pcq-rate is reached (if it is specified)
© MikroTik 2008
16
© MikroTik 2008
17
© MikroTik 2008
18 PCQ Types – Winbox View
© MikroTik 2008
19 Address Lists Address lists was introduced to assign multiple IP addresses/ranges to the same firewall rule, in this way reducing the total number of firewall rules and increasing router performance Address lists can be created: Manually Automatically from PPP profile – just specify address-list option and as soon as the client connects it will be added to the proper address list Automatically from RADIUS – attribute “Mikrotik:19”
© MikroTik 2008
20 Address Lists
© MikroTik 2008
21 Where?
© MikroTik 2008
22 Packet Marking Use “connection-mark” action to classify all connections based on client address list Use “packet-mark” action to classify all traffic based on connection marks Questions to think about: What speed should be available for Business client if downloading from basic client? Do you still have unmarked traffic?
© MikroTik 2008
23 Connection-mark rule
© MikroTik 2008
24 Packet-mark rule
© MikroTik 2008
25 Working Mangle- Winbox view
© MikroTik 2008
26 Working Mangle- Export view
© MikroTik 2008
27 Queue Tree – Winbox View
© MikroTik 2008
28 Queue Tree – Export View
© MikroTik 2008
29 PCQ Queue Size Total_limit = X can take up to X*(2000 bytes + 200 bytes) of RAM 2000 bytes – buffer for 1 packet 200 bytes – service data for 1 packet total_limit = 2000 =< 4,2MB RAM total_limit = 5000 =< 10,5MB RAM It can take only 40 users to fill the queue (because total_limit/limit = 2000/50 = 40) It is necessary to increase “total_limit” and/or decrease the “limit” value There should be at least 10-20 packet places in queue available per user
© MikroTik 2008
30 Queue Size
© MikroTik 2008
31 PCQ Adjustments There are ~340 Basic class clients so: pcq_limit = 40 pcq_total_limit = 7000 ( ~20*340) (~15MB) There are ~40 Standard class clients so: pcq_limit = 30 pcq_total_limit = 1000 ( ~20*40) (~2MB) There are ~20 Business class clients so: pcq_limit = 20 (!!!) pcq_total_limit = 500 ( ~20*20) (~1MB)
© MikroTik 2008
32 Traffic Prioritization Business Class Clients Standard Class Clients Basic Class Clients ~40 Mbps T3/E3 line You have problems with on-line communications (video, audio, VOIP, games) Task: Prioritize the traffic ~5Mbps abroad
© MikroTik 2008
33 Prioritization Plan
© MikroTik 2008
34 Where?
© MikroTik 2008
35 How?
© MikroTik 2008
36 Priorities Create packet marks in the mangle chain “Prerouting” for traffic prioritization in the global- in queue Ensign_services (Priority=1) User_requests (Priority=3) Communication_services (Priority=5) Download_services (Priority=7) P2P_services (Priority=8)
Anzeige