Topic: Optimasi Mikrotik untuk Speedy 1Mb

Untuk Para master tolong bantuan koreksinya....
apa optimasi dibawah sudah benar apa tidak??
kalau optimasi dibawah ada yang salah atau kurang tolong bantuannya untuk memperbaiki!!
Mangle

[riza@leriz] > /ip fir ma print
Flags: X - disabled, I - invalid, D - dynamic
0   chain=forward action=mark-connection new-connection-mark=users-con
     passthrough=yes src-address=192.168.30.0/27

1   chain=forward action=mark-packet new-packet-mark=users passthrough=yes
     connection-mark=users-con

2   ;;; http-video mark-packet
     chain=prerouting action=mark-packet new-packet-mark=http-video
     passthrough=no layer7-protocol=http-video

3   ;;; 7z DOWNS
     chain=prerouting action=mark-connection new-connection-mark=7z DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .7z "

4   chain=postrouting action=mark-packet new-packet-mark=7z passthrough=no
     protocol=tcp connection-mark=7z DOWNS

5   ;;; asf DOWNS
     chain=prerouting action=mark-connection new-connection-mark=asf DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .asf "

6   chain=postrouting action=mark-packet new-packet-mark=asf passthrough=no
     protocol=tcp connection-mark=asf DOWNS

7   ;;; avi DOWNS
     chain=prerouting action=mark-connection new-connection-mark=avi DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .avi "

8   chain=postrouting action=mark-packet new-packet-mark=avi passthrough=no
     protocol=tcp connection-mark=avi DOWNS

9   ;;; bin DOWNS
     chain=prerouting action=mark-connection new-connection-mark=bin DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .bin "

10   chain=postrouting action=mark-packet new-packet-mark=bin passthrough=no
     protocol=tcp connection-mark=bin DOWNS

11   ;;; flv DOWNS
     chain=prerouting action=mark-connection new-connection-mark=flv DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .flv "

12   chain=postrouting action=mark-packet new-packet-mark=flv passthrough=no
     protocol=tcp connection-mark=flv DOWNS

13   ;;; iso DOWNS
     chain=prerouting action=mark-connection new-connection-mark=iso DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .iso "

14   chain=postrouting action=mark-packet new-packet-mark=iso passthrough=no
     protocol=tcp connection-mark=iso DOWNS

15   ;;; mkv DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mkv DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mkv "

16   chain=postrouting action=mark-packet new-packet-mark=mkv passthrough=no
     protocol=tcp connection-mark=mkv DOWNS

17   ;;; exe DOWNS
     chain=prerouting action=mark-connection new-connection-mark=exe DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .exe "

18   chain=postrouting action=mark-packet new-packet-mark=exe passthrough=no
     protocol=tcp connection-mark=exe DOWNS

19   ;;; mov DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mov DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mov "

20   chain=postrouting action=mark-packet new-packet-mark=mov passthrough=no
     protocol=tcp connection-mark=mov DOWNS

21   ;;; mp3 DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mp3 DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mp3 "

22   chain=postrouting action=mark-packet new-packet-mark=mp3 passthrough=no
     protocol=tcp connection-mark=mp3 DOWNS

23   ;;; mp4 DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mp4 DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mp4 "

24   chain=postrouting action=mark-packet new-packet-mark=mp4 passthrough=no
     protocol=tcp connection-mark=mp4 DOWNS

25   ;;; mpeg DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mpeg DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mpeg "

26   chain=postrouting action=mark-packet new-packet-mark=mpeg passthrough=no
     protocol=tcp connection-mark=mpeg DOWNS

27   ;;; mpg DOWNS
     chain=prerouting action=mark-connection new-connection-mark=mpg DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .mpg "

28   chain=postrouting action=mark-packet new-packet-mark=mpg passthrough=no
     protocol=tcp connection-mark=mpg DOWNS

29   ;;; nrg DOWNS
     chain=prerouting action=mark-connection new-connection-mark=nrg DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .nrg "

30   chain=postrouting action=mark-packet new-packet-mark=nrg passthrough=no
     protocol=tcp connection-mark=nrg DOWNS


31   ;;; ram DOWNS
     chain=prerouting action=mark-connection new-connection-mark=ram DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .ram "

32   chain=postrouting action=mark-packet new-packet-mark=ram passthrough=no
     protocol=tcp connection-mark=ram DOWNS

33   ;;; rar DOWNS
     chain=prerouting action=mark-connection new-connection-mark=rar DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .rar "

34   chain=postrouting action=mark-packet new-packet-mark=rar passthrough=no
     protocol=tcp connection-mark=rar DOWNS

35   ;;; rm DOWNS
     chain=prerouting action=mark-connection new-connection-mark=rm DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .rm "

36   chain=postrouting action=mark-packet new-packet-mark=rm passthrough=no
     protocol=tcp connection-mark=rm DOWNS

37   ;;; rmvb DOWNS
     chain=prerouting action=mark-connection new-connection-mark=rmvb DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .rmvb "

38   chain=postrouting action=mark-packet new-packet-mark=rmvb passthrough=no
     protocol=tcp connection-mark=rmvb DOWNS

39   ;;; wav DOWNS
     chain=prerouting action=mark-connection new-connection-mark=wav DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .wav "

40   chain=postrouting action=mark-packet new-packet-mark=wav passthrough=no
     protocol=tcp connection-mark=wav DOWNS

41   chain=postrouting action=mark-packet new-packet-mark=wma passthrough=no
     protocol=tcp connection-mark=wma DOWNS

42   ;;; wmv DOWNS
     chain=prerouting action=mark-connection new-connection-mark=wmv DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .wmv "

43   chain=postrouting action=mark-packet new-packet-mark=wmv passthrough=no
     protocol=tcp connection-mark=wmv DOWNS

44   chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no
     protocol=tcp connection-mark=http

45   ;;; zip DOWNS
     chain=prerouting action=mark-connection new-connection-mark=zip DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .zip "

46   chain=postrouting action=mark-packet new-packet-mark=zip passthrough=no
     protocol=tcp connection-mark=zip DOWNS

47   chain=postrouting action=mark-packet new-packet-mark=youtube passthrough=no
     protocol=tcp connection-mark=youtube DOWNS

48   ;;; daa DOWNS
     chain=prerouting action=mark-connection new-connection-mark=daa DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .daa "

49   chain=postrouting action=mark-packet new-packet-mark=daa passthrough=no
     protocol=tcp connection-mark=daa DOWNS

50   ;;; dat DOWNS
     chain=prerouting action=mark-connection new-connection-mark=dat DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .dat "

51   chain=postrouting action=mark-packet new-packet-mark=dat passthrough=no
     protocol=tcp connection-mark=dat DOWNS

52   ;;; vcd DOWNS
     chain=prerouting action=mark-connection new-connection-mark=vcd DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .vcd "

53   chain=postrouting action=mark-packet new-packet-mark=vcd passthrough=no
     protocol=tcp connection-mark=vcd DOWNS

54   ;;; cab DOWNS
     chain=prerouting action=mark-connection new-connection-mark=cab DOWNS
     passthrough=yes protocol=tcp layer7-protocol=Extension " .cab "

55   chain=postrouting action=mark-packet new-packet-mark=cab passthrough=no
     protocol=tcp connection-mark=cab DOWNS

56   ;;;  bikin_cepat_ping_dan_dns
     chain=prerouting action=mark-connection new-connection-mark=icmp-con
     passthrough=yes protocol=icmp

57   ;;;  bikin_cepat_ping_dan_dns
     chain=prerouting action=mark-connection new-connection-mark=icmp-con
     passthrough=yes protocol=icmp

58   chain=forward action=mark-packet new-packet-mark=YOUTUBE VIDEO LOKAL PACKET
     passthrough=no layer7-protocol=YOUTUBE VIDEO LOKAL

59   chain=forward action=mark-packet
     new-packet-mark=YOUTUBE VIDEO INTERNATIONAL PACKET passthrough=no
     layer7-protocol=YOUTUBE VIDEO INTERNATIONAL

60   ;;; LOST SAGA
     chain=prerouting action=mark-connection new-connection-mark=GAME KONEKSI
     passthrough=no protocol=tcp dst-port=14009-14010

61   ;;; LOST SAGA UDP
     chain=prerouting action=mark-connection new-connection-mark=GAME KONEKSI
     passthrough=no protocol=udp dst-port=14009-14010

62   ;;; Point_Blank
     chain=game action=mark-connection new-connection-mark=Game passthrough=yes
     protocol=tcp dst-address=203.89.146.0/23 dst-port=39190

63   chain=game action=mark-connection new-connection-mark=Game passthrough=yes
     protocol=udp dst-address=203.89.146.0/23 dst-port=40000-40010

64   chain=game action=mark-packet new-packet-mark=Game_pkt passthrough=no
     connection-mark=Game

65   chain=prerouting action=jump jump-target=game

66   ;;; BROWSE
     chain=forward action=mark-connection new-connection-mark=http
     passthrough=yes protocol=tcp in-interface=public out-interface=local
     packet-mark=!Game_pkt connection-mark=!Game connection-bytes=0-262146

67   chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no
     protocol=tcp connection-mark=http

68   ;;; ICMP KONEKSI
     chain=prerouting action=mark-connection new-connection-mark=ICMP KONEKSI
     passthrough=yes protocol=icmp

69   ;;; ICMP PAKET
     chain=prerouting action=mark-packet new-packet-mark=ICMP PAKET
     passthrough=no protocol=icmp connection-mark=ICMP KONEKSI

70   ;;; poker
     chain=prerouting action=mark-connection new-connection-mark=poker
     passthrough=yes connection-state=new protocol=tcp dst-port=9339

71   chain=prerouting action=mark-packet new-packet-mark=poker1 passthrough=no
     connection-mark=poker

72   ;;; UPLOAD
     chain=prerouting action=mark-packet new-packet-mark=Upload passthrough=no
     protocol=tcp src-address=192.168.30.0/24 in-interface=local
     packet-mark=!Game_pkt





Queue types

[riza@leriz] > que typ print
0 name="default" kind=pfifo pfifo-limit=50

1 name="ethernet-default" kind=pfifo pfifo-limit=50

2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514

3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
   red-max-threshold=50 red-burst=20 red-avg-packet=1000

4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514

5 name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50
   pcq-classifier=dst-address pcq-total-limit=2000 pcq-burst-rate=0
   pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
   pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128

6 name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifie
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0
   pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=
   pcq-src-address6-mask=128 pcq-dst-address6-mask=128

7 name="Game" kind=pcq pcq-rate=0 pcq-limit=50
   pcq-classifier=src-address,dst-address,src-port,dst-port
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0
   pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=
   pcq-src-address6-mask=128 pcq-dst-address6-mask=128

8 name="Http" kind=pcq pcq-rate=1700k pcq-limit=50 pcq-classifier=
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0
   pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=
   pcq-src-address6-mask=128 pcq-dst-address6-mask=128

9 name="Upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=sr
   pcq-total-limit=2000 pcq-burst-rate=0 pcq-burst-threshold=0
   pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=
   pcq-src-address6-mask=64 pcq-dst-address6-mask=64

10 name="default-small" kind=pfifo pfifo-limit=10





Simple queue

[riza@leriz] > que sim print
Flags: X - disabled, I - invalid, D - dynamic
0    name="youtube" interface=all parent=none packet-marks=http-video direction=both
      priority=8 queue=default-small/default-small limit-at=0/0 max-limit=32k/128k
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

1    name="exe" interface=all parent=none packet-marks=exe direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

2    name="dat" interface=all parent=none packet-marks=dat direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

3    name="rar" interface=all parent=none packet-marks=rar direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

4    name="zip" interface=all parent=none packet-marks=zip direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

5    name="7z" interface=all parent=none packet-marks=7z direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

6    name="cab" interface=all parent=none packet-marks=cab direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

7    name="asf" interface=all parent=none packet-marks=asf direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

8    name="mov" interface=all parent=none packet-marks=mov direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

9    name="wmv" interface=all parent=none packet-marks=wmv direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

10    name="mpg" interface=all parent=none packet-marks=mpg direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

11    name="mpeg" interface=all parent=none packet-marks=mpeg direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

12    name="mkv" interface=all parent=none packet-marks=mkv direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

13    name="avi" interface=all parent=none packet-marks=avi direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

14    name="flv" interface=all parent=none packet-marks=flv direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

15    name="wav" interface=all parent=none packet-marks=wav direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

16    name="rm" interface=all parent=none packet-marks=rm direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

17    name="mp3" interface=all parent=none packet-marks=mp3 direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

18    name="mp4" interface=all parent=none packet-marks=mp4 direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

19    name="ram" interface=all parent=none packet-marks=ram direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=0/0
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

20    name="rmvb" interface=all parent=none packet-marks=rmvb direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

21    name="daa" interface=all parent=none packet-marks=daa direction=both priority
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

22    name="iso" interface=all parent=none packet-marks=iso direction=both priority
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

23    name="nrg" interface=all parent=none packet-marks=nrg direction=both priority
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

24    name="bin" interface=all parent=none packet-marks=bin direction=both priority
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

25    name="vcd" interface=all parent=none packet-marks=vcd direction=both priority
      queue=default-small/default-small limit-at=0/0 max-limit=80k/80k burst-limit=
      burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

Re: Optimasi Mikrotik untuk Speedy 1Mb

coba l7nya bikin lebih simple lagi untuk mengurangi resource seperti ini :

/ip firewall layer7-protocol
add comment="" name=download regexp="^.*get.+\\.(exe|rar|zip|7z|cab|asf|mov|wmv\
|mpg|mpeg|mkv|avi|flv|pdf|wav|rm|mp3|mp4|ram|rmvb|dat|daa|iso|nrg|bin|vcd|\
mp2|3gp|mpe|qt|raw|wma|ogg|doc|deb|tar|bzip|gzip|gzip2|0[0-9][0-9]).*\$"

tangkap / tandai packet :

/ip firewall mangle
add action=mark-packet chain=forward comment=download disabled=no \
layer7-protocol=download new-packet-mark=download passthrough=no protocol=tcp

setelah itu atur di queuenya. terserah mau pake simple queue atau queue tree.

Yang lain macam youtube & video streaming bisa juga menggunakan cara seperti diatas.

semoga membantu

LAZUARDY NETWORK BONTANG-KALTIM