Está en la página 1de 16

Management Bandwith Per Host Dengan

Quuee Tree

Blog : http://mysnsmedia.blogspot.com
E-mail : supri_on7@yahoo.com
 Set IP Address
 Set DNS
 Set Firewall
 Request IP DHCP Client dari Modem
 Tes Ping Ke Internet di winbox menu new
terminal
Mangle Mark Connection

 Chain = prerouting
 src-address=Ip Host
 Contoh src-address=192.168.2.2
 action=mark-connection
 new-connection-mark= Definisikan nama mark
connectionnya
 Contoh : new-connection-mark=con_pc1
 passthrough=yes

----------------------------------------------------
Script :
/ip firewall mangle add action=mark-connection
chain=prerouting disabled=no new-connection-mark=con_pc1
passthrough=yes src-address=192.168.2.2
Mangle Mark Paket

 chain=prerouting
 connection-mark=hubungkan dengan mark connection yang
telah dibuat sebelumnya
 Contoh : connection-mark=con_pc1

 action=mark-packet
 packet-mark=definisakan nama paket untuk host
 Contoh : packet-mark=pk_pc1
 passthrough=yes

Script :
/Ip firewall mangel add action=mark-packet chain=prerouting
connection-mark=con_pc1 disabled=no new-packet-
mark=pk_pc1 passthrough=yes
Buat lagi mark connention dan mark paket untuk host selanjutnya
(pc2,pc3,pc4, dst…),
Untuk PC2 s/d Pc5
/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-
connection-mark=con_pc2 passthrough=yes src-address=192.168.2.3
add action=mark-packet chain=prerouting connection-mark=con_pc2 disabled=no new-
packet-mark=pk_pc2 passthrough=yes

/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-


connection-mark=con_pc3 passthrough=yes src-address=192.168.2.4
add action=mark-packet chain=prerouting connection-mark=con_pc3 disabled=no new-
packet-mark=pk_pc3 passthrough=yes

/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-


connection-mark=con_pc4 passthrough=yes src-address=192.168.2.5
add action=mark-packet chain=prerouting connection-mark=con_pc4 disabled=no new-
packet-mark=pk_pc4 passthrough=yes

/ip firewall mangle add action=mark-connection chain=prerouting disabled=no new-


connection-mark=con_pc5 passthrough=yes src-address=192.168.2.6
add action=mark-packet chain=prerouting connection-mark=con_pc5 disabled=no new-
packet-mark=pk_pc5 passthrough=yes

Warna Merah disesuaikan


Quuee tree untuk uploud sebagai induk

 Name = definisikan nama untuk uploud


 Contoh : name=parent-up
 parent=interface yang paling terakhir dilewati ketika
ingin mengakses internet
 Contoh : parent=ether1
 max-limit=berikan batasan maximum untuk uploud
 contoh : max-limit=128k
 priority=8

Script :
/queue tree add max-limit=128k name=parent-up
parent=ether1 priority=8
Quuee tree untuk download sebagai induk

 Name = definisikan nama untuk download


 Contoh : name=parent-down
 parent=interface yang yang ditunjuk sebagai gateway dari
host
 Contoh : parent=ether2
 max-limit=berikan batasan maximum untuk uploud
 contoh : max-limit=128k
 priority=8

Script :
add max-limit=128k name=parent-down parent=ether2
priority=8
Uploud

 name=definisikan nama host


 Contoh : name=pc1-up
 parent=parent-up
 packet-mark=koneksikan ke mark paket yang telah
dibuat sebelumnya
 Contoh : packet-mark=pk_pc1
 limit-at=64k
 max-limit=128k

Script :
/queue tree add limit-at=64k max-limit=128k
name=pc1-up packet-mark=pk_pc1 parent=parent-up
Download

 name=definisikan nama host


 Contoh : name=pc1-down
 parent=parent-down
 packet-mark=koneksikan ke mark paket yang telah dibuat
sebelumnya
 Contoh : packet-mark=pk_pc1
 limit-at=64k
 max-limit=128k

Script :
/queue tree add limit-at=64k max-limit=128k name=pc1-
down packet-mark=pk_pc1 parent=parent-down
/queue tree
add limit-at=64k max-limit=128k name=pc2-up packet-mark=pk_pc2 parent=parent-up
add limit-at=64k max-limit=128k name=pc2-down packet-mark=pk_pc2 parent=parent-down

/queue tree
add limit-at=64k max-limit=128k name=pc3-up packet-mark=pk_pc3 parent=parent-up
add limit-at=64k max-limit=128k name=pc3-down packet-mark=pk_pc3 parent=parent-down

/queue tree
add limit-at=64k max-limit=128k name=pc4-up packet-mark=pk_pc4 parent=parent-up
add limit-at=64k max-limit=128k name=pc4-down packet-mark=pk_pc4 parent=parent-down

/queue tree
add limit-at=64k max-limit=128k name=pc5-up packet-mark=pk_pc5 parent=parent-up
add limit-at=64k max-limit=128k name=pc5-down packet-mark=pk_pc5 parent=parent-down
 Atur Ip Address di
klient, contoh pc1
 Lakukan Browsing
dan download
 Amati pergerakan
yang berada di quee
tree, pastikan ada
trafik yang berjalan

También podría gustarte