Page 1 of 1
simple queues don't work as before
Posted: Wed Feb 08, 2017 12:23 am
by nanogi
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
Re: simple queues don't work as before
Posted: Thu Feb 09, 2017 1:00 am
by pcunite
What rOS version where you using previously?
Re: simple queues don't work as before
Posted: Thu Feb 09, 2017 6:24 pm
by nanogi
i was using version 3.somehing, i think 3.08
Re: simple queues don't work as before
Posted: Thu Feb 09, 2017 11:00 pm
by pcunite
i was using version 3.somehing, i think 3.08
Reset the device and apply your rules from a clean state.
Re: simple queues don't work as before
Posted: Sun Feb 12, 2017 1:50 am
by nanogi
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
Re: simple queues don't work as before
Posted: Sun Feb 12, 2017 1:54 am
by nanogi
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
Re: simple queues don't work as before
Posted: Sun Feb 12, 2017 10:32 am
by dgnevans
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
Re: simple queues don't work as before
Posted: Sun Feb 12, 2017 9:56 pm
by nanogi
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
Re: simple queues don't work as before
Posted: Sun Feb 12, 2017 10:27 pm
by dgnevans
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.
Re: simple queues don't work as before
Posted: Mon Feb 13, 2017 5:40 am
by nanogi
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!!
Re: simple queues don't work as before
Posted: Mon Feb 13, 2017 7:49 am
by dgnevans
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.