Assign Ip-Pool based on NAS-Ip-Address

Ivan Kalik tnt at kalik.net
Thu May 29 12:30:12 CEST 2008


Users file:

DEFAULT   NAS-IP-Address == a.b.c.d, Pool-Name := thatNASpool

Ivan Kalik
Kalik Informatika ISP


Dana 29/5/2008, "Giovanni Lovato" <giovanni.lovato at aldu.net> piše:

>Alan DeKok wrote:
>> Giovanni Lovato wrote:
>>> I would like to assign IP addresses from pools based on which NAS the
>>> request comes from. Can I achieve this? Users are stored in LDAP and NAS
>>> on SQL.
>>
>>   See the sqlippool module.
>
>What key on sqippool table should I set to make FR choose a pool based
>on NAS-IP-Address?
> The scenario is:
> 1. a NAS requires access for a user;
> 2. if FR doesn't find a Framed-IP-Address on user attributes, it should
>assign an IP from a pool depending which NAS the request comes from.
> I tried to set `nasipaddress' key on sqippool table but FR seems ignore
>it...
>
>




More information about the Freeradius-Users mailing list