Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21201

Beginner Basics • Re: Is it possible to do this on pure queues?

$
0
0
One way to resolve this is to use HTB.
https://help.mikrotik.com/docs/pages/vi ... =137986076

/queue simple add max-limit=100M/100M name=WAN target=""
/queue simple add limit-at=25M/25M max-limit=25M/25M name=VPN parent=WAN priority=7/7 target=l2tp1-srv
/queue simple add limit-at=50M/50M max-limit=100M/100M name=Bridge1-LAN parent=WAN priority=7/7 target=bridge1
/queue simple add max-limit=100M/100M name=bridge2-guest parent=WAN target=bridge2

The first queue I specified how much link it has.
In the second queue the maximum speed for VPN is 25M/25M being a leaf queue
the next two leaf queues can use a maximum of 100M if the VPN is not using it, being the LAN with the highest priority.

Priority ( source Wiki MNikroTik )
We already know that limit-at (CIR) to all queues will be given out no matter what.
Priority is responsible for the distribution of remaining parent queues traffic to child queues so that they are able to reach max-limit
The queue with higher priority will reach its max-limit before the queue with lower priority. 8 is the lowest priority, and 1 is the highest.
Make a note that priority only works:
for leaf queues - priority in the inner queue has no meaning.
if max-limit is specified (not 0)

Statistics: Posted by leoservices — Wed Dec 27, 2023 1:57 pm



Viewing all articles
Browse latest Browse all 21201

Trending Articles