Enterprise Wi‑Fi authenticates via RADIUS but dynamic VLAN assignment ignored — clients stay on default VLAN
Environment
Enterprise Wi‑Fi: Aruba/Cisco APs (RADIUS client) authenticating against FreeRADIUS backend; WLAN configured to accept Tunnel‑VLAN assignment via RADIUS Attrs (Tunnel-Private-Group-ID / IETF8021‑Q‑Tag). Switch ports are access ports expecting dynamic VLAN change via RADIUS (voice/data setup).
Symptoms
User devices successfully authenticate and get IP addresses, but remain in default VLAN. Traffic to internal subnets is blocked by access control. RADIUS accounting shows Access‑Accept returned; AP logs no authentication failures.
Observations
FreeRADIUS debug (radiusd -X) shows Access‑Accept includes Reply‑Message and Tunnel‑Private‑Group‑ID attributes present. AP debug logs do not show VLAN assignment applied. Switch logs show no VLAN change events. When static VLAN manually set per SSID, behaviour works.
Already attempted
Restarted FreeRADIUS and AP; reconfigured RADIUS reply format to include Tunnel‑Private‑Group‑ID as string and numeric variants; tried adding VLAN in AP config as fall-back. No success. Confirmed RADIUS secret and client IPs match.
Question
What steps confirm whether the VLAN attribute is being interpreted by the AP or switch, and how to fix dynamic VLAN assignment so clients are placed into the correct VLAN on successful authentication?
Verified community troubleshooting
Start by checking the RADIUS Access‑Accept packet and the AP's expected attribute type. Run FreeRADIUS in debug mode ('radiusd -X') and note exactly which attributes and types (string vs integer) are returned. Then confirm the AP supports dynamic‑VLAN assignment and which attribute it expects (RFC Tunnel-Private-Group-ID vs vendor-specific). Update your FreeRADIUS reply to use the AP's required attribute format (or use the vendor module) and test. Verify by authenticating a client and watching AP logs for 'VLAN assigned' or by checking client IP/Gateway. If switch involvement is required, confirm the switch accepts dynamic VLAN updates or use 802.1X port-based VLANs as fallback.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags