Hi! I am using freeradius 1.1.3 and I have some problems with dial-up users using a dynamic pool of ip adresses. When user A are logged in with ip address 1, its ip is marked as used in the pool only for 2/3 minutes. After that if an user B logs in, then this new user can received the same ip address that user A was using. Could it be a problem from the NAS params sent to radius? What attributes are used to control the pool assignment? Could someone help me? . . . ippool poolJazDialup { range-start = 1.1.1.129 range-stop = 1.1.1.254 netmask = 255.255.255.255 cache-size = 126 session-db = ${raddbdir}/db.ippool.poolDialup ip-index = ${raddbdir}/db.ipindex.poolDialup override = no maximum-timeout = 0 } . . . accounting { detail poolJazDialup group { sql1 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } sql2 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } } } post-auth { # Get an address from the IP Pool. poolJazDialup reply_log group { sql1 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } sql2 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } } Post-Auth-Type REJECT { group { sql1 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } sql2 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } } } }
thanks. I think that's the problem. Luis Ivan Kalik escribió:
Could it be a problem from the NAS params sent to radius?
It could - if NAS-Port parameter is the same for all users. If user C logs out IP adresses will be released from the pool and B will be able to get A's IP address.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Ivan Kalik -
Luis Galan