I can’t understand why simple queue works perfectly when target is download but it fails when limiting upload.
See my config:
0 name="queue1" target-addresses=0.0.0.0/0 interface=bridge1 parent=none
packet-marks="" direction=both priority=8
queue=default-small/default-small limit-at=256k/0 max-limit=512k/2M
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
interface bridge settings print
use-ip-firewall: yes
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: no
where am I go wrong?
maybe you don’t know what “Limit-at” parameter stands for:
CIR (Committed Information Rate) – (limit-at in RouterOS) worst case scenario, flow will get this amount of traffic rate regardless of other traffic flows. At any given time, the bandwidth should not fall below this committed rate.
MIR (Maximum Information Rate) – (max-limit in RouterOS) best case scenario, maximum available data rate for flow, if there is free any part of bandwidth.
You need to mark the incoming interface for your queue.
Example:
mark Upload on wlan1
mark Download on bridge-local
how can I mark it?
thanks
In your 1st post, you are marking bridge1. Do the same thing, but on the interface you wish to limit for upload.
adding a new queue only for upload marking interface=wlan1-gateway ?
If you’re trying to apply it to wireless, yes. Give it a try. You didn’t give any details on the device you’re trying to configure or the traffic flow you’re trying to queue.
It’s a CPE in router mode
Here’s my config I’ve used with success. You’ll need to adjust your interfaces accordingly.
[admin@MikroTik] > /queue tree print
Flags: X - disabled, I - invalid
0 X name=“down” parent=bridge-local packet-mark=down limit-at=0 queue=pcq-download-default priority=8 max-limit=5M burst-limit=0 burst-threshold=0 burst-time=0s
1 X name=“up” parent=wlan1 packet-mark=up limit-at=0 queue=pcq-upload-default priority=8 max-limit=2M burst-limit=0 burst-threshold=0 burst-time=0s
I use simple queues, while you’re using pcq with queues tree
I cannot limit upload traffic yet.
How can I make 2 different queues for download and upload traffic?
I need to mark traffic from/to each interface and then limit packet marks with simple queue?