Community discussions

MikroTik App
 
timamplex
just joined
Topic Author
Posts: 20
Joined: Tue Feb 23, 2016 4:50 pm

Simple Queue Master/Child Priority Issue

Tue Dec 31, 2019 9:55 pm

Having a very odd time figuring out why queue priority doesn't seem to be working for me.

Test setup: Symmetric 1000/1000 connection, Hex S, Router OS 6.46.1

Two internal dhcp scopes 192.168.88.1/24 (lan) and 192.168.68.1/23 (guest)

Test results from running speedtest on both at the same time is a 50/50 split of available bandwidth (one device on 192.168.88.252 showing ~ 450 meg download/upload, one device on 192.168.68.2 showing ~ 500 meg download/upload) versus what I'd expect is the priority to give 100M to guest queue and remaining 900M to LAN queue as it has a higher priority.

I'm pretty sure I'm not doing anything stupid, fastrack isn't enabled. Verified devices IPs/etc.

Any ideas?

Tim

/queue simple
add max-limit=950M/950M name=Master queue=default/default total-queue=default
add limit-at=100M/100M max-limit=900M/900M name=lan parent=Master priority=6/6 queue=default/default target=192.168.88.0/24 total-queue=default
add limit-at=100M/100M max-limit=900M/900M name=guest parent=Master priority=7/7 queue=default/default target=192.168.68.0/23 total-queue=default

/ip firewall filter
add action=accept chain=input comment=restr-mgnt-in src-address-list=restr-mgnt
add action=accept chain=forward comment=vlan200-in dst-address=10.0.1.216/29 src-address=0.0.0.0/0
add action=accept chain=forward comment=vlan200-out dst-address=0.0.0.0/0 src-address=10.0.1.216/29
add action=drop chain=forward comment="drop traffic from guestlan-vlan600 to anything but ether1" in-interface=vlan600 out-interface-list=!WAN
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall mangle
add action=set-priority chain=postrouting comment="set 802.1p to 5 for voip packets" new-priority=5 packet-mark=voip passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
Last edited by timamplex on Thu Jan 02, 2020 9:28 pm, edited 1 time in total.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Simple Queue Master/Child Priority Issue

Tue Dec 31, 2019 10:29 pm

Not that it will matter, but you say guest is 192.168.68.1/24 but in queue you have a /23?

What does the ques say, do they show traffic / counters?

Have you tested 1 machine on its own, can it get full speed, may they cant and hence load is spread?
 
timamplex
just joined
Topic Author
Posts: 20
Joined: Tue Feb 23, 2016 4:50 pm

Re: Simple Queue Master/Child Priority Issue

Thu Jan 02, 2020 9:29 pm

Fixed original post, as config shows it is a /23 and the IP is in the /23 range, yes, one client gets full speed when run alone of 900 meg, but when both run at the same time they split is ~ 450/each versus the priority 7 queue taking up 800 and the priority 8 queue getting remaining 100.

Anyone have any suggestions as to why this may not be working?

Who is online

Users browsing this forum: Bing [Bot], JoelBS, TuxPowered and 154 guests