Authenticate/Attributes based on NAS-IP-Address

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


N White <nwtech at tele-net.net> 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 := 1.2.3.4

  Alan DeKok.



More information about the Freeradius-Users mailing list