Dear friends…
I have mikrotik 2.9.27 , am working over arp not hotspot.
please is there a way to give each IP a total limit for example : 200 MB as a traffic per day??
Please reply
its urgent
Hello all
please anybody can help me in this subject?? I will be so thanksfull
Hello all
please anybody can help me in this subject?? I will be so thanksfull
you should use hotspot and user manager. your post is in the wrong section, you should post in general networking for this kind of questions.
http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic_II
http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic
http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic_with_user_levels
0 name="traffic-shaper" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=feb/17/2007 23:47:23 run-count=7 source=
:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=("10.1.1." . $i)] != "") do={
:set traf [get [find target-addresses=("10.1.1." . $i)] total-bytes]
:if ($traf > 10485760) do = {
set [find target-addresses=("10.1.1." . $i)] max-limit= 32000/64000
}
}
}
1 name="counter-reset" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=feb/17/2007 22:13:29 run-count=1 source=/queue simple reset-counters-all
2 name="high-traffic" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=feb/17/2007 23:46:31 run-count=2 source=
:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=("10.1.1." . $i)] != "") do={
:set traf [get [find target-addresses=("10.1.1." . $i)] total-bytes]
:if ($traf < 10485760) do = {
set [find target-addresses=("10.1.1." . $i)] max-limit= 32000/256000
}
}
}
pedja
i did this
2 scripts
1 will upgrade users after counter reset when total quota is less than 100 mb and after 100 mb is comsummed max limit will be 64k
i still need to wait if the script of counter reset will work well
thx for ur help