Freeradius does not assign IP from main_pool

Xiaochen Jing xjing at datavalet.com
Thu Aug 7 16:55:54 CEST 2008


Hello Alan,

I went through the comments for the "ippool" module in radiusd.conf but
couldn't get any clue. 

Why it keeps saying 
> +- entering group post-auth
> rlm_ippool: Could not find Pool-Name attribute.

I have post-auth section in radiusd.conf like this: 

Post-auth {
Main_pool
}


In ippool section I have:

ippool main_pool {
                range-start = 192.168.1.1
                range-stop = 192.168.1.254
                netmask = 255.255.255.0
                cache-size = 254
                session-db = ${db_dir}/db.ippool
                ip-index = ${db_dir}/db.ipindex
                override = yes
}


In users file I have

testuser  Cleartext-Password := "testing"
          Pool-Name == "main_pool",


Could you give us some advices on this issue?

Thank you



-----Original Message-----
From: freeradius-users-bounces+xjing=datavalet.com at lists.freeradius.org
[mailto:freeradius-users-bounces+xjing=datavalet.com at lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Tuesday, August 05, 2008 12:07 PM
To: FreeRadius users mailing list
Subject: Re: Freeradius does not assign IP from main_pool

Xiaochen Jing wrote:
> I want to use Freeradius to assign IP addresses to clients from
> main_pool. After all set up (I think), L2tp tunnel is established but
> user cannot get an IP from Freeradius. From the Reply message, I see no
> IP is replied to user.

  And the debug log says why.

> Could anyone take a look at the debug and give me a hint?

  You need to read the debug log, not just the Access-Accept.

  And it would be good to READ the configuration for the "ippool"
module.  The comments give examples for how to configure it.
 ...
> +- entering group post-auth
> rlm_ippool: Could not find Pool-Name attribute.

  Read the comments for the "ippool" module.  Look for "Pool-Name".

  This is documented [1].

  Alan DeKok.

[1] This is becoming the new mantra.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list