RB941 hAP lite dengan kemampuan QoS untuk optimalisasi trafik jaringan. Cocok untuk jaringan rumah/kantor kecil
dengan 10-20 client concurrent. Support Simple Queue, Queue Tree, PCQ, dan Mangle marking.
CPU
AR9344 - 650MHz
RAM
32 MB DDR2
STORAGE
16 MB FLASH
ETHERNET
4x 10/100 Mbps
QoS SUPPORT
Simple Queue, Queue Tree
MANGLE
Mark Connection/Packet
PCQ
Per Connection Queue
CLIENT MAX
~20 concurrent
POWER
5V DC / USB
OS
RouterOS v6 L4
DIMENSI
113 x 89 x 28mm
BERAT
160 gram
KEMAMPUAN QoS: RB941 support Simple Queue untuk bandwidth limiting per client, Queue Tree untuk hierarchical queue, PCQ untuk fair sharing, dan Mangle untuk marking traffic berdasarkan berbagai kriteria.
KONSEP QUALITY OF SERVICE (QoS)
FUNDAMENTAL
Quality of Service (QoS) adalah mekanisme untuk mengelola dan memprioritaskan trafik jaringan
guna memastikan kualitas layanan untuk aplikasi tertentu. QoS memastikan bandwidth tersedia untuk aplikasi kritis
seperti VoIP, video conference, dan gaming.
TUJUAN QoS
BANDWIDTH MANAGEMENT
Mengelola bandwidth agar tidak ada client yang menghabiskan semua bandwidth. Fair sharing untuk semua client.
PRIORITAS TRAFIK
Memprioritaskan traffic penting (VoIP, video call) agar tidak terganggu oleh traffic lain (download, streaming).
REDUCE LATENCY
Mengurangi latency untuk aplikasi real-time seperti VoIP, gaming, dan video conference.
OPTIMIZE PERFORMANCE
Mengoptimalkan performa jaringan dengan memastikan bandwidth tersedia untuk aplikasi kritis.
KOMPONEN QoS MIKROTIK
KOMPONEN
FUNGSI
USE CASE
Simple Queue
Bandwidth limiting per client/subnet
Limit bandwidth per user
Queue Tree
Hierarchical queue dengan parent-child
Hierarchical bandwidth management
PCQ
Per Connection Queue (fair sharing)
Fair sharing per connection
Mangle
Marking traffic berdasarkan kriteria
Mark traffic untuk QoS
Priority
Priority queue (1-8)
Prioritas traffic
JENIS QUEUE
JENIS QUEUE
KARAKTERISTIK
USE CASE
default
FIFO (First In First Out)
General purpose
pcq
Per Connection Queue
Fair sharing per connection
sfq
Stochastic Fairness Queue
Fair sharing per flow
bfifo
Byte FIFO
FIFO berdasarkan byte
red
Random Early Detection
Avoid congestion
PENTING: QoS hanya bekerja jika bandwidth penuh. Jika bandwidth masih tersedia, QoS tidak aktif. QoS hanya aktif ketika ada contention (perebutan bandwidth).
TOPOLOGI QoS
SCHEMA
// TOPOLOGI QoS NETWORK //[ INTERNET ]
|
v
+-------------------+
| MIKROTIK RB941 |
| QoS ROUTER |
| |
| ether1: WAN |
| ether2-4: LAN |
| wlan1: WIFI |
| |
| QoS RULES: |
| - Simple Queue | Per client limit
| - Queue Tree | Hierarchical queue
| - PCQ | Fair sharing
| - Priority | Priority 1-8
+-------------------+
| | |
v v v
[PC][HP][LAPTOP]5M/10M2M/5M5M/10MQoS PRIORITY:Priority 1: VoIP, Video Call
Priority 3: Browsing, Email
Priority 5: Streaming
Priority 8: Download, P2P
QoS WORKING: QoS memastikan bandwidth tersedia untuk aplikasi prioritas tinggi. Ketika bandwidth penuh, traffic priority rendah akan di-throttle agar traffic priority tinggi tetap lancar.
ANIMASI QoS TRAFFIC
LIVE FLOW
Visualisasi QoS traffic management. Traffic dengan priority tinggi (hijau) mendapat prioritas lebih tinggi
dibandingkan traffic priority rendah (kuning). Queue memastikan fair sharing.
Priority 1 (VoIP)
Priority 5 (Browsing)
Priority 8 (Download)
QoS PRIORITY: Traffic dengan priority lebih tinggi (angka lebih kecil) mendapat prioritas lebih tinggi. Ketika bandwidth penuh, traffic priority rendah akan di-throttle.
SIMPLE QUEUE
STEP 01
Simple Queue untuk bandwidth limiting per client atau subnet. Cara paling sederhana untuk limit bandwidth per user.
TIPS: Simple Queue cocok untuk limit bandwidth per client. Untuk hierarchical queue, gunakan Queue Tree. Untuk fair sharing, gunakan PCQ.
QUEUE TREE
STEP 02
Queue Tree untuk hierarchical queue dengan parent-child relationship. Lebih kompleks tapi lebih fleksibel daripada Simple Queue.
VIA CLI
# 1. Buat parent queue[admin@MikroTik] > /queue tree add name="total-bandwidth" max-limit="50M/100M"# 2. Buat child queue[admin@MikroTik] > /queue tree add name="voip-queue" parent="total-bandwidth" packet-mark="voip-packet" max-limit="10M/20M" priority=1[admin@MikroTik] > /queue tree add name="browsing-queue" parent="total-bandwidth" packet-mark="browsing-packet" max-limit="20M/40M" priority=5[admin@MikroTik] > /queue tree add name="download-queue" parent="total-bandwidth" packet-mark="download-packet" max-limit="20M/40M" priority=8# 3. Verifikasi[admin@MikroTik] > /queue tree print
VIA WINBOX
1
Menu: Queues -> Tab Queue Tree
2
+ Add untuk buat parent queue
3
Name: total-bandwidth
4
Max Limit: 50M/100M
5
Klik OK
6
+ Add untuk buat child queue
7
Parent: total-bandwidth
8
Packet Mark: voip-packet
9
Max Limit: 10M/20M
10
Priority: 1
PARAMETER QUEUE TREE
PARAMETER
FUNGSI
CONTOH
name
Nama queue
total-bandwidth, voip-queue
parent
Parent queue
total-bandwidth
packet-mark
Packet mark dari mangle
voip-packet, browsing-packet
max-limit
Max bandwidth
10M/20M
limit-at
Guaranteed bandwidth
5M/10M
priority
Priority (1-8)
1 (highest) - 8 (lowest)
TIPS: Queue Tree cocok untuk hierarchical queue. Parent queue adalah total bandwidth, child queue adalah pembagian bandwidth per jenis traffic. Perlu mangle untuk mark packet.
PCQ (PER CONNECTION QUEUE)
STEP 03
PCQ (Per Connection Queue) untuk fair sharing bandwidth per connection. Setiap connection mendapat bagian bandwidth yang adil.
VIA CLI
# 1. Buat PCQ type[admin@MikroTik] > /queue type add name="pcq-upload" kind=pcq pcq-classifier=src-address pcq-rate="2M" pcq-limit-at="1M"[admin@MikroTik] > /queue type add name="pcq-download" kind=pcq pcq-classifier=dst-address pcq-rate="5M" pcq-limit-at="2M"# 2. Gunakan di simple queue[admin@MikroTik] > /queue simple add name="pcq-all" target="192.168.10.0/24" max-limit="50M/100M" queue=pcq-upload/pcq-download# 3. Atau gunakan di queue tree[admin@MikroTik] > /queue tree add name="pcq-tree" packet-mark="all-packet" queue=pcq-upload/pcq-download# 4. Verifikasi[admin@MikroTik] > /queue type print
VIA WINBOX
1
Menu: Queues -> Tab Queue Types
2
+ Add untuk buat PCQ type
3
Name: pcq-upload
4
Kind: pcq
5
PCQ Classifier: src-address
6
PCQ Rate: 2M
7
PCQ Limit At: 1M
8
Klik OK
9
Ulangi untuk download dengan classifier dst-address
PARAMETER PCQ
PARAMETER
FUNGSI
CONTOH
kind
Jenis queue
pcq
pcq-classifier
Classifier untuk fair sharing
src-address, dst-address, src-address:port
pcq-rate
Rate per connection
2M, 5M
pcq-limit-at
Guaranteed rate per connection
1M, 2M
pcq-burst-rate
Burst rate per connection
5M, 10M
pcq-total-limit
Total limit semua connection
50M, 100M
TIPS: PCQ cocok untuk fair sharing. Setiap connection mendapat bagian bandwidth yang adil. Classifier menentukan bagaimana traffic dibagi: src-address (per source IP), dst-address (per destination IP), src-address:port (per connection).
MANGLE MARKING
STEP 04
Mangle untuk marking traffic berdasarkan berbagai kriteria. Marked traffic bisa digunakan untuk QoS, routing, dan policy lainnya.
VIA CLI
# 1. Mark connection berdasarkan port[admin@MikroTik] > /ip firewall mangle add chain=prerouting protocol=tcp dst-port=5060 action=mark-connection new-connection-mark=voip-conn passthrough=yes# 2. Mark packet berdasarkan connection mark[admin@MikroTik] > /ip firewall mangle add chain=prerouting connection-mark=voip-conn action=mark-packet new-packet-mark=voip-packet passthrough=no# 3. Mark berdasarkan content[admin@MikroTik] > /ip firewall mangle add chain=prerouting content="youtube.com" action=mark-connection new-connection-mark=youtube-conn# 4. Mark berdasarkan address[admin@MikroTik] > /ip firewall mangle add chain=prerouting src-address=192.168.10.10 action=mark-connection new-connection-mark=priority-conn# 5. Verifikasi[admin@MikroTik] > /ip firewall mangle print
VIA WINBOX
1
Menu: IP -> Firewall -> Tab Mangle
2
+ Add untuk buat mangle rule
3
Chain: prerouting
4
Protocol: tcp
5
Dst Port: 5060 (VoIP)
6
Action: mark-connection
7
New Connection Mark: voip-conn
8
Passthrough: yes
9
Klik OK
PARAMETER MANGLE
PARAMETER
FUNGSI
CONTOH
chain
Chain mangle
prerouting, output
protocol
Protocol
tcp, udp, icmp
dst-port
Destination port
5060 (VoIP), 80 (HTTP)
src-address
Source address
192.168.10.10
content
Content matching
youtube.com
action
Action
mark-connection, mark-packet
new-connection-mark
New connection mark
voip-conn
new-packet-mark
New packet mark
voip-packet
TIPS: Mangle untuk marking traffic. Marked traffic bisa digunakan untuk QoS (queue tree), routing (policy routing), dan policy lainnya. Chain prerouting untuk incoming traffic, output untuk outgoing traffic.
PRIORITY QUEUE
STEP 05
Priority queue untuk memprioritaskan traffic berdasarkan priority (1-8). Traffic dengan priority lebih tinggi mendapat prioritas lebih tinggi.
TIPS: Priority 1-3 untuk traffic real-time (VoIP, gaming). Priority 4-5 untuk browsing. Priority 6-8 untuk download. Priority hanya aktif ketika bandwidth penuh.
BANDWIDTH LIMITING
STEP 06
Bandwidth limiting untuk membatasi bandwidth per client atau per jenis traffic. Mencegah satu client menghabiskan semua bandwidth.
VoIP (port 5060) priority 1. VoIP sangat sensitif terhadap latency dan jitter. Priority 1 memastikan VoIP lancar.
VIDEO CONFERENCE
Video conference (Zoom, Teams) priority 2-3. Sensitif terhadap latency tapi tidak separa VoIP.
BROWSING PRIORITY
Browsing (port 80, 443) priority 4-5. Tidak terlalu sensitif terhadap latency.
DOWNLOAD PRIORITY
Download (P2P, torrent) priority 6-8. Tidak sensitif terhadap latency, bisa di-throttle.
TIPS: Traffic shaping mengkombinasikan mangle (marking), queue tree (hierarchical queue), dan priority. Mark traffic berdasarkan port, protocol, atau content. Buat queue tree dengan priority sesuai jenis traffic.
MONITORING QoS
STEP 08
Monitor QoS untuk memastikan QoS bekerja dengan baik. Monitor bandwidth usage, queue usage, dan packet marking.
TIPS: Monitor QoS secara berkala. Pastikan queue working dengan baik. Jika ada masalah, cek mangle marking, queue tree, dan priority.
TROUBLESHOOTING QoS
SUPPORT
Masalah umum QoS dan solusinya.
QoS TIDAK BEKERJA
KEMUNGKINAN PENYEBAB:
1. Bandwidth belum penuh (QoS hanya aktif saat bandwidth penuh)
2. Queue tidak di-apply dengan benar
3. Mangle marking tidak bekerja
4. Priority tidak di-set dengan benar SOLUSI: Test dengan bandwidth penuh. Cek queue configuration. Cek mangle marking. Cek priority setting.
BANDWIDTH TIDAK TERBAGI ADIL
KEMUNGKINAN PENYEBAB:
1. PCQ classifier salah
2. Queue tree configuration salah
3. Priority tidak di-set dengan benar
4. Queue limit tidak di-set dengan benar SOLUSI: Cek PCQ classifier. Cek queue tree configuration. Cek priority. Cek queue limit.
VOIP LAMBAT / JITTER
KEMUNGKINAN PENYEBAB:
1. Priority VoIP terlalu rendah
2. Bandwidth tidak cukup
3. Latency tinggi
4. Jitter tinggi SOLUSI: Set priority VoIP ke 1. Pastikan bandwidth cukup. Cek latency dan jitter. Gunakan QoS untuk prioritaskan VoIP.
QUEUE TREE TIDAK BEKERJA
KEMUNGKINAN PENYEBAB:
1. Parent queue tidak ada
2. Packet mark tidak ada
3. Mangle marking tidak bekerja
4. Queue tree configuration salah SOLUSI: Cek parent queue. Cek packet mark. Cek mangle marking. Cek queue tree configuration.