Laman

Pembatasan Penggunaan Bandwidth Pada IP Lokal Menggunakan Mikrotik Router

0 Comments

Pada posting sebelumnya kita telah memisahkan bandwidth antara IIX dan International yang mana pemisahan tersebut sangat berguna dalam pembatasan penggunaan bandwidth terhadap IP client.

Berikut ini adalah contoh lay-out pembatasan penggunaan bandwith yang saya pakai, dengan menggunakan dua client.

Pada IIX :

name=”PC01-IIX” target-addresses=192.168.10.1/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=IIX priority=8
queue=default/default limit-at=64000/64000 max-limit=128000/128000
burst-limit=1024000/1024000 burst-threshold=96000/96000
burst-time=20s/20s total-queue=default

name=”PC02-IIX” target-addresses=192.168.10.2/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=IIX priority=8
queue=default/default limit-at=64000/64000 max-limit=128000/128000
burst-limit=1024000/1024000 burst-threshold=96000/96000
burst-time=20s/20s total-queue=default

Pada INTERNATIONAL :
name=”PC01-INT” target-addresses=192.168.10.1/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=INT priority=8
queue=default/default limit-at=12000/12000 max-limit=32000/32000
burst-limit=128000/128000 burst-threshold=96000/96000
burst-time=15s/15s total-queue=default

name=”PC02-INT” target-addresses=192.168.10.2/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=INT priority=8
queue=default/default limit-at=12000/12000 max-limit=32000/32000
burst-limit=128000/128000 burst-threshold=96000/96000
burst-time=15s/15s total-queue=default

Berikut ini command yang kita tulis di terminalnya :
/ queue simple
add name=”PC01-IIX” target-addresses=192.168.10.1/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=IIX priority=8 queue=default/default limit-at=64000/64000 max-limit=128000/128000 burst-limit=1024000/1024000 burst-threshold=96000/96000 burst-time=20s/20s total-queue=default disabled=no

add name=”PC02-IIX” target-addresses=192.168.10.2/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=IIX priority=8 queue=default/default limit-at=64000/64000 max-limit=128000/128000 burst-limit=1024000/1024000 burst-threshold=96000/96000 burst-time=20s/20s total-queue=default disabled=no

add name=”PC01-INT” target-addresses=192.168.10.1/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=INT priority=8 queue=default/default limit-at=12000/12000 max-limit=32000/32000 burst-limit=128000/128000 burst-threshold=96000/96000 burst-time=15s/15s total-queue=default disabled=no

add name=”PC02-INT” target-addresses=192.168.10.2/32 dst-address=0.0.0.0/0 interface=all parent=none packet-marks=INT priority=8 queue=default/default limit-at=12000/12000 max-limit=32000/32000 burst-limit=128000/128000 burst-threshold=96000/96000 burst-time=15s/15s total-queue=default disabled=no
Tentu saja penggunaan bandwidth disesuaikan dengan jumlah bandwidth yang tersedia dan berapa banyak jumlah client yang menggunakan bandwidth tersebut. Disini kita tidak akan membahas bagaimana penghitungan burst-threshold dan burst-time, di postingan yang akan datang mungkin akan jabarkan.

Salam.

BERITA PDRD