How to Setting Mikrotik Limit Bandwidht
After you install Mikrotik As Gateway ,mikrotik As DHCP server, and Now, To Control Traffic internet you can make Limit Bandwidht uses Queue Simple Or Queue Tree
A. Uses Simple Queue
1. Log in From Winbox
2. If you success, you can enter to Winbox configuration setting
3. Click Queue and add new Simple Queue
in General Tab
- Set name = Client 1
- Target address = Ip that would in the Limit bandwidht. example: 123.123.123.0/24
- Max-Limit = Maximum bandwidht you can give for Download and Upload
example: 64k/64k
4. In Simple Queue setting, Click Advance
- set interface = Local
- set Limita-at = 32k/32k
5. Apply and Ok
B. Uses PCQ (Per Client Queue)
1. set in mangel first to configuration paket mark and conection mark
ip—-firewall—mangel—add new queue List
chain=forward src-address=123.123.123.0/24 action=mark-connection new-connection-mark=123-CM passthrough=yes
chain=forward connection-mark=123-CM action=mark-packet new-packet-mark=123-PM passthrough=yes
2. In Queue Type, set download and Upload
Queue—QueueType—-add
name=”download” kind=pcq pcq-rate=0 pcq-limit=10 pcq-classifier=dst-address pcq-total-limit=2000
name=”upload” kind=pcq pcq-rate=0 pcq-limit=10 pcq-classifier=src-address pcq-total-limit=2000
3. In Queue Tree,Set Bandwidht you can give to ip Local
Queue—QueueTree—-add
name=”123L” parent=Local packet-mark=123-PM limit-at=0 queue=download priority=8 max-limit=64000 burst-limit=0 burst-threshold=0 burst-time=0s
name=”123P” parent=Public packet-mark=123-PM limit-at=0 queue=upload priority=8 max-limit=64000 burst-limit=0 burst-threshold=0 burst-time=0s
4. Ok complete
Source : http://mikrotik.unimedcenter.org/?p=9
COMMENTS