Community discussions

MikroTik App
 
ringishpil
just joined
Topic Author
Posts: 13
Joined: Thu Jan 13, 2011 11:13 am

traffic ammount limit per user with Radius?!

Sun May 22, 2011 6:50 pm

Hey people I need help,

I am using freeRadius/daloradius and routerboard 433ah. The only problem that I have is I cannot figure out how to limit the total traffic amount per user in freeradius.

I have a group with 1Mbps limit on download/upload speed, but I need to limit the traffic ammount. Lets say, after 10Gigabits download I want the speed to be change to 256K/256K for example. How do I do this?!

Thanks
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: traffic ammount limit per user with Radius?!

Mon May 23, 2011 1:14 pm

I do not use this, but I have seen it.
http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client

Mikrotik-Recv-Limit - total receive limit in bytes for the client
Mikrotik-Recv-Limit-Gigawords - 4G (2^32) bytes of total receive limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Recv-Limit)

Mikrotik-Xmit-Limit - total transmit limit in bytes for the client
Mikrotik-Xmit-Limit-Gigawords - 4G (2^32) bytes of total transmit limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Recv-Limit)

It has no function to change speeds when this limit is reached tho.

ADD: If you have problems with the Mikrotik-xxx-Limit-Gigawords attribute, check your RADIUS "dictionary.mikrotik". Insure it has these entries. My early version of FreeRADIUS does not have these lines.

ATTRIBUTE Mikrotik-Recv-Limit-Gigawords 14 integer
ATTRIBUTE Mikrotik-Xmit-Limit-Gigawords 15 integer

Who is online

Users browsing this forum: No registered users and 33 guests