- Limit bandwitdh per IP melalui Simple Queue
- Limit bandwitdh berdasarkan marking packet konten dengan queue tree
- Ada dua macam limitasi yang terjadi, dan silahkan dilihat menyerupai gambar dibawah :
- Lakukan limitasi di simple untuk trafict Up to dan Limit At nya menyerupai digambar ini :
Sample Limitasi Simple Queue
/queue simple
add burst-limit=2M/5M burst-threshold=512k/512k burst-time=32s/32s limit-at=\
256k/1M max-limit=768k/2048k name="20. Kidulan Wifi" target=\
192.168.100.111/32
Sample Management Mangle
/ip firewall mangle
add action=mark-packet chain=prerouting comment="icmp-dns <set to prio_1>" \
connection-mark=dns_con new-packet-mark=icmp-dns_pkt passthrough=no
add action=mark-connection chain=postrouting dst-address-list=!rfc1918 \
new-connection-mark=icmp-conn protocol=icmp
add action=mark-connection chain=postrouting connection-mark=no-mark \
dst-address-list=dns_forwarder new-connection-mark=dns_con
add action=mark-packet chain=prerouting connection-mark=icmp-conn \
new-packet-mark=icmp-dns_pkt passthrough=no
add action=mark-connection chain=prerouting comment=\
"all local_traffic [rfc-1988]" dst-address-list=rfc1918 \
new-connection-mark=local_traffic src-address-list=rfc1918
Sample Queue Tree
/queue tree
add name=-inbound packet-mark=s_in_pkt,b_in_pkt,dl_in_pkt,g_in_pkt parent=\
global queue=pcq-upload-default
add name=-outbound packet-mark=s_out_pkt,b_out_pkt,dl_out_pkt,g_out_pkt \
parent=global queue=pcq-download-default
add name=_browser packet-mark=b_in_pkt parent=-inbound priority=3 queue=\
pcq-upload-default
add name=-browser packet-mark=b_out_pkt parent=-outbound priority=3 queue=\
pcq-download-default
add name=_streamer packet-mark=s_in_pkt parent=-inbound priority=4 queue=\
pcq-upload-default
add name=-streamer packet-mark=s_out_pkt parent=-outbound priority=4 queue=\
pcq-download-default
add name=_gamer packet-mark=g_in_pkt parent=-inbound priority=2 queue=\
pcq-upload-default
add name=_downloader packet-mark=dl_in_pkt parent=-inbound priority=5 queue=\
pcq-upload-default
add name=-downloader packet-mark=dl_out_pkt parent=-outbound priority=5 \
queue=pcq-download-default
add name=-gamer packet-mark=g_out_pkt parent=-outbound priority=2 queue=\
pcq-download-default
Source/Reference :
- http://mikrotik.co.id
- Lutfi Usman Mufasir
BACA JUGA : ARTIKEL TENTANG SETTING MIKROTIK DIBAWAH INI :
6. Tutorial Cara Meremote Winbox Mikrotik Dari Luar Jaringan
7. Cara Mengalihkan Pelanggan Hotspot Mikrotik Yang Expired Ke Halaman Isolir
7. Cara Mengalihkan Pelanggan Hotspot Mikrotik Yang Expired Ke Halaman Isolir
ARTIKEL MIKROTIK : KUMPULAN TUTORIAL SETTING MIKROTIK LANJUT
Comments
Post a Comment