Community discussions

MikroTik App
 
mlogic
just joined
Topic Author
Posts: 3
Joined: Tue Jan 30, 2018 12:33 pm

LTE Queses does not work

Tue Jan 30, 2018 12:41 pm

Hello,

I have got Mirkotik SXT LTE router. I need to set the bandwith limits for all connectoins to max 1M.. I configured Queses on other routers (RB2011) and I've never had any problems. What do I do wrong?

Queue configuration:
# model = RouterBOARD SXT LTE 3-7
/queue simple
add limit-at=64k/64k max-limit=512k/512k name=LTE packet-marks="port=9000" target=192.168.88.0/24
/queue tree
add limit-at=1024k max-limit=1024k name=Ograniczenie parent=lte1

Best Regards
Marcin
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: LTE Queses does not work

Tue Jan 30, 2018 2:24 pm

Hi

I would suggest to keep it simple and to one method. Above two method are used:
* simple queue for /ip configuration
* queue tree for overall interface upload setting

But the tree approach requires packet marks to be used for traffic classification, which is not the case in the definition above.

Suggestion:
* remove the queue tree
* add parent for the existing simple queue with the upload limit of the queue tree 1m.
** this means that LTE queue is child of this queue
 
mlogic
just joined
Topic Author
Posts: 3
Joined: Tue Jan 30, 2018 12:33 pm

Re: LTE Queses does not work

Tue Jan 30, 2018 2:53 pm

Hello,

Could you explain with more details?
The marks are not important. I have tried many things to try to limits the bandwith.

I tried also this but it just does not work:

# model = RouterBOARD SXT LTE 3-7
/queue simple
add max-limit=1M/1M name=LTE-Parrent
add limit-at=64k/64k max-limit=512k/512k name=LTE parent=LTE-Parrent target=192.168.88.0/24 total-limit-at=1024k total-max-limit=1024k

What should I do to limit the transfer? The issue is that when the connection is set the transfer is about 16Mb with monthly limtis about 25GB... So it is finished in few hours...

Regards,
Marcin
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: LTE Queses does not work

Tue Jan 30, 2018 4:25 pm

Have you disabled fasttrack?
 
mlogic
just joined
Topic Author
Posts: 3
Joined: Tue Jan 30, 2018 12:33 pm

Re: LTE Queses does not work

Tue Jan 30, 2018 4:44 pm

No! Now it works fine!

Why fasttrack obeys queue?
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: LTE Queses does not work

Tue Jan 30, 2018 7:26 pm

It is by design: https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack

Fasttracked packets bypass firewall, connection tracking, simple queues, queue tree with parent=global, ip traffic-flow(restriction removed in 6.33), IP accounting, IPSec, hotspot universal client, VRF assignment, so it is up to administrator to make sure fasttrack does not interfere with other configuration.

Not sure why MT excludes "Queue Trees parented to interfaces" in wiki.. However setting interface queue to one of the pcq queue types works fine even with fasttrack.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: LTE Queses does not work

Tue Jan 30, 2018 9:48 pm

With the speed you're operating at this time, you don't need fasttrack. Disable it and reboot, and you'll have full functionality.

If you do keep fasttrack, then delete simple queue.
Use pcq, as noted, as queue type based on source ip (in your lan), 512k rate, and 1m queue max-limit.
With fasttrack, you won't be able to mangle, so packet mark of queue should be set to "no-mark".

Who is online

Users browsing this forum: CedrikAlton and 33 guests