Dear Freeradius Masters,
Recently i'm trying to deploy freeradius -0-9.1.1
with mysql on Redhat 7.3.
Via documentation on radiusd.conf i've notice that
ip pooling configuration start at after ippool samples :
#ippool
main_pool {
# range-start,range-stop: The start and end
ip
# addresses for the ip pool # range-start = 202.127.101.2 # range-stop = 202.127.101.31
# netmask: The network mask used for the
ip's
# netmask = 255.255.255.0
# cache-size: The gdbm cache size for the
db
# files. Should be equal to the number of ip's # available in the ip pool # cache-size = 800
# session-db: The main db file used to allocate ip's to
clients
# session-db = ${raddbdir}/db.ippool
# ip-index: Helper db index file used in
multilink
# ip-index = ${raddbdir}/db.ipindex # override = no # } So I did add below configuration :
ippool
choose_dial
{
range-start = 202.xxx.xxx.30 range-stop = 202.xxx.xxx.59 netmask = 255.255.255.192 session-db = ${raddbdir}/db-CHOOSE-DIAL.ippool ip-index = ${raddbdir}/db-CHOOSE-DIAL.ipindex cache-size = 800 override = yes } and add the pool name inside accounting { ... } and
post-auth { ... } . So far is this correct ? Since i've also read in
milis-archive there are some configure ip pool declaration in post-auth { ...
}.
And later on i modify users configuration
:
I uncomment all steve sampel :
steve Auth-Type := Local, User-Password ==
"testing"
Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 172.16.3.33, Framed-IP-Netmask = 255.255.255.0, Framed-Routing = Broadcast-Listen, Framed-Filter-Id = "std.ppp", Framed-MTU = 1500, and add :
DEFAULT Group == CHOOSE_DIAL
Pool-Name :=
"choose_dial"
when i tried testing .. i've got the
framed-ip-address instead of pooling one, although I already set override to
yes. I still dont understand what DEFAULT Group ...
means for. Is there any left configuration i've missed ? Thx
Joko P.
|