Community discussions

MikroTik App
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

simple queues don't work as before

Wed Feb 08, 2017 12:23 am

hello, i've had a RB450 for several years now, but never upgraded the OS because it worked fine. a few days ago i upgraded to version 6.38.1 and discovered that simple queues don't work as before
this is my queue configuration
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=0/0 name="apple tv" parent=none priority=8 queue=\
default-small/default-small target-addresses=\
151.151.150.24/32,151.151.150.22/32 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=2000000/2000000 name="other machines" parent=none \
priority=8 queue=default-small/default-small target-addresses=\
151.151.150.0/24 total-queue=default-small
it always worked fine, it gives me unlimited speed for netflix and then limits other connections to 2M.
problem is, since last update, it doesn't seem to work anymore, i don't know why, it just limits all my connections to 2M regardless of other queues that are on top. does anyone know how to fix it? thank you very much
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1351
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: simple queues don't work as before

Thu Feb 09, 2017 1:00 am

What rOS version where you using previously?
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

Re: simple queues don't work as before

Thu Feb 09, 2017 6:24 pm

i was using version 3.somehing, i think 3.08
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1351
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: simple queues don't work as before

Thu Feb 09, 2017 11:00 pm

i was using version 3.somehing, i think 3.08
Reset the device and apply your rules from a clean state.
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

Re: simple queues don't work as before

Sun Feb 12, 2017 1:50 am

i was using version 3.somehing, i think 3.08
Reset the device and apply your rules from a clean state.
i did it, didn't fix the problem
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

Re: simple queues don't work as before

Sun Feb 12, 2017 1:54 am

testing how queues work i found out that if i have a simple queue pointing to an ip address and another one to all ips it will enforce the queue that has less max speed, regardless of the order of the queues
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: simple queues don't work as before

Sun Feb 12, 2017 10:32 am

I am currently using simple queues with apple TV's and various other vlans. can you do a print of your simple queues and queue types also detail your total bandwidth up and down so we can help generate some rules that will hopefully do what you want. If you have specific IP's for the apple TVS that would help. I have found setting them to static or adding reservation in DHCP server allows for better management of bandwidth for Apple TV's
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

Re: simple queues don't work as before

Sun Feb 12, 2017 9:56 pm

I am currently using simple queues with apple TV's and various other vlans. can you do a print of your simple queues and queue types also detail your total bandwidth up and down so we can help generate some rules that will hopefully do what you want. If you have specific IP's for the apple TVS that would help. I have found setting them to static or adding reservation in DHCP server allows for better management of bandwidth for Apple TV's
i only have the 2 queues that i've posted above, the apple tv has static ip, i have 5mbps download and 1mbps upload speed
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: simple queues don't work as before

Sun Feb 12, 2017 10:27 pm

add dst=151.151.150.0/24 name="LAN" queue=ethernet-default/ethernet-default target=151.151.150.0/24
add name="WAN" target=151.151.150.0/24 parent=none packet-marks="" priority=8/8 queue=synchronous-default/synchronous-default limit-at=0/0 max-limit=5M/1M 
add name="APPLETV" parent=WAN queue=pcq-upload-default/pcq-download-default target=151.151.150.24/32,151.151.150.22/32 
add max-limit=2M/1M name="Lan computers to internet" parent=WAN queue=pcq-upload-default/pcq-download-default target=151.151.150.0/24
Once you have added the rules change the order. Put rule LAN at the top. Put Wan at the bottom.
 
nanogi
just joined
Topic Author
Posts: 10
Joined: Wed Feb 08, 2017 12:15 am

Re: simple queues don't work as before

Mon Feb 13, 2017 5:40 am

add dst=151.151.150.0/24 name="LAN" queue=ethernet-default/ethernet-default target=151.151.150.0/24
add name="WAN" target=151.151.150.0/24 parent=none packet-marks="" priority=8/8 queue=synchronous-default/synchronous-default limit-at=0/0 max-limit=5M/1M 
add name="APPLETV" parent=WAN queue=pcq-upload-default/pcq-download-default target=151.151.150.24/32,151.151.150.22/32 
add max-limit=2M/1M name="Lan computers to internet" parent=WAN queue=pcq-upload-default/pcq-download-default target=151.151.150.0/24
Once you have added the rules change the order. Put rule LAN at the top. Put Wan at the bottom.
great! that worked like a charm!! would you mind explaining the logic behind it? you're the man, thank you!!
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: simple queues don't work as before

Mon Feb 13, 2017 7:49 am

Glad it is working
Rule 0 LAN ensures lan to lan traffic is not limited so you get maximum speed.
Rule 1 AppleTv gives your apple TV's what ever speed is available from the Parent Wan
Rule 2 Lan computers to internet is working off PCQ will share the 2 mb connection between your computers.
Rule 4 WAN is the parent rule this gives all the other rules something to refer to as to how much bandwidth of the full bandwidth is being used. It ensures that 1 rule does not hog all the bandwidth.