Hi , I am useing a free radius version available with redhat 4.5 ,RPM name is freeradius-1.0.1-3.RHEL4.3.i386.rpm I am trying to use ippool configuration configurations i had made is in radiusd.conf file ippool main_pool { # range-start,range-stop: The start and end ip # addresses for the ip pool range-start =10.143.71.15 range-stop =10.143.71.25 # netmask: The network mask used for the ip's netmask = 255.255.255.0 # cache-size: The gdbm cache size for the db # files. Should be equal to the number of ip's # available in the ip pool cache-size = 800 # session-db: The main db file used to allocate ip's to clients session-db = ${raddbdir}/db.ippool # ip-index: Helper db index file used in multilink ip-index = ${raddbdir}/db.ipindex # override: Will this ippool override a Framed-IP-Address already set override = yes # maximum-timeout: If not zero specifies the maximum time in seconds an # entry may be active. Default: 0 maximum-timeout = 0 } accounting { main_pool } post-auth { main_pool } ------------------------------------------------------------------------------------------------------------------------------------------ in users file steve Auth-Type := Local, User-Password == "testing" Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 172.16.3.33, Framed-IP-Netmask = 255.255.255.0, Framed-Routing = Broadcast-Listen, Framed-Filter-Id = "std.ppp", Framed-MTU = 1500, Framed-Compression = Van-Jacobsen-TCP-IP DEFAULT Pool-Name := "main_pool" -------------------------------------------------------------------------------------------------------------------------------------------------------------- in clients file <nas ip> <secret key> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- and i am getting errors when i run /usr/sbin/radiusd -A -X modcall: entering group post-auth for request 0 rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "main_pool" returns noop for request 0 rlm_ippool: Could not find Pool-Name attribute. I am suspecting some problem with users file ... Can you please help me to find out what is missing -- Thanks and regards Jos george. 9844459056
in users file
steve Auth-Type := Local, User-Password == "testing" Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 172.16.3.33, Framed-IP-Netmask = 255.255.255.0, Framed-Routing = Broadcast-Listen, Framed-Filter-Id = "std.ppp", Framed-MTU = 1500, Framed-Compression = Van-Jacobsen-TCP-IP
Add Fall-Through = yes.
DEFAULT Pool-Name := "main_pool"
Or add it to DEFAULT entry and place DEFAULT entry above user entries. Ivan Kalik Kalik Informatika ISP
hi guys, ive gone through the documentation but dont seem to find this specific answer and really one just want confirmation on a small matter relating to assigning ips dynamically to my users. can i have multiple pools linked to a single hunting group since my hostmaster allocated me ranges that are scattered all over the place.. for instance.. DEFAULT Huntgroup-Name == speedy, Called-Station-Id == "speedfreaks.co.za", Auth-Type := Accept, Pool-Name := "speedy-pool1", Pool-Name := "speedy-pool2", Pool-Name := "speedy-pool3" single pool works perfectly... ive tried defining multiple ranges within a pool, but that doesnt work at all; freeradius just takes the last range in the config.. appreciate the feedback. j.
ive gone through the documentation but dont seem to find this specific answer and really one just want confirmation on a small matter relating to assigning ips dynamically to my users.
can i have multiple pools linked to a single hunting group since my hostmaster allocated me ranges that are scattered all over the place..
Use sqlippool. It can handle multiple subnets inside single pool. If you want to stick to using ippools - use fail-over. Ivan Kalik Kalik Informatika ISP
participants (3)
-
Ivan Kalik -
jc -
josgeorge thaikudathil