Page 1 of 1

Ascend-Data-Rate & Ascend-Xmit-Rate reversed?

Posted: Wed Feb 16, 2005 12:23 am
by Syonyk
I've been messing around with HotSpot & Ascend-Data-Rate.

Ascend-Data-Rate works properly when it's the only attribute - limits speeds to the requested value.

However, when I have Ascend-Data-Rate and Ascend-Xmit-Rate both in place, the values are reversed. Xmit controls the download speed, and Data controls the upload rate.

Is this correct? It's consistent (when I change the values, it behaves), but it seems like it's kind of backwards.

-=Russ=-

Posted: Wed Feb 16, 2005 11:49 am
by cmit
It makes sense, if you look at it from the NAS's perspective: Xmit (transmit) seen from the routers' side is "download" as seen be the client...

Posted: Wed Feb 16, 2005 7:49 pm
by YazzY
You can stick to Ascend-Data-Rate all the way for both tx and rx.
Then you need to add prio to your radius table
I.E
INSERT INTO radreply VALUES (199,'user','Ascend-Data-Rate','=','4096000',1);
INSERT INTO radreply VALUES (200,'user','Ascend-Data-Rate','=',524288'',0);

Your sql.conf for mysql and freeradius would have:
authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM ${authreply_table} WHERE Username = '%{SQL-User-Name}' ORDER BY prio DESC"

Posted: Tue Feb 22, 2005 2:16 am
by Syonyk
Thanks! I'll play with that. I figured there was some good reason for why it seemed reversed, and that makes sense.

-=Russ=-