I have users that never spend 100 mb daily but need the good speed,
And i have users that would download the whole internet in a day if they could.
This way ‘easy’ users will have good speed for browsing , chatting with camera, and some small downloads.
And the ‘bandwidth hungry’ users will suffer slower speeds after they cross their 100MB during the day. But, thats not that bad , users can download during the night hours 1am-10am when i disable this script and give greater speads, cose the network is slightly used.
For the others information here is the complete script that is tested and works.
:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=("192.168.1." . $i)] != "") do={
:set traf [get [find target-addresses=("192.168.1." . $i)] total-bytes]
:if ($traf > 104857600) do = {
set [find target-addresses=("192.168.1." . $i)] max-limit= 32000/64000
}
}
}
this code doesnot act on 5.20 mikrotik any help please