Sebuah buku kecil yang sangat bernilai!

Banyak hal yang dilihat,didengar,dibaca dan dipelajari, dan banyak juga yang akhirnya lupa.

Mangle untuk bandwidth manager pada mikrotik v6

 ;;; mark packet for UpLoad untuk Client No.10
     chain=postrouting action=mark-packet new-packet-mark=client10-packet-upload
     passthrough=yes src-address=192.168.88.10 out-interface=eth1-gateway


 ;;; mark packet for DownLoad untuk Client No.10
    chain=postrouting action=mark-packet new-packet-mark=client10-packet-download
     passthrough=yes dst-address=192.168.88.10 out-interface=eth4-local-master

 Script :
 :for i from 101 to 125 do={
/ip firewall mangle add chain=postrouting action=mark-packet new-packet-mark=("client" . $i . "-packet-upload") passthrough=yes src-address=("192.168.88." . $i . "") out-interface=eth1-gateway comment=("mark packet-upload client-" . $i . "")
/ip firewall mangle add chain=postrouting action=mark-packet new-packet-mark=("client" . $i . "-packet-download") passthrough=yes dst-address=("192.168.88." . $i . "") out-interface=eth2-local-master comment=("mark packet-download client-" . $i . "")}

/queue tree  add name=parent-download parent=global mai-limit=5M
:for i from 101 to 125 do={/queue tree  add name=("q-download-" . $i . "")  parent=parent-download packet-mark=("client" . $i . "-packet-download")  limit-at=128k mai-limit=2M}

/queue tree add name=parent-upload parent=global mai-limit=2M
:for i from 101 to 125 do={/queue tree  add name=("q-upload-" . $i . "")  parent=parent-upload packet-mark=(""client" . $i . "-packet-upload") limit-at=128k mai-limit=1M}
Share on Google Plus

About Does

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment