I'm guessing I can just use ip pools from the radius.conf which I have tried
to do but it isn't working...

        ippool mainpool {
                range-start = 219.88.249.73
                range-stop = 219.88.249.80
                netmask = 255.255.255.255
                cache-size = 800
                session-db = ${raddbdir}/db.ippool
                ip-index = ${raddbdir}/db.ipindex
                override = no
        }


under accounting{} I have added mainpool
under post-auth {} I have also added mainpool

I've added the following to sql on radgroupcheck
testing Pool-Name := mainpool

radius -X (
rlm_sql (sql): Released sql socket id: 4
  modcall[authorize]: module "sql" returns ok for request 0
modcall: group authorize returns ok for request 0
  rad_check_password:  Found Auth-Type MS-CHAP
auth: type "MS-CHAP"
modcall: entering group Auth-Type for request 0
  rlm_mschap: doing MS-CHAPv2 with NT-Password
rlm_mschap: adding MS-CHAPv2 MPPE keys
  modcall[authenticate]: module "mschap" returns ok for request 0
modcall: group Auth-Type returns ok for request 0
Login OK: [testing] (from client 192.168.4.1 port 0)
modcall: entering group post-auth for request 0
rlm_ippool: Could not find nas port information. Return NOOP.
  modcall[post-auth]: module "mainpool" returns noop for request 0
radius_xlat:  '/var/log/radacct/192.168.4.1/reply-detail-20040731'

Thanks
Barry

----- Original Message ----- 
From: "Barry Murphy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 31, 2004 6:14 PM
Subject: Group ip pools


> Hi,
>
> I'm trying to setup ippools on a per group basis, I tried examples from
the
> below and couldn't get it to work. Any ideas?
>
> http://lists.cistron.nl/pipermail/freeradius-users/2001-August/001482.html
> >DEFAULT        Group == "dialupnf", Auth-Type := System
> >                Service-Type == Framed-User,
> >                Framed-IP-Address = 10.10.10.1+,
> >                Fall-Through = No
>
>
>
http://listserver.uk.freebsd.org/pipermail/freebsd-users/2003-May/007864.html
> > robing Auth-Type := Local, User-Password == "password"
> >        Service-Type = Framed-User,
> >        Framed-Protocol = PPP,
> >        Framed-IP-Address = 195.8.182.0,
> >        Framed-IP-Netmask = 255.255.255.0,
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


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

Reply via email to