Hello, I'm using 2 different ip pools. After some time my dialin users doesn't get IP addresses. iptool reported that only a small amount of avaiable ip addresses are in use. Running radiusd -X I see
modcall: entering group post-auth modcall[post-auth]: module "wpool" returns noop rlm_ippool: Searching for an entry for nas/port: 255.255.255.255/0 rlm_ippool: No available ip addresses in pool. modcall[post-auth]: module "dpool" returns noop modcall: group post-auth returns noop
modcall: entering group post-auth
rlm_ippool: Searching for an entry for nas/port: 255.255.255.255/0
rlm_ippool: Found a stale entry for ip/port: 192.168.127.46/0
rlm_ippool: num: 0
rlm_ippool: Allocating ip to nas/port: 255.255.255.255/0
rlm_ippool: num: 1
rlm_ippool: Allocated ip 192.168.127.46 to client on nas 255.255.255.255,port 0
modcall[post-auth]: module "wpool" returns ok
modcall[post-auth]: module "dpool" returns noop
modcall: group post-auth returns ok
(so it's working for wpool this time). I'm running 0.9.0-pre3, the config looks so:
modules {
ippool wpool {
session-db = ${raddbdir}/wpool-sess-db
ip-index = ${raddbdir}/wpool-idx-db
range-start = 192.168.127.1
range-stop = 192.168.127.127
netmask = 255.255.255.255
#netmask = 255.255.255.128
cache-size = 5000
} ippool dpool {
session-db = ${raddbdir}/dpool-sess-db
ip-index = ${raddbdir}/dpool-idx-db
range-start = 192.168.126.160
range-stop = 192.168.126.255
netmask = 255.255.255.255
cache-size = 800
}
...
}accounting {
...
wpool
dpool
}post-auth {
...
wpool
dpool
}So, what's wrong? Thanks for any hints!
Regards, Thomas.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
