You need to use both Mikrotik-Xmit-Limit-Gigawords and Mikrotik-Xmit-Limit-Gigawords... Taking 11 GiB as an example: For Mikrotik-Xmit-Limit: (11 * 0x40000000) & 0xFFFFFFFF) = 0xC0000000 -or- (11 * 1073741824) & 4294967295) = 3221225472 For Mikrotik-Xmit-Limit-Gigawords: (11 * 0x40000000) >> 32 = 0x2 -or- (11 * 1073741824) >> 32 = 2 Nick On Thu, Jan 23, 2014 at 11:14 AM, Kwesi Yankson <kkwised@yahoo.com> wrote:
Hi, I've been following the postings in this mailing list for a while (mostly on FR 3.x) so please forgive me for asking this "basic" stuff. I want to use FreeRADIUS to limit user data above 4GB, of course the right attribute is Mikrotik-Xmit-Limit-Gigawords. The documentation explains it as 4G (2^32). I get that.
My question is (and forgive me if it sounds silly to some of you), assuming I want to limit data such as 10GB, 11GB and such figures, how am I supposed to approach it using Mikrotik-Xmit-Limit-Gigawords.
Thank you
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html