I want some basic QoS on RouterOS.
I can explain this on Cisco CLI.
Please help me translate this to RouterOS CLI.
# ip access-list extended LIST1
permit ip 192.168.0.0 0.0.0.255 host 192.168.120.215
#class-map MATCH_LIST1
match access-group LIST1
#policy-map PRIORITY_LIST1
class MATCH_LIST1
bandwidth 2048
# int f0/0
description To_branch1
service-policy output PRIORITY_LIST1
p/s RouterOS 6.7 (6.10)
pe1chl
May 20, 2016, 12:38pm
2
In MikroTik it is configured under “Firewall->Mangle” and “Queing”.
Add a rule under Firewall->mangle/postrouting that marks your traffic with a user-chosen mark
and under queueing add a queue that matches this mark and limits the rate.
I can’t see “Queing” under “Firewal” settings.
The Queuse is under main menu.
Is it right? (see
screenshot)
adyb76
May 23, 2016, 10:16am
4
Hi,
You need to use firewall mangle rules to identify the traffic that you want to apply QoS to.
Create an address list for the hosts you want to limit
/IP firewall address-list add address=192.168.1.0/24 list=limit
Then create the firewall rules to mark the connections and use the connection mark to mark packets for that connection
/ip firewall mangle
add action=mark-connection chain=forward dst-address-list=limit new-connection-mark=limit-connection
add action=mark-packet chain=forward connection-mark=limit-connection dst-address-list=limit new-packet-mark=limit-packet passthrough=no
Then create a simple queue with the limits you need.
/queue simple
add limit-at=0/2M max-limit=0/2M name=2mblimit packet-marks=limit-packet target=""
Ade