On Tue, Jun 03, 2003 at 10:21:54AM +0200, Jonathan Ruano wrote:
> I'm migrating my old user database to FreeRadius SQL format. Added
> GroupName fields to some tables and modified queries, but that's 
> another story.
> 
> I've defined ippools for several realms, so that normal, IP-dynamic
> profiles are assigned IPs from those pools, like:
> 
> radcheck:
> - userdyn Password == secretdyn
> - user01 Password == secret01
> - user02 Password == secret02
> 
> radgroupcheck:
> - domain01 Auth-Type := Local
> - domain01 Pool-Name := domain01_pool
> 
> radgroupreply:
> - domain01 Service-Type := Framed-User
> - domain01 Framed-Protocol := PPP
> - domain01 Framed-IP-Netmask := 255.255.255.255
> 
> Provided that I have several profiles within this domain 
> which have fixed IP address:
> 
> radreply:
> - user01 Framed-IP-Address := 1.2.3.4
> - user02 Framed-IP-Address := 1.2.3.5
> 
> Will dynamic ip address be allocated (although not 
> actually used)? 
> 
> Shall I define Pool-Name in radcheck for every dynamic-ip 
> profile instead?
> 
> radcheck:
> - userdyn Password == secretdyn
> - userdyn Pool-Name := domain01_pool
> 
> Thanks for your comments, opinions, etc :)
> Jon

If I understand correctly, you want the users in domain01 group
to get Dynamic IPs except users user01 and user02?

If you're using a recent CVS snapshot, rlm_ippool has gained
an override option where you can tell it to either override a
Framed-IP-Address or be overridden by a Framed-IP-Address. The
default behaviour before that was to be overridden by a
Framed-IP-Address, so I think it would work like you want either way.

--
Paul "TBBle" Hampson on an alternate email client.

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

Reply via email to