I have an event with @ 50 users max at a hotspot.
I've basically duplicated fewi's mangle and queue rules(customizing Hotspot deployments) and added a couple hotspot profiles to try to get the address lists to populate as users login. I need to undersand how that works ( after I get the queues undestood) together with UserManager. I have a clue but not tested yet.
My question:
Do the mangle and queues look correct?
Edited: I'd like 2 groups of users to get 1.8M/756k and 2M/1M each.
The available bandwidth is 12/3
Thanks
Wan/ether1. Lan(Hotspot)/ether2
/queue tree> print
Flags: X - disabled, I - invalid
0 name="hs1-unauth-up" parent=global-in packet-mark=hs1-unauth-up limit-at=0
queue=hs1-unauth-up priority=8 max-limit=3M burst-limit=0
burst-threshold=0 burst-time=0s
1 name="hs1-unauth-down" parent=global-out packet-mark=hs1-unauth-down
limit-at=0 queue=hs1-unauth-down priority=8 max-limit=3M burst-limit=0
burst-threshold=0 burst-time=0s
2 name="hs1-down" parent=global-out packet-mark=hs1-down limit-at=0
queue=hs1-down priority=8 max-limit=10M burst-limit=0 burst-threshold=0
burst-time=0s
3 name="hs1-up" parent=global-in packet-mark=hs1-up limit-at=0 queue=hs1-up
priority=8 max-limit=10M burst-limit=0 burst-threshold=0 burst-time=0s
/queue type> print
0 name="default" kind=pfifo pfifo-limit=50
1 name="ethernet-default" kind=pfifo pfifo-limit=50
2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
red-max-threshold=50 red-burst=20 red-avg-packet=1000
4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
5 name="hs1-unauth-up" kind=pcq pcq-rate=256k pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=100 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
6 name="hs1-unauth-down" kind=pcq pcq-rate=256k pcq-limit=50
pcq-classifier=src-address pcq-total-limit=100 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
7 name="hs1-up" kind=pcq pcq-rate=756k pcq-limit=50 pcq-classifier=dst-address
pcq-total-limit=100 pcq-burst-rate=0 pcq-burst-threshold=0
pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32
pcq-src-address6-mask=128 pcq-dst-address6-mask=128
8 name="hs1-down" kind=pcq pcq-rate=1800k pcq-limit=50
pcq-classifier=src-address pcq-total-limit=100 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
9 name="default-small" kind=pfifo pfifo-limit=10
/ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-packet new-packet-mark=hs1-p1-up passthrough=no
src-address-type="" src-address-list=hs1-p1 in-interface=ether2
1 chain=postrouting action=mark-packet new-packet-mark=hs1-p1-down
passthrough=no dst-address-list=hs1-p1 out-interface=ether2
2 chain=prerouting action=mark-packet new-packet-mark=hs1-p2-up passthrough=no
src-address-list=hs1-p2 in-interface=ether2
3 chain=postrouting action=mark-packet new-packet-mark=hs1p2-down
passthrough=no dst-address-list=hs1-p2 out-interface=ether2
4 chain=prerouting action=mark-packet new-packet-mark=hs1-unauth-up
passthrough=no hotspot=!auth in-interface=ether2
5 chain=postrouting action=mark-packet new-packet-mark=hs1-unauth-down
passthrough=no hotspot=!auth out-interface=ether2