Hi all, How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5. Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.
What routers are you using for this. Regards, Jonathan Bastin ----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 12:50 Hi all, How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5. Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -------------------------------------------------------------------------------------------------------------------------- This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
We are in South Africa and using the local telco company's NAS'es. They have a mixture of them. Problem is that we have in excess of 450 000 users. On 20/05/2013 13:57, Jonathan Bastin wrote:
What routers are you using for this.
Regards,
Jonathan Bastin
----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 12:50
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5.
Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -------------------------------------------------------------------------------------------------------------------------- This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.
Issues is each NAS vender needs different commands. Cisco is av-pair rate limit You already have mikro tick so you need to know what you are dealing with. Regards, Jonathan Bastin ----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 13:24 We are in South Africa and using the local telco company's NAS'es. They have a mixture of them. Problem is that we have in excess of 450 000 users. On 20/05/2013 13:57, Jonathan Bastin wrote:
What routers are you using for this.
Regards,
Jonathan Bastin
----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 12:50
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5.
Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -------------------------------------------------------------------------------------------------------------------------- This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -------------------------------------------------------------------------------------------------------------------------- This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
Cooper, Tom wrote:
We are in South Africa and using the local telco company's NAS'es. They have a mixture of them.
The rate-limiting attributes are vendor-specific. And some vendors have *no* rate-limiting attributes.
Problem is that we have in excess of 450 000 users.
That makes it more difficult. But the real problem is you don't know what attributes to use. Once you know that, using the attributes for 450K users is easy. Alan DeKok.
Cooper, Tom wrote:
We are in South Africa and using the local telco company's NAS'es. They have a mixture of them. Problem is that we have in excess of 450 000 users.
Does the telco filter attributes you're sending back? Some wholesalers protect their networks by limiting the attributes they'll accept. Richard.
Hi Tom, You need to contact Telkom and ask them for their dictionaries. They have some rather "unique" attributes. On 20 May 2013 15:26, "Cooper, Tom" <TCooper@fnb.co.za> wrote:
We are in South Africa and using the local telco company's NAS'es. They have a mixture of them. Problem is that we have in excess of 450 000 users.
On 20/05/2013 13:57, Jonathan Bastin wrote:
What routers are you using for this.
Regards,
Jonathan Bastin
----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 12:50
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5.
Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--------------------------------------------------------------------------------------------------------------------------
This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Tom, Would it be useful to ask Telkom SA and Broadband Infraco for the models of the NASes they use and possibly their dictionaries? Although from what I understand from a GLUG post, that information is... well... difficult to get hold of (even when you're a big fish like Internet Solutions), so you may have some fun ahead at FR. I did see that Telkom intends to deploy (or has already deployed) Huawei equipment for UWB, so you might want to start with Huawei and the big names for NAS devices (Cisco for starters). Regards Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org] On Behalf Of Cooper, Tom Sent: 20 May 2013 13:07 To: freeradius-users@lists.freeradius.org Subject: Re: Limit ADSL speed using radius? We are in South Africa and using the local telco company's NAS'es. They have a mixture of them. Problem is that we have in excess of 450 000 users. On 20/05/2013 13:57, Jonathan Bastin wrote:
What routers are you using for this.
Regards,
Jonathan Bastin
----- Reply message ----- From: "Cooper, Tom" <TCooper@fnb.co.za> To: "freeradius-users@lists.freeradius.org" <freeradius-users@lists.freeradius.org> Subject: Limit ADSL speed using radius? Date: Mon, May 20, 2013 12:50
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2-2.1.12-3.el5.
Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -------------------------------------------------------------------------------------------------------------------------- This email (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used by any other person. If you are not the named recipient please contact the sender and delete the email from your system. The author's incumbent expressions, views and thoughts are their own and not necessarily representative of those of the Peer Point Internet Ltd or associated companies.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
On Mon, May 20, 2013 at 6:47 PM, Cooper, Tom <TCooper@fnb.co.za> wrote:
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius?
Look at your NAS (i.e. BRAS hardware, rp-pppoe, whatever) documentation (or ask the vendor) to see what attributes it recognize to limit speed.
I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k,
That probably works for mikrotik NAS only. Are you using mikrotik? -- Fajar
On 20/05/13 12:47, Cooper, Tom wrote:
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working.
Ok, and what does that mean. "It is not working" is too vague. Have you run under debug mode ("radiusd -X") and checked that the attribute is being returned? If not, have you read the debug to see why?
Hi, by not working I mean that if I authenticate on a 4MB line but set the speed to 384k I still get 4MB. Thanks for all the other replies, though. I must admit that dealing with Telkom is a formidable task. I will try to get hold of their dictionary, though. On 20/05/2013 14:03, Phil Mayers wrote:
On 20/05/13 12:47, Cooper, Tom wrote:
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working.
Ok, and what does that mean. "It is not working" is too vague.
Have you run under debug mode ("radiusd -X") and checked that the attribute is being returned? If not, have you read the debug to see why? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.
The reply should be Mikrotik-Rate-Limit += 512k/1024k. See http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client for all options and double check spelling. Thanks Brent
Hi all,
How can one limit the ADSL speed on a per customer basis using freeradius? I have been trying a radiusReplyItem: Microtik-Rate-Limit += 512k/1024k, which people recommend, but it does not look like it is working. I have been surfing the freeradius wiki for days now but no luck. I am using freeradius2- 2.1.12-3.el5.
Regards, To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (9)
-
Alan DeKok -
Brent Wilkinson -
Cooper, Tom -
Fajar A. Nugraha -
Jonathan Bastin -
Kieran Murphy -
Phil Mayers -
Richard Siddall -
stefan.paetow@diamond.ac.uk