ip pool problem
Luis Galan
radius at claranet.es
Wed Feb 6 12:46:55 CET 2008
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
}
}
}
}
More information about the Freeradius-Users
mailing list