Ippool config
From FreeRADIUS Wiki
The original comments have been stripped out for the most part. You can find them in the default radiusd.conf file.
ippool main_pool {
range-start = 192.168.10.1
range-stop = 192.168.10.254
netmask = 255.255.255.0
cache-size = 254
session-db = ${raddbdir}/db.ipmainpool
ip-index = ${raddbdir}/db.ipmainindex
override = no
maximum-timeout = 0
}
ippool secondary_pool {
range-start = 192.168.11.1
range-stop = 192.168.11.254
netmask = 255.255.255.0
cache-size = 254
session-db = ${raddbdir}/db.ipsecondarypool
ip-index = ${raddbdir}/db.ipsecondaryindex
override = no
maximum-timeout = 0
}
The two examples above simply show two pool entries. They differ slightly from the default config file since that is well documented. If you wanted that, you likely wouldn't have bothered to get here. You will notice that the two pool names are unique as are their corresponding db files. If the range of IP's change the files must be deleted so they can be recreated on restart. Also, note the cache size matches the number of IP's in your pool. More is OK but wasteful, less is very bad. Override tells the server not to overwrite an existing entry (for instance if this pool is used in a group and the user has been previously assigned a static but will receive other attributes from a group configuration of which he might be a member. Examples on how to use these pools are in the in the Examples page. At least one example is located at ippool and radius clients.