Minggu, 17 November 2019

TUTORIAL KONFIGURASI MANAJEMEN BANDWITH DENGAN QUEUE TREE PADA MIKROTIK


1



Quee Tree adalah salah satu fitur yang terdapat dalam mikrotik yang digunakan untuk mengatur jumlah bandwidth. Berfungsi untuk mengimplementasikan fungsi yang lebih komplex dalam limit bandwidth. Biasanya digunakan oleh admin warnet untuk membatasi satu arah koneksi untuk download maupun untuk upload. Cara membuat Queue Tree sering dibilang agak rumit oleh orang oleh karena itu orang lebih banyak memilih simple quee.

Queue Tree dirancang untuk menjalankan tugas yang lebih kompleks dan kita butuh pemahaman yang bagus teentang aliran trafik dan kita harus mengaktifkan fitur mangle pada firewall. Sedangkan Simple Queue kebanyakan digunakan untuk memudahkan konfigurasi.

Keunggulan Queue Tree:

–  Lebih Flexsibel dan harus paham tentang mangle dan traffic control
–  Mampu membagi bandwidth secara fixed
–  Mendukung penggunaan PCQ sehingga dapat membagi bandwith secara merata
–  Mengatur aliran paket satu arah
–  Jarang orang yang memakai ini

IP :

Warnet : 200.100.10.1/29
Kantor : 200.100.11.1/29
SSID : WLAN

B.Script

Mangle Mark Connect :

WARNET (ETH1)


/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth1_pc1 passthrough=yes src-address=200.100.10.2

/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth1_pc2 passthrough=yes src-address= 200.100.10.3
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth1_pc3 passthrough=yes src-address= 200.100.10.4
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth1_pc4 passthrough=yes src-address= 200.100.10.5
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth1_pc5 passthrough=yes src-address= 200.100.10.6
KANTOR (ETH2)
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth2_pc1 passthrough=yes src-address=200.100.11.2
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth2_pc2 passthrough=yes src-address= 200.100.11.3
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth2_pc3 passthrough=yes src-address= 200.100.11.4
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth2_pc4 passthrough=yes src-address= 200.100.11.5
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-connection-mark=eth2_pc5 passthrough=yes src-address= 200.100.11.6
Mangle Mark Paket :

WARNET (ETH1)

/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth1_pc1 disabled=no new-packet-mark=et1_pc1 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth1_pc2 disabled=no new-packet-mark=et1_pc2 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth1_pc3 disabled=no new-packet-mark=et1_pc3 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth1_pc4 disabled=no new-packet-mark=et1_pc4 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth1_pc5 disabled=no new-packet-mark=et1_pc5 passthrough=yes

KANTOR (ETH2)

/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth2_pc1 disabled=no new-packet-mark=et2_pc1 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth2_pc2 disabled=no new-packet-mark=et2_pc2 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth2_pc3 disabled=no new-packet-mark=et2_pc3 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth2_pc4 disabled=no new-packet-mark=et2_pc4 passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=eth2_pc5 disabled=no new-packet-mark=et2_pc5 passthrough=yes
Queue Tree Induk :

WARNET (ETH1)

/queue tree add max-limit=128k name=warnet-down parent=ether1 priority=8
/queue tree add max-limit=128k name=warnet-up parent=wlan1 priority=8

KANTOR (ETH2)

/queue tree add max-limit=128k name=kantor-down parent=ether2 priority=8
/queue tree add max-limit=128k name=kantor-up parent=wlan1 priority=8
Queue Tree perhost :

WARNET (ETH1)

SPEED UPLOAD

/queue tree add limit-at=64k max-limit=128k name=pc1-up packet-mark=et1_pc1 parent=warnet-up
/queue tree add limit-at=64k max-limit=128k name=pc2-up packet-mark=et1_pc2 parent=warnet-up
/queue tree add limit-at=64k max-limit=128k name=pc3-up packet-mark=et1_pc3 parent=warnet-up
/queue tree add limit-at=64k max-limit=128k name=pc4-up packet-mark=et1_pc4 parent=warnet-up
/queue tree add limit-at=64k max-limit=128k name=pc5-up packet-mark=et1_pc5 parent=warnet-up

SPEED DOWNLOAD

/queue tree add limit-at=64k max-limit=128k name=pc1-down packet-mark=et1_pc1 parent=warnet-down
/queue tree add limit-at=64k max-limit=128k name=pc2-down packet-mark=et1_pc2 parent=warnet-down
/queue tree add limit-at=64k max-limit=128k name=pc3-down packet-mark=et1_pc3 parent=warnet-down
/queue tree add limit-at=64k max-limit=128k name=pc4-down packet-mark=et1_pc4 parent=warnet-down
/queue tree add limit-at=64k max-limit=128k name=pc5-down packet-mark=et1_pc5 parent=warnet-down

KANTOR (ETH2)

SPEED UPLOAD

/queue tree add limit-at=64k max-limit=150k name=pc1-2-up packet-mark=et2_pc1 parent=kantor-up
/queue tree add limit-at=64k max-limit=150k name=pc2-2-up packet-mark=et2_pc2 parent=kantor-up
/queue tree add limit-at=64k max-limit=150k name=pc3-2-up packet-mark=et2_pc3 parent=kantor-up
/queue tree add limit-at=64k max-limit=150k name=pc4-2-up packet-mark=et2_pc4 parent=kantor-up
/queue tree add limit-at=64k max-limit=150k name=pc5-2-up packet-mark=et2_pc5 parent=kantor-up

SPEED DOWNLOAD

/queue tree add limit-at=64k max-limit=150k name=pc1-2-down packet-mark=et2_pc1 parent=kantor-down
/queue tree add limit-at=64k max-limit=150k name=pc2-2-down packet-mark=et2_pc2 parent=kantor-down
/queue tree add limit-at=64k max-limit=150k name=pc3-2-down packet-mark=et2_pc3 parent=kantor-down
/queue tree add limit-at=64k max-limit=150k name=pc4-2-down packet-mark=et2_pc4 parent=kantor-down
/queue tree add limit-at=64k max-limit=150k name=pc5-2-down packet-mark=et2_pc5 parent=kantor-down

C. TEST LIMIT BANDWITH

1. PC WARNET {ETH1}

Client 1



Client 2



Client 3



Client 4

Client 5

2. PC KANTOR {ETH2}
Client 1

Client 2

Client 3

Client 4

Client 5

Sekian Artikel ini Wassalamualaikum Wr.Wb

Rabu, 11 September 2019

Rangkuman SSH & FTP Server { Tugas Pak Supri }



Nama : Valdi Haris Maulana
XII TKJ 3

Rangkuman SSH dan FTP Server
1. Langkah pertama, instal SSH nya. Ketik perintah seperti berikut.


2. Kemudian masuk ke dalam folder SSH nya.

3. Cek file yang ada di SSH tersebut.


4. Langkah kedua, install FTP nya. Ketikan perintah seperti berikut.


5. Kemudian masuk ke dalam folder FTP nya.


6. Cek file yang ada di FTP tersebut.


7. Lalu, kita edit file proftpd.conf, ketik perintah yang dibawah ini.


8. Setelah masuk kedalam file prftpd.conf, kemudian pergi ke paling bawah. Ketikan dari <Anonymous /home> sampai </Anonymous>. Usernya sesuai yang sudah dibuat.


9. Kemudian restart FTP nya, ketik perintah dibawah ini.


10. Setelah direstart, kemudian cek ip yang didapat.


11. Langkah ketiga, buka FileZilla. Kita mencoba untuk mengunggah file ke server.

12. Setelah tebuka FileZilla, masukan IP Address yang didapat oleh server. Masukan nama user di      Debian dan passwordnya.



13. Kemudian pilih file yang ingin di upload ke Server, lalu drag file ke sebelahnya.

14. Lalu untuk mengeceknya apa sudah terupload apa belum. Kita mengeceknya di browser, ketikan ftp://*lalu masukan ip yang didapat oleh server*. Kemudian masukan user dan password.



15. File yang saya upload udah ada di server.


TUTORIAL KONFIGURASI MANAJEMEN BANDWITH DENGAN QUEUE TREE PADA MIKROTIK

Quee Tree adalah salah satu fitur yang terdapat dalam mikrotik yang digunakan untuk mengatur jumlah bandwidth. Berfungsi untuk meng...