I am using Freeraidus Version: 1.0.1

I am attempting to get multiple pools working, and I am running into a road block. I have searched google and mailing list archives and have been unable to come up with a solution.

Here is how my users file is currently setup:

DEFAULT Pool-Name := "DEFAULT"
       Ascend-Client-Primary-DNS = 192.168.1.10,
       Ascend-Client-Secondary-DNS = 10.0.0.10,
       Fall-Through = yes

adam   Password == "test"
       Service-Type = Framed-User,
       Ascend-Idle-Limit = 0,
       Framed-Protocol = PPP,
       Ascend-Call-Type = Switched,
       Ascend-PPPoE-Enable = PPPoE-Yes,
       Ascend-Call-Type = 0

adam2   Password == "test"
       Service-Type = Framed-User,
       Framed-Protocol = PPP,
       Ascend-Idle-Limit = 0,
       Ascend-Call-Type = Switched,
       Ascend-PPPoE-Enable = PPPoE-Yes,
       Ascend-Call-Type = 0

Here are snips from my radiusd.conf file:

       ippool pool_1 {
               range-start = 192.168.1.100
               range-stop = 192.168.1.200
               netmask = 255.255.255.0
               cache-size = 800
               session-db = ${raddbdir}/db.ippool_1
               ip-index = ${raddbdir}/db.ipindex_1
               override = no
               maximum-timeout = 0
       }
       ippool pool_2 {
               range-start = 10.0.0.100
               range-stop = 10.0.0.200
               netmask = 255.255.255.0
               cache-size = 800
               session-db = ${raddbdir}/db.ippool_2
               ip-index = ${raddbdir}/db.ipindex_2
               override = no
               maximum-timeout = 0
       }

post-auth {
       #  Get an address from the IP Pool.
       pool_1
       pool_2
}

With these settings I get the message:
modcall[post-auth]: module "pool_1" returns noop for request 0
modcall[post-auth]: module "pool_2" returns noop for request 0
and it does not hand out an IP address.

If I change my config to:
DEFAULT Pool-Name := "pool_1"
       Ascend-Client-Primary-DNS = 192.168.1.10,
       Ascend-Client-Secondary-DNS = 10.0.0.10,
       Fall-Through = yes

It will hand out in IP but only from pool "pool_1." How do I make it use both pools?

Thanks in Advance for the help

Adam

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

Reply via email to