hello please I have a running Rb333 that does PPPoE client authentication with Freeradius+MySQL.
I have need now to do traffic shape between my customers ( I mean I have one 10Mbit adsl connection and want to share between customers with CIR/MIR setup).
I seen WISPr-xxx attributes are supported by Mikrotik, at logon time, when Access-Accept is sent back from radius server to Mikrotik, the parameters are correctly included but traffic shape doesn’t takes place ( I have all the bandwidth available )
In RADGROUPREPLY I used the following attributes:
1 1M32K1U WISPr-Bandwidth-Min-Down == 32000
2 1M32K1U WISPr-Bandwidth-Max-Down == 1000000
3 1M32K1U WISPr-Bandwidth-Min-Up == 3200
4 1M32K1U WISPr-Bandwidth-Max-Up == 10000
Please does this attributes works only on HOTSPOT?
If yes please is there another method, with PPPoE authentication, to make traffic shaping works? (yes I read Wiki and many posts also but is unclear how to do that with PPPoE)
Maybe I should use Mikrotik-Rate-Limit attribute?
My goal is to have a minimum guarantee badwidth and a maximum download rate chosen for each customer; for example if I have 10 customers connected on my 10mbit backbone they all have 1Mbit allocated bandwidth, if the connected customers are 20 they have 500kbit allocated bandwidth and so on.
Many thanks for your kind attention
best regards
Alessandro
Yes, you have to use MikroTik-Rate-Limit for PPP clients,
rate-limit syntax,
rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time] [priority] [rx-rate-min[/tx-rate-min]]]]
rx-rate/tx-rate — used to set max-limit (MIR);
rx-rate-min/tx-rate-min — use to set limit-at (CIR).
Hi Sergejs, many thanks for your reply. I will test it asap.
Regards
Alessandro