FreeRADIUS WikiMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

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.

Retrieved from "http://wiki.freeradius.org/Ippool_config"

This page has been accessed 8,471 times. This page was last modified 04:19, 26 April 2006.


Find
Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...