Code: Select all
/queue simple
add max-limit=100M/100M name=fibra_in priority=1/1 target=brf
add dst=vlan101_voip limit-at=8M/8M max-limit=10M/10M name="VOIP clients" \
parent=fibra_in priority=2/2 target=brf
add dst=vlan100_primo_ip limit-at=50M/50M max-limit=90M/90M name=1o_IP_fibra \
parent=fibra_in priority=3/3 target=brf
add dst=vl_wc limit-at=50M/50M max-limit=50M/50M name=wificalabria parent=\
fibra_in priority=4/4 target=brf
add dst=vl_cln limit-at=10M/10M max-limit=80M/80M name=pppoe-clienti \
parent=fibra_in priority=5/5 target=brf
add dst=vl_hsp limit-at=4M/4M max-limit=5M/5M name=hotspot_pubblici parent=\
fibra_in target=brf
add limit-at=1M/1M max-limit=90M/90M name=fibra_other parent=fibra_in target=\
brf
/queue type
set 0 pfifo-limit=500
set 9 pfifo-limit=500
My queues works well, they capture traffic and they limit it at the max-limit value.
But priority doesn't work totally.
I expect that traffic going towards "vlan100_primo_ip" interface will reach it's limit-at value, if requested, as it has higher priority.
But instead, as traffic going towards "vl_cln" interface reaches its max-limit value, if I do a speed test from the "vlan100_primo_ip" interface I only get the difference of bandwidth between the parent max-limit (100Mbps) and the pppoe-clienti child max-limit (80Mbps), so 100-80=20Mbps.
Why?