Author Topic: Dynamic vlan 802.1x with LDAP or RADIUS?  (Read 431 times)

rudiservo

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Dynamic vlan 802.1x with LDAP or RADIUS?
« on: October 07, 2019, 07:42:32 pm »
Hi

I am trying to get 802.1x configured for AP and a switch.

is it possible to add config to Samba4 LDAP or RADIUS and how?

I dont see any interface that allows this, so manually?

i.e.
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"


doncamilo

  • Zen Samurai
  • ****
  • Posts: 392
  • Karma: +112/-1
    • View Profile
Re: Dynamic vlan 802.1x with LDAP or RADIUS?
« Reply #1 on: October 08, 2019, 11:51:25 am »
 :)

RADIUS is really easy of configuring simply read the docs. You can configure your network interface as VLAN Trunk https://doc.zentyal.org/en/firststeps.html#vlan-trunk

I think this should solve your problem.

Cheers!
"Tanta salud goces como bondad abrigues en tu corazón"

Don Camilo.

"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.

rudiservo

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Dynamic vlan 802.1x with LDAP or RADIUS?
« Reply #2 on: October 08, 2019, 04:21:25 pm »
:)

RADIUS is really easy of configuring simply read the docs. You can configure your network interface as VLAN Trunk https://doc.zentyal.org/en/firststeps.html#vlan-trunk

I think this should solve your problem.

Cheers!

802.1x is dynamicly assigning vlans to switch ports based on you authentication, this does not solve my problem...

doncamilo

  • Zen Samurai
  • ****
  • Posts: 392
  • Karma: +112/-1
    • View Profile
Re: Dynamic vlan 802.1x with LDAP or RADIUS?
« Reply #3 on: October 14, 2019, 11:55:05 am »
A trunk link grants access to many VLANs as you want, so this isn't a problem. So... Did you read this https://linuskarlsson.se/blog/radius-authentication-and-dynamic-vlan-assignment-for-wpa2-enterprise-using-sqlite-in-freeradius/, for instance?

This could be useful too: https://doc.zentyal.org/en/appendix-c.html#stubs

Cheers!
"Tanta salud goces como bondad abrigues en tu corazón"

Don Camilo.

"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.