Authenticate/Attributes based on NAS-IP-Address

N White nwtech at tele-net.net
Wed Jun 8 00:28:28 CEST 2005


Alan DeKok wrote:

>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.
>- 
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>__________ NOD32 1.1132 (20050607) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.eset.com
>
>
>
>  
>
Yeah, but I want to use MySQL, not the users file.



More information about the Freeradius-Users mailing list