Thanks for your answer Suman Dash, it is good tip! But I still have the same problem.

On Tue, Dec 2, 2014 at 11:52 AM, <freeradius-users-request@lists.freeradius.org> wrote:
Message: 3
Date: Tue, 2 Dec 2014 10:42:59 +0200
From: Haviaras Kostas <koshalirod@gmail.com>
To: freeradius-users@lists.freeradius.org
Subject: Multiple attributes on radgroupreply!
Message-ID:
        <CAMALVUPB597EAUOfEwi-ctFb7AC1QetcsH9DYV8Oavn4q_1eJg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello, I have the following problem, I would like to set download and
upload limit on Mitrotik, from my freeradius and only 1 attribute from the
radgroupreply is sended to Mitrotik. I am using MySQL.

I insert on the radcheck this:
id     username    attribute                    op     value
31     kostas3     Cleartext-Password     :=     1234
On the radusergroup:
 id     username     groupname     priority
44     kostas3       d16M              8
45     kostas3       u2M                8
On the radgroupreply:
id     groupname     attribute                                  op
value
8      u2M               WISPr-Bandwidth-Max-Up        :=     2097152

17    d16M             WISPr-Bandwidth-Max-Down     :=    16777216

And here is my log from the freeradius:
http://pastebin.com/Lifi6jdL

I have any syntax wrong?

Thanks for your attention and time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/969d3e59/attachment-0001.html>

------------------------------

Message: 4
Date: Tue, 2 Dec 2014 14:19:48 +0530
From: Suman Dash <sumandash@gmail.com>
To: FreeRadius users mailing list
        <freeradius-users@lists.freeradius.org>
Subject: Re: Multiple attributes on radgroupreply!
Message-ID:
        <CAOywgS-
P9RxSZPRVSFN0ir9q5v4a3at3hX+3ji-rZ9u1erR0=Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

If you want to use Mikrotik as NAS then use Mikrotik-Rate-Limit attribute
instead of WISPr-Bandwidth-Max-Up / Down



On Tue, Dec 2, 2014 at 2:12 PM, Haviaras Kostas <koshalirod@gmail.com>
wrote:

> Hello, I have the following problem, I would like to set download and
> upload limit on Mitrotik, from my freeradius and only 1 attribute from the
> radgroupreply is sended to Mitrotik. I am using MySQL.
>
> I insert on the radcheck this:
> id     username    attribute                    op     value
> 31     kostas3     Cleartext-Password     :=     1234
> On the radusergroup:
>  id     username     groupname     priority
> 44     kostas3       d16M              8
> 45     kostas3       u2M                8
> On the radgroupreply:
> id     groupname     attribute                                  op
> value
> 8      u2M               WISPr-Bandwidth-Max-Up        :=     2097152
>
> 17    d16M             WISPr-Bandwidth-Max-Down     :=    16777216
>
> And here is my log from the freeradius:
> http://pastebin.com/Lifi6jdL
>
> I have any syntax wrong?
>
> Thanks for your attention and time!
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/e120187e/attachment-0001.html>

------------------------------
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

End of Freeradius-Users Digest, Vol 116, Issue 2
************************************************