Dynamic vlan assignment

Elias Pereira empbilly at gmail.com
Tue Aug 7 13:49:49 CEST 2018


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


More information about the Freeradius-Users mailing list