I configured it using huntgroup with mysql in authorize section as below.

update request {
                Huntgroup-Name := "%{sql:select groupname from radhuntgroup where nasipaddress=\"%{NAS-IP-Address}\"}"
        }

but I have a question about reply message. How to configure that if the user's huntgroup is "zone1" and that user login through "zon2", the reply message will have to be "You are not in zone2"?

Thanks,



From: Alan DeKok <aland@deployingradius.com>
To: Dagia Dorjsuren <dagmid_d@yahoo.com>
Cc: FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Sent: Wednesday, August 22, 2012 5:35 PM
Subject: Re: Users on the multiple APs

Dagia Dorjsuren wrote:
> ok. Would you mind sending to me an example of group difinition by NAS?

  Yes, I would mind.

  I already told you where to look.

  Did you understand my message?  Or are you just too lazy to read the
documentation?

> I use freeradius with mysql.

  Documentation exists for that, too.

  Go read it.

  Alan DeKok.