Dynamic vlan assignment

Deepak Sehrawat d.sehrawat at gmail.com
Tue Aug 7 19:08:47 CEST 2018


Can we configure it via MySQL as well?


> On 07-Aug-2018, at 5:19 PM, Elias Pereira <empbilly at gmail.com> wrote:
> 
> You can configure it in the post-auth option of the sites-enable/default
> configuration file.
> 
> E.g:
> 
> ...
> ldap
> if (Ldap-Group == "CN=ADM,OU=GRUPOS,DC=mycompany,DC=intra") {
>                update reply {
>                        &Tunnel-Type = VLAN
>                        &Tunnel-Medium-Type = IEEE-802
>                        &Tunnel-Private-Group-Id = "51"
>                }
>        }
> elsif (Ldap-Group == "CN=ALUNOS,OU=GRUPOS,DC=mycompany,DC=intra") {
>             update reply {
>                        &Tunnel-Type = VLAN
>                        &Tunnel-Medium-Type = IEEE-802
>                        &Tunnel-Private-Group-Id = "40"
> elseif ...
> ...
> 
> On Tue, Aug 7, 2018 at 8:05 AM aseem kaushal <aseemkaushal91 at gmail.com>
> wrote:
> 
>> Need to configure freeradius for dynamic vlan assignment. What could be the
>> various methods for the above.
>> Thanks in advance.
>> 
>> 
>> Regards
>> -Aseem Kaushal
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
> 
> 
> 
> -- 
> Elias Pereira
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list