Ip Pool group assignment

Giuseppina Venezia giusy.venezia at gmail.com
Sat Aug 26 19:49:26 CEST 2006


>   You have to tell the server which pool to use.  See the rlm_ippool
> documentation.
>
>   Alan DeKok.

Ok,thanks Alan

I've read the documentation about rlm_ippool on freeradius wiki and in
particular
http://wiki.freeradious.org/index.php/Ippool_and_radius_clients (I've
not found rlm_ippool documentation in freeradius installed docs).
Now I've specified the NAS-IP-Address and NAS-Identifier in
chillispot, with the same results when I try to login with this user:

prova   Pool-Name:="main_pool", Auth-Type := Local, User-Password == "a"
        Service-Type = Framed-User,
        Fall-Through = no
defined in users file

This is the new output:

rlm_ippool: Searching for an entry for nas/port: 127.0.0.1/1
rlm_ippool: Searching for an entry for nas/port: 127.0.0.1/1
rlm_ippool: Allocating ip to nas/port: 127.0.0.1/1
rlm_ippool: num: 1
rlm_ippool: Allocated ip 192.168.182.138 to client on nas 127.0.0.1,port 1
  modcall[post-auth]: module "main_pool" returns ok for request 0
modcall: leaving group post-auth (returns ok) for request 0
Sending Access-Accept of id 0 to 127.0.0.1 port 1061
        Service-Type = Framed-User
        Framed-IP-Address = 192.168.182.138
        Framed-IP-Netmask = 255.255.255.0
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:1059, id=0, length=134
        Acct-Status-Type = Start
        User-Name = "prova"
        Calling-Station-Id = "00-02-C7-8F-A0-16"
        Called-Station-Id = "00-50-BF-E3-E8-2A"
        NAS-Port-Type = Wireless-802.11
        NAS-Port = 1
        NAS-Port-Id = "00000001"
        NAS-IP-Address = 127.0.0.1
        NAS-Identifier = "localhost"
        Framed-IP-Address = 192.168.182.3
        Acct-Session-Id = "44f0825400000001"
  Processing the preacct section of radiusd.conf

When I try to login with LDAP users the debug says that can't find
Pool-Name attribute (but as shown in the first post) Pool-Name
attribute is set in the users file.
What's wrong in the first and in the second cases?

Thanks, Giusy



More information about the Freeradius-Users mailing list