> From: Alfred Dahl
> Sent: Friday, 10 October 2003 9:58 PM

> I want to create one large IP-pool consisting of several subnets (not
> neccessary sequenced), and then distribute IP-addresses to all my clients
> from this pool (i.e. 1.2.3.0/24 + 1.2.10.0/22)

> What would be the simplest way to accomodate this?

The simplest way would be have two pool instances, and set override=no.

_I_ would suggest a grouping of two ippool instances where a NOOP result
gets failed over, and any other result is returned immediately... And
with override=no set.

See doc/configurable-failover for instructions.

However, these both assume that you don't mind if one pool fills before
the other is emptied... If that's a problem, you'd have to create a
custom db file that contains all the IPs you want, and none of the ones
you don't want. Once the DB exists, rlm_ippool doesn't care if they're
contigious or not, it just picks the first free entry from the DB.

--
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

On a sidewalk near Portland State
University someone wrote `Trust Jesus', and
someone else wrote `But Cut the Cards'.


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

Reply via email to