Community discussions

MikroTik App
 
User avatar
lapsio
Member
Member
Topic Author
Posts: 481
Joined: Wed Feb 24, 2016 5:19 pm

simple queue with overlapping target

Wed Mar 25, 2020 2:54 am

I have follwoing simple queues:

add burst-limit=10M/10M burst-threshold=2M/2M burst-time=6s/6s dst=ppp-wan max-limit=4M/4M name=ppp priority=1/1 queue=default-huge/default-huge target=""
add burst-limit=4M/4M burst-threshold=1M/1M burst-time=6s/6s dst=ppp-wan max-limit=2M/2M name=ppp-all parent=ppp priority=2/2 queue=default-huge/default-huge target=""
add burst-limit=1M/1M burst-threshold=128k/128k burst-time=6s/6s dst=ppp-wan max-limit=256k/256k name=ppp-dmz parent=ppp priority=3/3 queue=default-huge/default-huge target=\
    192.168.2.0/24
add burst-limit=512k/512k burst-threshold=96k/96k burst-time=6s/6s dst=ppp-wan max-limit=128k/128k name=ppp-public parent=ppp priority=4/4 queue=default-huge/default-huge target=\
    192.168.3.0/24

I want to limit all traffic to 4M, traffic from other subnets in 192.168.0.0/16 to 2M and traffic from 192.168.2.0/24 and 192.168.3.0/24 to respective bandwidths. Unfortunately second rule (2M) captures all the traffic. Even one coming from 192.168.2.0/24, giving them too much available bandwidth. If I set target to 192.168.0.0/16 instead of "any" it gives the same result - queue ppp-all catches all the traffic giving public and dmz too high limit.

How can I fix that?
MTCNA, MTCRE, MTCINE

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], jamrobe, MSN [Bot], tdw and 173 guests