vlan assigment on called-station-id

Zenon Matuszyk zenon.matuszyk at networkers.pl
Thu Jul 14 15:36:19 CEST 2016


Thanks for answer,


I try this, but can I use caled-id-station for this because 
NAS-IP-Address i have only one for two localization and i must use AP 
MAC address

W dniu 2016-07-14 o 15:21, A.L.M.Buxey at lboro.ac.uk pisze:
> Hi,
>
>> How can I assign VLAN depending on location AP??
>> Maybe someone tried to do like that
> I would advise that you use unlang int he server....with either IP wildcard matching or
> (poor performance) huntgroups.
>
> if (%{NAS-IP-Address ~= "/192\.168\.0\./" && %{LDAP-Group == "workers}) {
> 	update reply {	
>           Tunnel-Type = VLAN,
>           Tunnel-Medium-Type = IEEE-802,
>           Tunnel-Private-Group-Id := 200
> 	}
> }
>
>
> etc etc
>
>
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Z poważaniem / Yours sincerely
Zenon Matuszyk
mobile: 00 48 797 004 938
e-mail: zenon.matuszyk at networkers.pl
www: http://www.networkers.pl




More information about the Freeradius-Users mailing list