<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok here's where I'm at now:<br>
<br>
I added a second IP Pool  in my radius.conf.  If I create a user
account with a group that only lists that new IP Pool (main_pool2), I
get an address in that pool.  The problem is when I have a user in a
group that uses both pools (main_pool and main_pool2), when the first
pool runs out of IP addresses, the second pool does not get used.<br>
<br>
Below are all sections of the radius.conf that I've got the pools
called out.<br>
<br>
any suggestions are greatly appreciated.  Help!<br>
<br>
Marco<br>
<br>
<br>
<br>
<br>
<br>
<br>
 ippool main_pool {<br>
<br>
    #  range-start,range-stop: The start and end ip<br>
    #  addresses for the ip pool<br>
    range-start = 44.202.227.1<br>
    range-stop = 44.202.229.254<br>
<br>
    #  netmask: The network mask used for the ip's<br>
    netmask = 255.255.255.0<br>
<br>
    #  cache-size: The gdbm cache size for the db<br>
    #  files. Should be equal to the number of ip's<br>
    #  available in the ip pool<br>
    cache-size = 762<br>
<br>
    # session-db: The main db file used to allocate ip's to clients<br>
    session-db = ${raddbdir}/db.ippool<br>
<br>
    # ip-index: Helper db index file used in multilink<br>
    ip-index = ${raddbdir}/db.ipindex<br>
<br>
    # override: Will this ippool override a Framed-IP-Address already
set<br>
    override = no<br>
<br>
    # maximum-timeout: If not zero specifies the maximum time in
seconds an<br>
    # entry may be active. Default: 0<br>
    maximum-timeout = 0<br>
  }<br>
<br>
  ippool main_pool2 {<br>
<br>
    #  range-start,range-stop: The start and end ip<br>
    #  addresses for the ip pool<br>
    range-start = 44.202.237.1<br>
    range-stop = 44.202.239.254<br>
<br>
    #  netmask: The network mask used for the ip's<br>
    netmask = 255.255.255.0<br>
<br>
    #  cache-size: The gdbm cache size for the db<br>
    #  files. Should be equal to the number of ip's<br>
    #  available in the ip pool<br>
    cache-size = 762<br>
<br>
    # session-db: The main db file used to allocate ip's to clients<br>
    session-db = ${raddbdir}/db.ippool2<br>
<br>
    # ip-index: Helper db index file used in multilink<br>
    ip-index = ${raddbdir}/db.ipindex2<br>
<br>
    # override: Will this ippool override a Framed-IP-Address already
set<br>
    override = no<br>
<br>
    # maximum-timeout: If not zero specifies the maximum time in
seconds an<br>
    # entry may be active. Default: 0<br>
    maximum-timeout = 0<br>
  }<br>
<br>
<br>
accounting {<br>
  detail<br>
  main_pool<br>
  main_pool2<br>
  radutmp<br>
  sql<br>
}<br>
<br>
post-auth {<br>
  #  Get an address from the IP Pool.<br>
  main_pool<br>
  main_pool2<br>
   sql<br>
}<br>
<br>
redundant {<br>
# added by mcc per suggestions 11/9/08<br>
  main_pool<br>
  main_pool2<br>
  #<br>
# reply_log<br>
}<br>
<br>
<br>
Marco C. Coelho wrote:
<blockquote cite="mid:49078F86.3010000@argontech.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
I've been trying to get my second set up IP address' working.  The
main_pool works correctly.  main_pool2 does not appear to ever issue
more than 2 ip addresses.<br>
you had previously mentioned:<br>
  <br>
  <pre wrap="">Marco C. Coelho wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap=""><span class="moz-txt-citetags">>> </span>  Did you put "main_pool" and "main_pool" into a fail-over section, as
<span class="moz-txt-citetags">>> </span>documented in "man unlang" ?
<span class="moz-txt-citetags">>> </span>  
    </pre>
    </blockquote>
    <pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>No,  and I must be blind, because I have read the section and cannot
<span class="moz-txt-citetags">> </span>find mention of it.
  </pre>
  </blockquote>
  <pre wrap=""><!---->
  Sorry, the "redundant" section should do what you want.

  Alan DeKok.


I cannot find a redundant section in this radiusd.conf
  </pre>
  <br>
my radiusd.conf contains:<br>
  <br>
 ippool main_pool {<br>
  <br>
    #  range-start,range-stop: The start and end ip<br>
    #  addresses for the ip pool<br>
    range-start = 64.202.227.1<br>
    range-stop = 64.202.229.254<br>
  <br>
    #  netmask: The network mask used for the ip's<br>
    netmask = 255.255.255.0<br>
  <br>
    #  cache-size: The gdbm cache size for the db<br>
    #  files. Should be equal to the number of ip's<br>
    #  available in the ip pool<br>
    cache-size = 762<br>
  <br>
    # session-db: The main db file used to allocate ip's to clients<br>
    session-db = ${raddbdir}/db.ippool<br>
  <br>
    # ip-index: Helper db index file used in multilink<br>
    ip-index = ${raddbdir}/db.ipindex<br>
  <br>
    # override: Will this ippool override a Framed-IP-Address already
set<br>
    override = no<br>
  <br>
    # maximum-timeout: If not zero specifies the maximum time in
seconds an<br>
    # entry may be active. Default: 0<br>
    maximum-timeout = 0<br>
  }<br>
  <br>
  ippool main_pool2 {<br>
  <br>
    #  range-start,range-stop: The start and end ip<br>
    #  addresses for the ip pool<br>
    range-start = 64.202.237.1<br>
    range-stop = 64.202.239.254<br>
  <br>
    #  netmask: The network mask used for the ip's<br>
    netmask = 255.255.255.0<br>
  <br>
    #  cache-size: The gdbm cache size for the db<br>
    #  files. Should be equal to the number of ip's<br>
    #  available in the ip pool<br>
    cache-size = 762<br>
  <br>
    # session-db: The main db file used to allocate ip's to clients<br>
    session-db = ${raddbdir}/db.ippool2<br>
  <br>
    # ip-index: Helper db index file used in multilink<br>
    ip-index = ${raddbdir}/db.ipindex2<br>
  <br>
    # override: Will this ippool override a Framed-IP-Address already
set<br>
    override = no<br>
  <br>
    # maximum-timeout: If not zero specifies the maximum time in
seconds an<br>
    # entry may be active. Default: 0<br>
    maximum-timeout = 0<br>
  }<br>
  <br>
**********************************It also has:<br>
  <br>
#  Accounting.  Log the accounting data.<br>
#<br>
accounting {<br>
  #<br>
  #  Create a 'detail'ed log of the packets.<br>
  #  Note that accounting requests which are proxied<br>
  #  are also logged in the detail file.<br>
  detail<br>
  main_pool<br>
  main_pool2<br>
  <br>
**********************************It also has:<br>
  <br>
#  Post-Authentication<br>
#  Once we KNOW that the user has been authenticated, there are<br>
#  additional steps we can take.<br>
post-auth {<br>
  #  Get an address from the IP Pool.<br>
  main_pool<br>
  main_pool2<br>
  #<br>
  #  If you want to have a log of authentication replies,<br>
  #  un-comment the following line, and the 'detail reply_log'<br>
  #  section, above.<br>
  <br>
  <br>
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></pre>
</blockquote>
</body>
</html>