Community discussions

MikroTik App
 
IntLDaniel
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Thu Apr 04, 2019 7:21 pm

Simple Queue - what traffic is limited?

Thu Feb 17, 2022 2:41 pm

Hi, sorry for my basic question but I am thinking what does simple queue limit?

like this:
/queue simple
add burst-limit=0/30M burst-threshold=0/5M burst-time=0s/10s max-limit=8M/16M \
    name="TEST" queue=wireless-default/wireless-default \
    target=192.168.1.3/32
Does this limit all the communication of client on 192.168.1.3 to anywhere (to internet interface of the router?, to every other lan interfaces on the router?, to MikroTik router itself?)? If all is truth, am I able to limit only the direction to/from WAN interfaces with such simple queues?

Thanks for the clean answeer :-)
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 3:19 pm

It will limit the traffic to/from that host from/to all the other Networks...
 
IntLDaniel
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Thu Apr 04, 2019 7:21 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 3:28 pm

It will limit the traffic to/from that host to all the other Networks...
OK that is what I expected. So now, if the queue will be full, it will also affect communication to DNS server directly on MikroTik router and other DNS server on LAN and or communication to local server on LAN which I do not want to limit. So what is the solution? I am thinking about one of these:
* fastrack mentioned communication from LAN to LAN and LAN to MIKROTIK (incl. DNS?) and it will bypas this queue?
* specify destination on queue (but there is an option for one interface only, not group of intefaces - I have 2 WAN)?
* use packet marks in the queue?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 3:40 pm

and or communication to local server on LAN which I do not want to limit
To all the other networks, as indicated in my previous post. Since your Server and that host are on the Same Lan ( same Network ) there will be no traffic limit between them ...
( It can be limited, but that's not the case here )
 
IntLDaniel
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Thu Apr 04, 2019 7:21 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 3:46 pm

and or communication to local server on LAN which I do not want to limit
To all the other networks, as indicated in my previous post. Since your Server and that host are on the Same Lan ( same Network ) there will be no traffic limit between them ...
( It can be limited, but that's not the case here )
OK so
* communication to router itself - the same LAN - not limited, so the DNS aswers will not be affected? :-)
* communitation to other LAN interface - different network - limited (so need to set LAN to LAN fasttrack rule?)
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 4:09 pm

You can as well exclude that destination address/subnet from your Queue rule...
 
pe1chl
Forum Guru
Forum Guru
Posts: 10183
Joined: Mon Jun 08, 2015 12:09 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 4:42 pm

The RouterOS DNS service is running inside the router, you can see that as "a different LAN" in this context.
The only thing excluded from the Simple Queue (without further config) is the traffic being switched or bridged between ports that are configured in the same LAN.

However, it should not really matter. Under normal circumstances the queue will not drop much traffic, it will mostly just delay it a bit.
And when a user has saturated his queue with a lot of download traffic, he is probably not that interested in DNS traffic at that time.
 
IntLDaniel
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Thu Apr 04, 2019 7:21 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 8:02 pm

You can as well exclude that destination address/subnet from your Queue rule...
so you mean another target simple queue with "!"?
 
IntLDaniel
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Thu Apr 04, 2019 7:21 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 8:10 pm

The RouterOS DNS service is running inside the router, you can see that as "a different LAN" in this context.
The only thing excluded from the Simple Queue (without further config) is the traffic being switched or bridged between ports that are configured in the same LAN.

However, it should not really matter. Under normal circumstances the queue will not drop much traffic, it will mostly just delay it a bit.
And when a user has saturated his queue with a lot of download traffic, he is probably not that interested in DNS traffic at that time.

DNS as different network... hmm , so to avoid delays in DNS communication I should set rule to fasttrack DNS?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10183
Joined: Mon Jun 08, 2015 12:09 pm

Re: Simple Queue - what traffic is limited?

Thu Feb 17, 2022 8:43 pm

No not "DNS as different network" but "inside router and outside on LAN as different network".
EVERYTHING that passes through the router (and not only through the switch) is passed through the queue.

There is no need to do such settings (you cannot do that anyway), everything will work fine.
 
PackElend
Member Candidate
Member Candidate
Posts: 268
Joined: Tue Sep 29, 2020 6:05 pm

Re: Simple Queue - what traffic is limited?

Wed May 04, 2022 6:29 pm

what would happen if the target is changed to an interface?

Would burst applied to each client going through this interface or is the traffic through this interface accumulated, means user 1 could consume all burst bandwidth if user 2 connects later.
/queue simple
add burst-limit=0/30M burst-threshold=0/5M burst-time=0s/10s max-limit=8M/16M \
    name="TEST" queue=wireless-default/wireless-default  target=VLAN_GUEST

Who is online

Users browsing this forum: Bing [Bot], Husky, rplant and 62 guests