Selasa, 15 November 2016

Konfigurasi Queue Tree dan Mangle Menggunakan Mikrotik



Nama : Berliana Dewi Normasita
Konfigurasi Queque Tree
 dan Mangle 
Hari/Tanggal : Selasa, 15 November 2016
 Kelas : XII-TKJ-2
Sk/kd : -
No Jobsheet : 22
Guru : Maman Hariana, S.kom

 


Penjelasan :

Queue Tree berfungsi untuk mengimplementasikan fungsi yang lebih komplex dalam limit bandwidth pada mikrotik dimana penggunaan packet mark nya memiliki fungsi yang lebih baik. Digunakan untuk membatasi satu arah koneksi saja baik itu download maupun upload. Secara umum Queue Tree ini tidak terlihat berbeda dari Simple Queue.

Mangle pada mikrotik merupakan suatu cara untuk menandai paket data dan koneksi tertentu yang dapat diterapkan pada fitur mikrotik lainnya, sepeti pada routes, pemisahan bandwidth pada queues, NAT dan filter rules. Tanda mangle yang ada pada router mikrotik hanya bisa digunakan pada router itu sendiri. Dan yang perlu diingat bahwa proses pembacaan rule mangle ini dilakukan dari urutan pertama ke bawah. 



Konfigurasi : 
 
Sambungkan Mikrotik ke Laptop

Setelah itu buka winbox >> connect Mikrotik 



Buat ip address
Ether 1 >>  192.168.137.5/24 




Wlan 1 >>  192.168.10.1/24




Lalu hasilnya akan menjadi seperti ini




Ip >> Dhcp Server >> Dhcp Setup >> lalu next sampai selesai



Ip DNS >> 8.8.8.8 >>  8.8.4.4 >> Ceklis Allow Remote Request



Ip Routes >> (+) gateway : 192.168.137.1 >> Apply Ok
 


Lalu hasilnya akan menjadi seperti ini



Ip >> Firewall >> NAT >> Chain : srcnat >> Out.interface >> ether1 




Action : masquerade >> Apply Ok 




Buat Hotspot >> Wireless >> Interfaces >>  Mode : ap bridge >> SSID : sucisita ( isi sesuai yang diinginkan )






Wireless >> Security profiles >> Mode : dynamic keys >> ceklis : WPA PSK , WPA2PSK >> Isi password : 12345678 >> Apply Ok



Ip Firewall >> Mangle (+) >> Chain : Forward >> Src.address : 192.168.10.0/24



action : Mark connection >> New connection : conn-tcp >> ceklis passtrought



Ip Firewall >> Mangle (+) >> Chain : Forward >> Connection mark : conn-tcp 


action : mark packet >> New packet mark : packet-tcp >> passtrought tidak diceklis




Ip Firewall >> Mangle (+) >> Chain : Forward >> Src.address : 192.168.10.0/24 >> Protocol : udp 

action : Mark connection >> New connection : conn-udp >> ceklis passtrought 


Ip Firewall >> Mangle (+) >> Chain : Forward >> Connection mark  : conn-udp 



action : mark packet >> New packet mark : packet-udp >> passtrought diceklis



Ip Firewall >> Mangle (+) >> Chain : Forward >> Src.address : 192.168.5.0/24 >> Protocol : 1 (icmp) 


action : mark connection >> New connection : conn-icmp >> ceklis passtrought


Ip Firewall >> Mangle (+) >> Chain : Forward >> Connection mark : conn-icmp


action : mark packet >> New packet mark : packet-icmp >> passtrought diceklis


Ip Firewall >> Mangle (+) >> Chain : Forward >>  Src.address : 192.168.5.0/24



action : mark connection >> New connection mark : conn-sisa >> ceklis passtrought 



Ip Firewall >> Mangle (+) >> Chain : Forward >> Connection mark : conn-sisa


action : mark packet >> New packet mark : packet-sisa >> passtrought tidak diceklis


Queque >> Queque tree >> Name : total-download >> Parent : ether 1 >> Max.limit : 8k  >> Apply Ok 


Name : total-upload >> Parent : wlan 1 >> Max.limit : 8k  >> Apply Ok 


Queque >> Queque tree >> Name : download-tcp >> Parent : total-download >> Packet mark : packet-tcp >> Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 



Name : upload-tcp >> Parent : total-upload >> Packet mark : packet-tcp >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok



Name : download-udp >> Parent : total-download >> Packet mark : packet-udp >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 
 


Name : upload-udp >> Parent : total-upload >> Packet mark : packet-udp >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 


Name : download-icmp >> Parent : total-download >> Packet mark : packet-icmp >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok


Name : upload-udp >> Parent : total-upload >> Packet mark : packet-icmp >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 


Name : download-sisa >> Parent : total-download >> Packet mark : packet-sisa >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 


Name : upload-udp >> Parent : total-upload >> Packet mark : packet-sisa >>  Limit.At : 8k >> Max.limit : 8k  >> Apply Ok 


 Hasilnya akan seperti ini


Ping di New Terminal pada winbox
Ping 8.8.8.8 


Ping detik.com 


Sambungkan ke wifi yang sudah dibuat tadi lalu untuk test konfigurasi  buka browser ketik detik.com.
Jika sudah ada yang connect maka warnanya pun akan berubah ubah seperti ini











0 komentar:

:a: :b: :c: :d: :e: :f: :g: :h: :i: :j: :k: :l: :m: :n:

Posting Komentar