How To get Radius "Rate-Limit" working on Microsof

Hi,

I have sucessfully got our mikrotik box working with a microsoft IAS server, logs in sucessfully.

However whenever I try to use the vendor specifica attribute “Rate-Limit”, it does not work.

Anyone Sucesffuly get this to work?

Hi Guys,

It seems I should have been using “Ascend-Data-Rate” which works perfectly.

while ago i was playing with this attribute, and worked fine for me. But it was on Freeradius server. In which form are you entering it on the RADIUS server? Hav you added it to dictionary file?

Edgars

IAS comes with a whole bunch of preconfigured options. this is one of them… i just didnt realise that you could use this with mikrotik

Is there an option for PPPoE burst limit / time?

Rate-Limit - Datarate limitation for clients (PPPs only). Format is: rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time]]]]. All rates should be numbers with optional ‘k’ (1,000s) or ‘M’ (1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default.

Edgars

OK great, can this be done on the PPP profile using a RADIUS server as I cannot see how to do this using RouterOS alone.

It would be great to offer users a burst of 1mbps then shape it down to 512kbps a few seconds later just based on login.

Thanks

this will be available in v2.9 under ‘/ppp profile’ as rate-limit parameter.

Here are some rate-limit examples:

  • 128k - rx-rate=128000, tx-rate=128000 (no bursts)

  • 64k/128M - rx-rate=64000, tx-rate=128000000

  • 64k 256k - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=64000, rx/tx-burst-time=1s

  • 64k/64k 256k/256k 128k/128k 10/10 - rx/tx-rate=64000, rx/tx-burst-rate=256000, rx/tx-burst-threshold=128000, rx/tx-burst-time=10s

Edgars

Thanks Edgars I look fwd to 2.9 being released!