Hi everyone.
I am trying to use queue tree to equally share bandwigh between users on hotspot. My setup is:
[admin@MikroTik] > ip firewall mangle print
0 chain=forward src-address=10.1.1.0/24 action=mark-connection new-connection-mark=all-user-con passthrough=yes
1 chain=forward connection-mark=all-user-con action=mark-packet new-packet-mark=user-packets passthrough=yes
[admin@MikroTik] > queue tree print
0 name="Download" parent=Internal packet-mark="" limit-at=0 queue=default priority=8 max-limit=524288 burst-limit=0
burst-threshold=0 burst-time=0s
1 name="users-download" parent=Download packet-mark=user-packets limit-at=0 queue=pcq-download priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
[admin@MikroTik] > queue type print
5 name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
[admin@MikroTik] > queue simple print
0 D name="<hotspot1>" dst-address=0.0.0.0/0 interface=Internal parent=none direction=both priority=8
queue=hotspot-default/hotspot-default limit-at=0/0 max-limit=0/0 total-queue=default-small
The problem is router doesn't share bandwigh equally and if I look at download rate of my Download queue and dynamic hotspot queue they are diferent. The hotspot queue is always bigger. Also if I look at hotspot/hosts the sum of data rates of hosts is bigger then my Download queue. Why is this so? What should I do to make my tree queue rules work with hotspot?