I am using queue dynamically created via either dhcp-mac or pppoe.
In either 2.9 or 3 is there a way to have a queue sit “on-top” of the dynamic queues that gets hit first? (ie. so that I could have 10M queue to any internal-infrastructure, and then drop them down to their regular internet amount for non-internals)?
For the DHCP queue configured on the top is moved bottom, when router is rebooted. You can run script on startup to get queues up.
But then every time a new user renews their lease their queue would be above the infrastructure queue.
Then run the script “on login” under the user’s profile.
I use radius for everything I do not want to be creating profiles for every user.
I found that queue-trees seem to override simple queues. I am experimenting with this setup:
/ip firewall mangle
add action=mark-connection chain=forward comment="" disabled=no \
dst-address-list=internal new-connection-mark=internal-up-con \
passthrough=yes
add action=mark-packet chain=forward comment="" connection-mark=\
internal-up-con disabled=no new-packet-mark=internal-up passthrough=no
add action=mark-connection chain=forward comment="" disabled=no \
new-connection-mark=internal-down-con passthrough=yes src-address-list=\
internal
add action=mark-packet chain=forward comment="" connection-mark=\
internal-down-con disabled=no new-packet-mark=internal-down passthrough=\
no
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=\
icmp passthrough=no protocol=icmp
/queue type
add kind=pcq name=pcq_download pcq-classifier=dst-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq_upload pcq-classifier=src-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=3000000 name=internal-down packet-mark=internal-down parent=\
LOCAL priority=8 queue=pcq_download
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=3000000 name=internal-up packet-mark=internal-up parent=\
OUT1 priority=8 queue=pcq_upload
I do not know what interfaces/parents to set the queues to? My issue is that I have 2 uplinks at least on each pop - so what should the interface be?
Also I am seeing alot more upload get caught in the packet marks than download which seems odd.
Thanks-