two ippool

Maybel Rodriguez maybel_80 at yahoo.es
Thu Jun 16 18:54:52 CEST 2005


Hi,
I need doing 2 address pool to differents range's ip.
I doing the follow in radiusd.conf

ippool pool1 {

                #  range-start,range-stop: The start
and end ip
                #  addresses for the ip pool
               range-start = 192.168.1.1
               range-stop = 192.168.3.254

                #  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: Will this ippool override
a Framed-IP-Address already set
#               override = no

                # maximum-timeout: If not zero
specifies the maximum time in seconds an
                # entry may be active. Default: 0
#               maximum-timeout = 0
       }
ippool pool2 {

                #  range-start,range-stop: The start
and end ip
                #  addresses for the ip pool
               range-start = 192.168.11.1
               range-stop = 192.168.11.254

                #  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: Will this ippool override
a Framed-IP-Address already set
#               override = no

                # maximum-timeout: If not zero
specifies the maximum time in seconds an
                # entry may be active. Default: 0
#               maximum-timeout = 0
       }

but this not function, see the debug:

Module: Loaded IPPOOL
 ippool: session-db = "/etc/raddb/db.ippool"
 ippool: ip-index = "/etc/raddb/db.ipindex"
 ippool: range-start = 192.168.1.1 IP address
[192.168.1.1]
 ippool: range-stop = 192.168.3.254 IP address
[192.168.3.254]
 ippool: netmask = 255.255.255.0 IP address
[255.255.255.0]
 ippool: cache-size = 1000
 ippool: override = no
 ippool: maximum-timeout = 0
Module: Instantiated ippool (pool1)

only load the module pool1 and no pool2

thanks for all
maybel


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es



More information about the Freeradius-Users mailing list