marzsv
April 15, 2017, 5:59pm
1
Hi,
I’m a newbie and I’m trying to configure a simple queue to limit up/down bandwidth, but for some reason I don’t know why only the upload limitation is working and not the download limit. My local network address is 192.168.88.0/24 and I added the following simple queue:
add max-limit=512k/512k name=private queue=pcq-upload-default/pcq-download-default target=192.168.88.0/24
I assume that this would be sufficient to limit both directions of traffic, what I’m doing wrong?
marzsv
April 15, 2017, 8:46pm
2
I think I find the solution… disable the fasttrack rule in the firewall. In which scenario should/can I use a fasttrack rule?
jarda
April 15, 2017, 9:38pm
3
In case you want to bypass the firewall and queues.
RoLe77
November 16, 2018, 11:40am
5
had the same Problem
my question is: why does “fasttrack” only work for download, ..?
fasttrack works on connection level, so for both inbound & outbound traffic.
Remember that you can flag connections for fasttrack selectively
Also, fasttracked connections bypass simple queues and mangling among others, but won’t bypass queue tree attached to interface.
RoLe77
November 20, 2018, 12:39pm
7
i am using default fasstrack rule:
4 ;;; defconf: fasttrack
chain=forward action=fasttrack-connection connection-state=established,related log=no
, but won’t bypass queue tree attached to interface.
my QoS Queue was form “WAN → IP Adress” (also tried IP->WAN, but with same result)
so WAN is an interface-list
does this explain why only “upload” was limited?
Fasttrack and simple queues don’t work together. So you can’t use:
/queue simple
add max-limit=512k/512k name=private queue=pcq-upload-default/pcq-download-default target=192.168.88.0/24
you would need to create queue (tree) on wan => for upload and lan => for download
Ex:
/queue tree
add max-limit=10M name=ext parent=wan queue=hotspot-default packet-mark=no-mark
add max-limit=100M name=int parent=lan queue=hotspot-default packet-mark=no-mark
RoLe77
November 20, 2018, 1:27pm
9
but this does not answer why upload is limited, an download is not..
(or i dont understand it)
queue tree need some “Packet Marks” ??
or how can i prevent
add max-limit=100M name=int parent=lan queue=hotspot-default
form limiting ALL traffic (not just to/from “WAN”)
(and, btw why: hotspot-default? its all in LAN)
it will limit all traffic leaving on specified interface, that was your goal
hotspot-default is just a predefined queue type, which uses sfq, so a fair spread of load between all users. You can change / create a new one if want to
RoLe77
November 20, 2018, 7:31pm
11
it will limit all traffic leaving on specified interface, that was your goal
no, only traffic from/to internet..
and traffic leaving WAN interface goes where … => Internet…
RoLe77
November 20, 2018, 8:58pm
13
i dont see why traffic from/to LAN to/from other interfaces (not WAN) should not be limited in your example configuration
This doesn’t make any sense. The manual suggest that fasttrack would improve performance, not slow it down: https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack
it makes sense in the context that fasttrack disables simple queues.
https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack#Description