Hotspot, Radius and bandwidth control ...

Hello,

I have configured Hotspot just simply through a wizard setup (“Servers”->“Hotspot setup”) with a radius client and enabled radius authentication in the “Server Profile” section.
An authentication againt the radius works well but the problem is how to control Tx/Rx bandwidth through the radius server as well ?

“User profile” parameter works well for everyone but I would like to configure more granular Tx/Rx bandwith control through Radius server for particular users.

I tried to use attribute in the form: Ascend-Data-Rate=XXXXX,Ascend-Xmit-Rate=YYYYY
copied from freeradius but didn’t help … maybe I am missing something.

The radius server is Vircom, Mktk ver3.0betaRc4.

Appreciate every help.

Thank you,
D.

Make sure that your RADIUS server has such attributes at dictionary. You may enable ‘radius,debug’ logs and check whether this information is sent to router. You may use MikroTik-Rate-Limit attribute to set queues with bursts.

Hello,

Thank you for you response.

This is a record from Vircom VPRAcct.log :

Tue Sep 18 11:17:47 2007
Acct-Status-Type = Start
NAS-Port-Type = 15
Calling-Station-Id = “00:11:2F:7D:AD:A1”
= “hotspot1”
= “ether2”
User-Name = “power”
= “testdomain.net
NAS-Port-Id = -2144337902
Acct-Session-Id = “80300012”
Framed-Address = 10.10.1.126
= “@(\365~”
Class-ID = “1c5f8”
= “F\360X.”
Nas-Identifier = “MikroTik”
NAS-IP-Address = 192.168.0.150
Acct-Delay-Time = 0
= “testdomain.net

I had created “Access-Accept” attribute vith the value “Ascend-Data-Rate=4M/4M” and assigned to an account through Rodopi service.

Authentication works well but obviously Vircom didn’t properly send “Ascend-Data-Rate” parameter.

I have also chcked in a Vircom dictionary and “Ascend-Data-Rate” is there.

Thank you,
D.

Debug information from the Radius server :

(Debug :00692) 9/18/2007 12:36:27 Cleared ODBC Acct List: 2
(Debug :10004) 9/18/2007 12:36:37 RECEIVED: 192.168.0.150, code=1 (Access Request), id=2, len=226
(Debug :10004) 9/18/2007 12:36:37 Add.Info: Nas=192.168.0.150 (ID:MikroTik), Port=-2143289344, User=power
(Debug :10004) 9/18/2007 12:36:37 ** ODBC (0) ACCESS IDENTIFICATION ** (len=281)
(Debug :09828) 9/18/2007 12:36:37 Giving Framed Access to power.
(Debug :10004) 9/18/2007 12:36:37 SendData: dest 192.168.0.150:32768 len:57

(Debug :10004) 9/18/2007 12:36:37 RECEIVED: 192.168.0.150, code=4 (Accounting Request), id=3, len=175
(Debug :10004) 9/18/2007 12:36:37 Add.Info: Nas=192.168.0.150 (ID:MikroTik), Port=-2143289344, User=power
(Debug :10004) 9/18/2007 12:36:37 SendData: dest 192.168.0.150:32768 len:20

Thx,
D.