Sorry, I am not good at english.
This is my problem:
I creat a super simple TREE QUEUE, it inclued two leaves (leaf1/leaf2) only.
When leaf2 need , i want leaf2 can use all bandwidth of my RouterOs.
When leaf2 don't need , leaf1 can use all bandwidth that leaf2 not use.
This is my rules(RouterOs is a masquerade server):
[admin@MikroTik] ip firewall mangle> pri
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward dst-address=222.83.1.36 action=mark-packet
new-packet-mark=leaf1 passthrough=yes
1 chain=forward src-address=222.83.1.36 action=mark-packet
new-packet-mark=leaf1 passthrough=yes
2 chain=forward src-address=61.152.235.19 action=mark-packet
new-packet-mark=leaf2 passthrough=yes
3 chain=forward dst-address=61.152.235.19 action=mark-packet
new-packet-mark=leaf2 passthrough=yes
[admin@MikroTik] queue tree> pri
Flags: X - disabled, I - invalid
0 name="leaf2" parent=Local packet-mark=leaf2 limit-at=1000000 queue=default
priority=1 max-limit=10000000 burst-limit=0 burst-threshold=0
burst-time=0s
1 name="leaf1" parent=Local packet-mark=leaf1 limit-at=50 queue=default
priority=8 max-limit=1000000 burst-limit=0 burst-threshold=0
burst-time=0s
When I download from 61.152.235.19 and 222.83.1.36 at the same time, I found leaf2 always share half of totoal bandwidth to leaf1 .
I set leaf2's priority=1, want leaf2 can use all of bandwidth , why leaf2 can't use all of bandwidth , where is wrong?
Please tell me, Thanks very much!