FULL AI ANALYSIS

Enterprise Wi‑Fi authenticates via RADIUS but dynamic VLAN assignment ignored — clients stay on default VLAN

Generated Oct 24, 2026, 9:21:01 AM

Analysis summary

Dynamic VLAN failures typically stem from one of: attribute format mismatch (vendor-specific vs RFC attribute), AP not configured to accept dynamic VLANs, switch-side lack of CoA/port-control support, or the RADIUS reply using the wrong attribute (Tunnel-Private-Group-ID vs Tunnel-Pvt-Group-Name vs Filter‑ID). Diagnostics: capture full RADIUS debug, check AP vendor docs for required attribute types and vendor-specific attribute IDs, ensure AP is in RADIUS dynamic VLAN mode, and confirm switch supports per-port VLAN updates via the chosen method (RADIUS VLAN assignment vs RADIUS CoA). If AP acts as the VLAN enforcer, the switch must accept dynamic VLANs (or use 802.1X with port-based control).

Possible causes

RADIUS attributes are present but in the wrong format/type (string vs integer) for the AP/vendor, so AP ignores VLAN reply.

70%

Wireless AP not configured or licensed to accept dynamic VLAN assignment from RADIUS; feature disabled.

50%

Switch ports configured as static access and do not accept dynamic VLAN changes from AP or RADIUS CoA, so client remains on default VLAN.

40%

RADIUS server returns attributes but the AP expects vendor-specific attribute codes (e.g., Cisco: cisco-av-pair) instead of RFC Tunnel attributes.

35%

Suggested fixes

1

Diagnostic step 1

Enable verbose RADIUS debugging: run 'radiusd -X' (or equivalent) and capture full Access‑Accept packet; confirm exact attribute IDs/types returned.

2

Diagnostic step 2

Check AP vendor docs for required RADIUS attribute (name, type) and adjust FreeRADIUS reply to use the vendor-specific module or correct attribute type (integer vs string).

3

Diagnostic step 3

Verify AP configuration: ensure 'dynamic VLAN' or 'VLAN assignment via RADIUS' is enabled and licensed; check AP log for ignored attributes.

4

Diagnostic step 4

Confirm switch port behavior: if AP relies on switch to perform per-client VLAN change, ensure switch supports and is configured for dynamic VLAN updates or use 802.1X port-based VLAN assignment.

5

Diagnostic step 5

Test by sending a crafted Access‑Accept with the exact attribute type expected and observe AP logs; if successful, update policy and roll out.