Hello, I have 256, 512k and 1mb clients, to give differents bandwidth Im using Simple Queue by IP like this
1 name="magi" target-addresses=192.168.0.100/32 dst-address=0.0.0.0/0
interface=all parent=none direction=both priority=5
queue=default-small/default-small limit-at=0/0 max-limit=256000/256000
burst-limit=460000/460000 burst-threshold=172000/172000
burst-time=10s/10s total-queue=default-small
2 name="magi_http" target-addresses=192.168.0.100/32 dst-address=0.0.0.0/0
interface=all parent=magi packet-marks=http direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=230000/230000
burst-limit=460000/460000 burst-threshold=172000/172000
burst-time=10s/10s total-queue=default-small
3 name="magi_p2p" target-addresses=192.168.0.100/32 dst-address=0.0.0.0/0
interface=all parent=magi packet-marks=p2p direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=128000/128000
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
4 name="magi_other" target-addresses=192.168.0.100/32 dst-address=0.0.0.0/>
interface=all parent=magi packet-marks=other direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=128000/128000
burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
I dont want to do this simple rules for 40 other IPs, Is there any way to do this by Queue Tree selecting the IPs in which would work?
I want to limit different p2p, http and other traffic for 3 kinds of users, all with different IP addresses. Of course it would have different values in the p2p, http and other limits depending of the speed they are buying.
Please provide me an example. Thank you very much.