On Wed, Aug 29, 2012 at 3:22 PM, BILLOT
<emmanuel.bil...@ac-orleans-tours.fr> wrote:
> Hi,
>
> Is there any way to use virtual servs depending on client VLAN ?
> I mean :
>
> If packet arrive with VLAN1 then use virtual server 1
> If packet arrive with VLAN2 then use virtual server 2

Depends.

One of the following should be applicable
(1) If the NAS is different (i.e. each VLAN has its own NAS), you can
take a look at raddb/sites-available/dynamic-clients. Basically it can
choose a virtual server based on Packet-Src-IP-Address attribute (i.e.
the NAS IP as seen by FR)

(2) If the request is plain PAP/MSCHAP, you should be able to tell the
default virtual server to proxy it to another virtual server using
unlang and Proxy-To-Realm

(3) use the same virtual server, but do selective processing (with
unlang) based on some attributes that the NAS sends. e.g. if an
attribute has value A, call module sql1, while if the value is B, call
module sql2.

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

Reply via email to