Paul.

You are wrong.

The netmask shouldnt be /32 in the ippool configuration.

If you put /32 in the config the client will not connect.

Regards


On Fri, 2003-07-18 at 14:35, Paul Hampson wrote:
> > From: Pierluigi Frullani
> > Sent: Friday, 18 July 2003 8:00 PM
> 
> > > modules {
> > >
> > >          ippool wpool {
> > >                  session-db = ${raddbdir}/wpool-sess-db
> > >                  ip-index = ${raddbdir}/wpool-idx-db
> > >                  range-start = 192.168.127.1
> > >                  range-stop = 192.168.127.127
> > >                  netmask = 255.255.255.255
> > >                  #netmask = 255.255.255.128
> > >                  cache-size = 5000
> > >          }
> > >
> > >
> > >          ippool dpool {
> > >                  session-db = ${raddbdir}/dpool-sess-db
> > >                  ip-index = ${raddbdir}/dpool-idx-db
> > >                  range-start = 192.168.126.160
> > >                  range-stop = 192.168.126.255
> > >                  netmask = 255.255.255.255
> > >                  cache-size = 800
> > >          }
> > >
> > > So, what's wrong?
> > > Thanks for any hints!
> > If I don't get wrong, the netmask in the config is for determine the
> > address pool. So if you use the 255.255.255.255 netmask, you say to
> > rlm_ippool that you have no network. You should use a higher netmask to
> > provide some address. EG:
> >     range-start = 192.168.126.160
> >     range-stop = 192.168.126.255
> >     netmask = 255.255.255.128
> 
> > This will inform the module that you want to use the address in the
> > network 192.168.126.128/25, starting from the .160
> 
> > I think that the 255.255.255.255 mask will lead the module to a confusion.
> 
> Actually, that's not correct. The ippool module only uses the Netmask to
> set a value if one isn't set in the packet already. The Pool range will be
> from the start value to the stop value.
> 
> Netmask of 255.255.255.255 is I would expect quite common from an ip pool,
> since people getting those IPs are probably only on a point-to-point link,
> at least when you're using a RADIUS server and not, say, DHCP to allocate
> the IPs. Unless it's a wireless network, I suppose...
> 
> --
> =========================================================
> Paul "TBBle" Hampson
> Bubblesworth Pty Ltd (ABN: 51 095 284 361)
> [EMAIL PROTECTED]
> 
> This is a one line proof...if we start
> sufficiently far to the left.
>       -- Cambridge University Math Department
> ---------------------------------------------------------
> Random signature generator 3.0 by Paul "TBBle" Hampson
> =========================================================
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
Gustavo A. Lozano                                 Noldata Corporation
[EMAIL PROTECTED]                               Calle 46 No. 40-19
CTO                                               Bogota D.C. Colombia
Noldata Corporation                               http://noldata.com

            I know not with what weapons World War III will be fought,
               but World War IV will be fought with sticks and stones.
                                                       Albert Einstein




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to