Radius server ignore download/upload limit. Help please

Mikrotik radius limiting is not working. The radius ignores any value that i put in and the everyone have unlimited internet.What can i do?

please specify what you are using the radius server for, pppoe, hotspot etc?

and paste config for whichever one you are using (don’t forget to remove your radius ip and password before posting)

Hi here is my config. Some users are far over their limit that i have specified. Im using wireless service with the radius. And my radius wont work with the 127.0.0.1 address so i had to use the interface ip that the users connect to.


[admin@EMI(Home)] > radius print
Flags: X - disabled

SERVICE CALLED-ID DOMAIN ADDRESS SECRET

0 wireless 192.168.8.1 123456
[admin@EMI(Home)] > tool user-manager customer print
Flags: X - disabled
0 subscriber=Mikrotik login="Mikrotik" password="xxxxxx" time-zone=+00:00 permissions=owner parent=Mikrotik signup-allowed=no
paypal-allowed=no paypal-secure-response=no paypal-accept-pending=no
[admin@EMI(Home)] > tool user-manager router print
Flags: X - disabled
0 subscriber=Mikrotik name="router1" ip-address=192.168.8.1 shared-secret="123456" log=auth-ok,auth-fail,acct-ok,acct-fail
[admin@EMI(Home)] > tool user-manager user print
Flags: X - disabled, A - active, I - incomplete
0 A subscriber=Mikrotik name="00:1B:77:61:2F:D6" password="" first-name="Hp530" download-limit=1024 upload-limit=1024 uptime-used=17m51s
download-used=23797636 upload-used=1040293 last-seen=may/18/2009 21:18:29 active-sessions=2 credit-count=0 credit-left=0s
credit-duration=0s credit-price=0 credit-time-added=0s

1 subscriber=Mikrotik name="00:0E:35:9D:27:2F" password="" first-name="Eveline Laptop" last-seen=may/16/2009 12:46:34 credit-count=0
credit-left=0s credit-duration=0s credit-price=0 credit-time-added=0s

2 subscriber=Mikrotik name="00:1F:E4:43:3E:6B" password="" first-name="Emile G900" last-seen=may/17/2009 08:06:40 credit-count=0
credit-left=0s credit-duration=0s credit-price=0 credit-time-added=0s

3 A subscriber=Mikrotik name="00:02:6F:48:82:E7" password="" download-limit=10485760 upload-limit=10485760 uptime-used=14h58m18s
download-used=10516239 upload-used=4879244 last-seen=may/19/2009 05:54:57 active-sessions=1 credit-count=0 credit-left=0s
credit-duration=0s credit-price=0 credit-time-added=0s

4 A subscriber=Mikrotik name="00:02:6F:20:D0:B7" password="" uptime-used=39m28s download-used=936 upload-used=28860
last-seen=may/19/2009 05:58:22 active-sessions=1 credit-count=0 credit-left=0s credit-duration=0s credit-price=0 credit-time-added=0s
[admin@EMI(Home)] >

I did some tests and it shows that the limiting does work. But only when the client reconnects. I did the test on my laptop. I could continue downloading file but when i repair or reconnect my connection then the radius server rejects the packet. So then i have to reset the value in http://192.168.8.1/userman and wait 2 minute then the radius server accept the packets again.

Must i set the mikrotik to refresh after a spesified interval or should it automatically disconnect the client when he/she have reached the limit.

Did you follow this guide: http://wiki.mikrotik.com/wiki/User_Manager/Wireless_Example ?

Hi yes i followed the steps there. But im not using 127.0.0.1 because it does not work. I have to put in my rb’s wlan address in. Any advise?

For the wireless, MikroTik-Rate-Limit creates limitation in /interface wireless registration-table for AP-Tx-Limit un Client-TX-limit. The bandwidth limitation works one-way (AP/Client-TX-Limit), when client is not MikroTik RouterOS.