Authenticate/Attributes based on NAS-IP-Address

Alan DeKok aland at
Wed Jun 8 00:16:31 CEST 2005

N White <nwtech at> wrote:
> Ok,  so is it possible for them to be a part of two groups? The reason I 
> ask is that if a customer logs in through NAS1, I want them to be 
> assigned a dynamic IP, if they are logged in from NAS2, I want them to 
> be assigned a static IP. Is this possible?

  Sure, but it's not really a "group".  In the "users" file, you can do:

bob	NAS-IP-Address == foo, Pool-Name := "foo"

bob	NAS-IP-Address == bar
	Framed-IP-Address :=

  Alan DeKok.

More information about the Freeradius-Users mailing list