On Tue, 2 Apr 2002, Jacobo [iso-8859-1] Gonz�lez Sim�n wrote:

> Hi all,
>
> I�m testing freeradius and ldap( with radtest utility, i have not
> another ras server that one is running whith another radius ), and it
> seems to work fine. Now the problem:
>
> I had read in users file this:
>
> #
> # Set up different IP address pools for the terminal servers.
> # Note that the "+" behind the IP address means that this is the "base"
> # IP address. The Port-Id (S0, S1 etc) will be added to it.
> #
> #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "alphen"
> #               Framed-IP-Address = 192.168.1.32+,
> #               Fall-Through = Yes
>
> #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "delft"
> #               Framed-IP-Address = 192.168.2.32+,
> #               Fall-Through = Yes
>
>
> and in my ldap base i have an entry:
>
> dn: uid=pepe,ou=miembros,dc=midominio.es,o=miempresa
> objectclass: person
> objectclass: radiusprofile
> cn: JOSE
> uid: pepe
> radiusServiceType: Framed-User
> radiusFramedProtocol: PPP
> radiusFramedIPAddress: 192.168.254.1+
> radiusFramedIPNetmask: 255.255.255.255
> .
> .
> .
> .
> .
> .
> .
>
> Well, wich is the limit for dinamic IP address?
>
> 192.168.254.1+ meaning that all of 192.168.254.0/255.255.255.0 is
> available for dynamic ip?
>
> I need delimit my pool to few ips, how can i do it?
>
> Thanks at all, and sorry for my poor english
>
> Jacobo

Try the rlm_ippool module. It will do your job just fine. Check out the
comments in radiusd.conf. If it does not compile copy the Makefile from the
rlm_counter module and do s/counter/ippool.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to