Prepare the NAS and network
A RadiusStack profile emits VLAN instructions, but it does not create the VLAN, extend a trunk, or provide DHCP. Before opening RadiusStack, confirm the test switch, AP, or controller supports dynamic VLAN assignment for the exact authentication method you will use. Provision the test VLAN and confirm the path from the NAS to its gateway and DHCP service. Choose one pilot identity and one access port or SSID rather than a whole site.
Set the VLAN ID
- In the pilot's service tenant, open Profiles and create a profile such as
lab-voice. In VLAN ID, enter130. Leave conflicting custom tunnel replies out of the profile; RadiusStack generates the standard attributes from this field.[1][2] - Save, reopen the profile and check VLAN Assignment. In Users or MAC Auth, edit the intended pilot, choose
lab-voicein Profile and save. Confirm the profile persists on the identity rather than assuming the existing session picked it up. - Establish a fresh session. In an approved NAS-side diagnostic or controlled capture of the reply, expect the following values. The VLAN ID in the private group attribute is conveyed as a string under the 802.1X RADIUS guidance.[3]
Tunnel-Type = VLAN
Tunnel-Medium-Type = IEEE-802
Tunnel-Private-Group-ID = "130"
- Check the actual session VLAN on the NAS, then check that the client received the expected subnet configuration and can reach the pilot gateway. Verify both policy and connectivity; they fail for different reasons.
Interpret a failed pilot
If no reply arrives, first diagnose RADIUS connectivity and client registration. If there is an Access-Reject, check the user's profile restrictions and credentials before adjusting VLAN wiring. If the Access-Accept lacks the attributes, verify the tenant, assignment and selected profile. If the attributes are present but the NAS chooses its default VLAN, inspect dynamic authorization settings on the NAS and compare against the vendor's method-specific documentation. If the NAS already shows VLAN 130 but DHCP fails, troubleshoot the network path rather than repeatedly editing the profile.
Document the original access policy and restore it on the pilot if necessary. Avoid placing a pilot on a management or sensitive production VLAN, and redact real endpoint identifiers from captures.