configuring FreeRadius pools

Elie Hani ehani at wise.net.lb
Fri Jul 21 13:27:40 CEST 2006


Well I'm trying to configure 2 pools of IPs, where these pools should be
created? can it be done on the radius and this radius will take care of
giving the IPs to the users? or should I configure a dhcp and relay it to
the radius?

I tried to configure on the radius , in the config file file, in the ippools
section, 2 pools of IPs, but it didn't work.

Thanks
Elie  

-----Original Message-----
From: freeradius-users-bounces+ehani=wise.net.lb at lists.freeradius.org
[mailto:freeradius-users-bounces+ehani=wise.net.lb at lists.freeradius.org] On
Behalf Of Peter Nixon
Sent: Friday, July 21, 2006 10:44 AM
To: FreeRadius users mailing list
Subject: Re: configuring FreeRadius pools

Welli The problem is you still haven't exactly explained what you are trying

to do with radius. Are you assigning the IP addresses from pools on radius
or 
pools on the patton?

Assuming that radius is assigning the pools, you simply need to create 2 of 
them. (Read the radiusd.conf the comments explain it) Then configure radius 
to return an address from the first pool by default, and the second pool
when 
the patton sends whatever information it sends to say that the user is
authed 
or valid or whatever. You need to figure that out as I dont have any 
experience with patton.

RADIUS is not magic. It can only respond when asked a question, and it can 
only give an answer based on what it is asked. You therefore need to make 
sure that patton is asking 2 different questions, and configure your 2 
different replies based on what question it is asking... radiusd -X  (debug 
mode) is your friend in this instance..

Hope that Helps

-Peter

On Fri 21 Jul 2006 10:16, Elie Hani wrote:
> Thanks Alan, but this was not my problem. My problem is in configuring the
> IP pools, I need a way to configure the 2 pools of IPs which are one Fake
> and the other Real. I don't have a problem in redirection, it's in how to
> configure the 2 pools of IPs.
>
> Thanks
> Elie
>
> -----Original Message-----
> From: freeradius-users-bounces+ehani=wise.net.lb at lists.freeradius.org
> [mailto:freeradius-users-bounces+ehani=wise.net.lb at lists.freeradius.org]
On
> Behalf Of Alan DeKok
> Sent: Thursday, July 20, 2006 5:16 PM
> To: FreeRadius users mailing list
> Subject: Re: configuring FreeRadius pools
>
> "Elie Hani" <ehani at wise.net.lb> wrote:
> > I want to configure 2 pools, the first one is a fake IP pool,where the
>
> dial
>
> > up user on the patton gets an IP from this pool, and then he will enter
>
> the
>
> > necessary information, once all the informations entered are true, he
> > will reconnect with his new username, then he will get an IP from the
> > other
>
> pool
>
> > wich contains real IPs.
>
>   This is called a "captive portal".  Please use on of those, which
> solves most of these problems for you, including IP allocation.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc




More information about the Freeradius-Users mailing list