Membagi bandwidth secara adil dengan mikrotik | KutuKupret » KutuKupret
Jun 202008
 

“Mikrotīkls Ltd., known internationally as MikroTik, is a Latvian manufacturer of computer networking equipment. It sells wireless products and routers. The company was founded in 1995, with the intent to sell in the emerging wireless technology market. As of 2007, the company had more than 70 employees.”

Membagi bandwidth secara adil dengan mikrotik

Dengan menggunakan queue type pcq di Mikrotik, kita bisa membagi bandwidth yang ada secara merata untuk para user, saat jaringan pada posisi peak.

step2nya:

  1. Asumsi : Network Address 172.16.0.0/12, interface yang mengarah ke pengguna diberi nama Lan, dan interface yang mengarah ke upstream provider diberi nama Public;
  2. Ketikkan di console atau terminal :
          /ip firewall mangle add chain=forward src-address=172.16.0.0/12 \
             action=mark-connection new-connection-mark=users-con
          /ip firewall mangle add connection-mark=users-con action=mark-packet \
             new-packet-mark=users chain=forward
          /queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
          /queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
          /queue tree add name=Download parent=Lan max-limit=2048000
          /queue tree add parent=Download queue=pcq-download packet-mark=users
          /queue tree add name=Upload parent=Public max-limit=1024000
          /queue tree add parent=Upload queue=pcq-upload packet-mark=users
          /queue tree add parent=Lan queue=pcq-download packet-mark=users
          /queue tree add parent=Public queue=pcq-upload packet-mark=users
    
  3. selamat mencoba!!

note: LAN dan INTERNET adalah nama interface.LAN interface ke arah user/client,INTERNET interface ke arah ISP.

Share

  29 Responses to “Membagi bandwidth secara adil dengan mikrotik”

Comments (29)
  1. 172.16.0.0/12 apakah address tersebut harus diikuti ataukah disesuaikan dengan addres yang ada pada router kita sendiri. interfacenya mengarah kemana public or local..??

    • betul, ip nya sesuaikan dengan ip jaringan LAN anda.

      di atas nama2 interface nys sudah di jelaskan secara explisit  Lan/Public.

      parent=Public

      parent=Lan

  2. Makasih mas, atas penjelasannya. Saya sangat senang dan berterimakasih karena mas telah mereplay pertanyaan saya.
    Aku ada lagi nih pertanyaan mengenai mikrotik…..
    Gimana yah untuk memisahkan bw speedy pada 2 interface (hotspot & Lan), sedangkan kita tahu kalo bw speedy itu katanya tidak stabil (naik turun)….
    Sekali lagi saya ucapkan terimakasih…

  3. /queue tree add name=Download parent=Lan max-limit=2048000
     
    Pada angka yang saya tandai merah, apakah itu disesuaikan dengan bandwith yang kita punya?

  4. /ip firewall mangle add chain=forward src-address=172.16.0.0/12
     
    untuk yang saya tandai merah. alamat IP tersebut untuk interface mana? LAN atau PUBLIC?
    dalam hal ini interface LAN = untuk ke klien
    interface PUBLIC = untk ke Internet (modem)

  5. Keep sharing bos.. thenks infonya

 Leave a Reply

(required)

(required)


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>