dictionary.mikrotik, Rate-Limit Attribute, FreeRadius

Hi there,

I’m currently running FreeRadius and Mikrotik RouterOS.

My intention is to have FreeRadius to pass data rate value to Mikrotik RouterOS which shape the date rate based on the value obtained.

What I did was incorporate ‘dictionary.mikrotik’ into /usr/local/share/freeradius/dictionary and inserted a record in table ‘radreply’ as below:

Username Attribute ops Value


higueta Rate-Limit = 1024/384

I see this ‘Rate-Limit = 1024/384’ begin sent to MT on Access-Accept but I don’t see any setting differences in MT, not the log or firewall. I’m wondering if MT has shaped bandwidth according to the value sent?

Are they anyone who has accomplished such task? It would be kind enough if anyone can point out what I’ve missed or guide me to my goal.

Thank you! :slight_smile:
hig

Unless you are using PPP, I beleive you should be using Ascend-Data-Rate instead of Rate-Limit.

Yes Im using Rate-Limit with Radius with success.

Mine looks more like this:
64k/64k 256k/256k 128k/128k 10/10

For a 64k line with 10s burst.

If it works , you should find the Rate Limit in Winbox->Queues

Hmmm…this must be new with 2.9 ?

What radius server are you using? I am using Vicom VopRadius

I’m using FreeRadius