vlan assignment

Alan DeKok aland at deployingradius.com
Fri Aug 25 16:39:04 CEST 2017


On Aug 25, 2017, at 5:02 AM, Zenon Matuszyk <zenon.matuszyk at networkers.pl> wrote:
> 
> Debug below

  Which shows you what's going on.  I know there's a lot of information, but if you pay attention and READ it, you will see what's happening.

> I have a problem with vlan assignment on the group. If user is in group wi-fi should get ip with vlan 200 if it is in another group should get ip with vlan 216. I attach file witch freeradius -X. Users and group are in SAMBA4. If i login to wifi i get allways ip on vlan 216. I use login at mydomain.pl to connect wifi.
> 
> In file users I add:
> 
> DEFAULT LDAP-Group == "wi-fi"
>         Reply-Message="XXXX HIT: wi-fi",
>        Tunnel-Private-Group-Id := 200,
>       Tunnel-Type = VLAN,
>        Tunnel-Medium-Type = IEEE-802,

  The debug output shows you're doing EAP... which changes things.

  You should edit raddb/modules/eap, and set "use_tunneled_reply = yes".

   It should work.

   Alan DeKok.




More information about the Freeradius-Users mailing list