freeradius and max4000

Dmitriy Milashenko jag_subs at ukr.net
Wed Jun 1 13:37:04 CEST 2005


Hi, All.

I try to use max4000 with freeradius-1.0.2_1 on my FreeBSD5.3 and
I have a problem with ip address asigning.

Postgresql table "radgroupreply" looks like:
billing=# SELECT * FROM radgroupreply;
 id |        groupname        |     attribute     | op |        value
----+-------------------------+-------------------+----+---------------------
  1 | dialup_time_gr          | Service-Type      | := | Framed-User
  2 | dialup_time_gr          | Framed-Protocol   | := | PPP
  3 | dialup_time_gr          | Framed-IP-Address | := | 195.68.222.64+
 18 | dialup_time_gr          | Framed-IP-Netmask | := | 255.255.255.255


 When I try to connect using MAX4000, I get ip address =
 Framed-IP-Address+NAS-Port, but MAX4000 sends NAS-Port like 20102,
 so my ip address is 195.68.222.64+20102=195.69.44.198.
In the same time I have analog modem pool, working with portslave that
sends NAS-Port attribute in range 1-16.

So the question is how to make MAX4000 send NAS-Port attribute with
lower values or make freeradius to calculate ip in another way.

I've heard that there is a patch for freeradius to work with MAX4000,
if it is so, please tell me where can I get it.

Thank you.

-- 
 Dmitriy                          mailto:jag_subs at ukr.net




More information about the Freeradius-Users mailing list