- Purple
- Enterprise WiFi security and authentication: a complete guide
- Dynamic VLAN Assignment with RADIUS: Segmenting Users by Role
Dynamic VLAN Assignment with RADIUS: Segmenting Users by Role
You will be able to design a role-to-VLAN model, configure RADIUS to return the RFC 3580 tunnel attributes, and enable the VLAN override setting on Cisco, Aruba, Ubiquiti and other platforms. You will also know how to test each role, plan for RADIUS outages and cut SSIDs to two per radio.
Video overview
Listen to this guide
View podcast transcript
Part of our core series: Enterprise WiFi Security Guide →
- What does dynamic VLAN assignment with RADIUS actually do?
- How do the RADIUS VLAN attributes work?
- Where does it fit alongside guest, staff, and IoT networks?
- How does it compare with other segmentation methods?
- What do you need before you configure dynamic VLANs?
- How do you set up dynamic VLAN assignment on Cisco, Aruba and Ubiquiti?
- Step 1: map roles to VLANs
- Step 2: build the policy in RADIUS
- Step 3: prepare switching and DHCP
- Step 4: enable the RADIUS VLAN setting on your hardware
- Step 5: bring headless devices in
- How do you check dynamic VLAN assignment works?
- What happens when RADIUS is unavailable?
- What goes wrong, and how do you fix it?
- Two deployments: a hotel group and a retail chain
- A 12-property hotel group with five SSIDs per site
- A 150-store retailer with PCI DSS obligations
- What does dynamic VLAN assignment cost, and what do you get back?
- Frequently asked questions
- Does dynamic VLAN assignment with Purple work on my existing access points?
- Do I still need a separate SSID for every role?
- What happens to connected devices if the RADIUS service is unreachable?
- Can IoT devices that do not support 802.1X get their own VLAN?
- Does putting payment devices on their own VLAN reduce my PCI DSS scope?
- How does dynamic VLAN assignment compare with iPSK alone?
- How much effort does a multi-venue rollout take?
- Can VLAN access change automatically when staff join, move or leave?
Dynamic VLAN RADIUS Configurator & Attribute Calculator
Configure role-based network segmentation, calculate RFC 2868 / RFC 3580 RADIUS reply attributes, and generate ready-to-deploy switch & controller configurations.
Full internal access to corporate Intranet, ERP, CRM, and file shares.
Zero-Trust Network Takeaway: Dynamic VLAN assignment enforces granular network micro-segmentation across a single SSID, mitigating broadcast overhead and blocking lateral threat movement between IoT, guests, and payment systems.
Dynamic VLAN assignment with RADIUS places each device on the right VLAN at the moment it authenticates. The RADIUS server returns three IETF attributes in its Access-Accept: Tunnel-Type (VLAN, 13), Tunnel-Medium-Type (IEEE-802, 6) and Tunnel-Private-Group-ID (the VLAN ID). The access point or switch then tags that session's traffic, so one SSID serves staff, contractors, and IoT devices separately.
What does dynamic VLAN assignment with RADIUS actually do?
A VLAN (virtual LAN) is a separate Layer 2 network on shared switches and access points. Each VLAN has its own subnet, firewall rules, and routing. Traditionally you fix the VLAN to a switch port or an SSID. That forces you to add one SSID per role, or re-patch a port every time a device moves.
Dynamic assignment removes that coupling. The VLAN follows the identity that authenticated, not the port or SSID it arrived on. A staff laptop, a contractor tablet, and a door-lock gateway can join the same SSID and land in three isolated segments.
How do the RADIUS VLAN attributes work?
RADIUS (Remote Authentication Dial-In User Service) is the protocol access points and switches use to ask a central server whether a device may connect. IEEE 802.1X is the port-based access control standard that carries those credentials. The device sends credentials using EAP (Extensible Authentication Protocol). The access point or switch, called the authenticator, relays them to the RADIUS server.
If the credentials pass, the server sends an Access-Accept. For dynamic VLAN assignment, that packet carries three attributes defined in RFC 2868. RFC 3580 describes how 802.1X uses them for VLAN assignment.
| Attribute | Number | Value | What it tells the authenticator |
|---|---|---|---|
| Tunnel-Type | 64 | VLAN (13) | This reply contains a VLAN assignment |
| Tunnel-Medium-Type | 65 | IEEE-802 (6) | The tunnel runs over an IEEE 802 medium, such as Ethernet or 802.11 |
| Tunnel-Private-Group-ID | 81 | The VLAN ID as a string, such as "20" | Which VLAN to place this session in |
Some RADIUS dictionaries shorten the third attribute to Tunnel-Pvt-Group-ID. It is the same attribute 81. All three attributes carry a tag field, and the tags must match, or some authenticators ignore the assignment.
The value is normally a numeric VLAN ID. Some platforms also accept a VLAN name. Cisco wireless controllers accept a vendor-specific attribute, Airespace-Interface-Name, as an alternative way to name the interface.
Where does it fit alongside guest, staff, and IoT networks?
Dynamic VLANs work wherever the network authenticates each device individually. That means 802.1X, MAC Authentication Bypass (MAB) or iPSK. MAB authenticates a device by its MAC address when it cannot run 802.1X. iPSK (identity pre-shared key) gives each device or group its own WiFi password on one SSID.
Open guest networks with a captive portal, the sign-in page a guest sees before getting online, sit on a dedicated guest VLAN. Purple Guest WiFi keeps guests on that isolated segment. Staff, contractors, residents and IoT devices then share one authenticated SSID, split by role.
How does it compare with other segmentation methods?
| Method | How the device proves identity | SSIDs to serve staff, contractors, IoT and guests | Works for headless IoT | Moving a device to a new role | Standards |
|---|---|---|---|---|---|
| Static VLAN per SSID | One shared password per SSID | 4 | Yes | Reconfigure the device with a new SSID and password | WPA2/WPA3-Personal |
| 802.1X with dynamic VLAN | Certificate or credential per person | 2 (one 802.1X, one guest) | No, for most devices | Change the person's group in the directory | IEEE 802.1X, RFC 3580, WPA3-Enterprise |
| MAB with dynamic VLAN | MAC address only | 2 | Yes | Change the MAC record's role | RFC 3580 |
| iPSK with dynamic VLAN | Unique key per device or group | 2 | Yes | Change the role attached to the key | Vendor implementations of RFC 3580 |
MAC addresses can be spoofed, so MAB belongs only on locked-down VLANs. For staff devices, use 802.1X with EAP-TLS, which authenticates with certificates rather than passwords.
What do you need before you configure dynamic VLANs?
Check five things before you touch a configuration screen.
- A role model. List every role and the VLAN it maps to. Most multi-venue operators need four to six roles: staff, management, contractor, IoT, payment devices and quarantine.
- A global VLAN numbering scheme. VLAN 20 must mean the same role at every site. If VLAN 20 is staff at one hotel and guests at another, one RADIUS policy will put people in the wrong segment.
- Trunked uplinks. Every VLAN the server can return must be allowed on every access point uplink and every switch trunk at each venue.
- DHCP scopes and gateways. Each VLAN needs a DHCP scope, a default gateway and, where DHCP is central, an IP helper address.
- An identity source. Staff roles should come from your directory, such as Microsoft Entra ID, Okta or Google Workspace. IoT roles come from a device register keyed on MAC address or iPSK.
You also need hardware that honors RFC 3580 attributes. Purple is hardware-agnostic and runs as a cloud overlay on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. You keep your existing access points.
How do you set up dynamic VLAN assignment on Cisco, Aruba and Ubiquiti?
Step 1: map roles to VLANs
Write the mapping down before you build policy. A typical multi-venue mapping looks like this.
| Role | Authentication method | VLAN | Access allowed |
|---|---|---|---|
| Staff | 802.1X with EAP-TLS | 20 | Internal apps, printers, internet |
| Contractors | 802.1X with PEAP or iPSK | 30 | Internet and named systems only |
| IoT and building systems | MAB or iPSK | 40 | Controller or cloud endpoint only, no lateral traffic |
| Payment devices | 802.1X or MAB | 50 | Payment processor only |
| Quarantine | Unknown or failed device | 99 | Remediation page or nothing |
| Guests | Captive portal on guest SSID | 100 | Internet only, client isolation on |
PEAP (Protected EAP) wraps a username and password inside a TLS tunnel. It is easier to roll out than EAP-TLS but weaker, because it relies on passwords.
Step 2: build the policy in RADIUS
Create one rule per role. Each rule matches an identity condition and returns the three tunnel attributes with that role's VLAN ID. For example, membership of a directory group "Staff" returns Tunnel-Private-Group-ID "20".
Purple's RADIUS integration passes these VLAN assignment attributes in its Access-Accept. You set the role-to-VLAN mapping once, and Purple applies it at every venue. When you sync groups from Microsoft Entra ID, Okta or Google Workspace, joiners, movers and leavers follow automatically. A person moved to a new group gets the new VLAN at their next authentication.
Add a final rule for anything unmatched. Either reject it or return the quarantine VLAN. Never let an unmatched device fall through to the SSID's default VLAN if that default is a trusted segment.
Step 3: prepare switching and DHCP
Add every role VLAN to the access point uplinks at each venue. Create DHCP scopes for each one. Apply firewall rules between VLANs at the gateway, because a VLAN separates traffic but does not filter it. A VLAN without inter-VLAN rules gives you separate broadcast domains that can still route to each other.
Step 4: enable the RADIUS VLAN setting on your hardware
Point the SSID or switch port at your RADIUS servers, enable 802.1X, MAB or iPSK, then turn on the setting that honors the returned VLAN. Setting names differ by platform and change between software releases. Follow the vendor's current configuration guide for exact paths.
| Platform | Setting that honors the RADIUS VLAN | What to watch |
|---|---|---|
| Cisco Meraki | RADIUS override in the SSID's VLAN tagging settings | The returned VLAN must be allowed on the access point's switch port |
| Cisco Catalyst wireless controllers | Allow AAA Override on the WLAN | The VLAN must map to an interface or VLAN the controller knows; Airespace-Interface-Name is an alternative |
| Cisco Catalyst switches | 802.1X on the port: authentication port-control auto and dot1x pae authenticator (IBNS 2.0 uses access-session port-control auto) |
Ports must be access ports with the role VLANs present on the switch |
| HPE Aruba | Server-derived VLAN through the AAA profile and server rules | VLAN derivation precedence decides whether the RADIUS VLAN wins over other sources |
| Ruckus | Dynamic VLAN on the WLAN | Requires 802.1X or MAC authentication on that WLAN |
| Juniper Mist | Dynamic VLAN on the WLAN, keyed on Tunnel-Private-Group-ID or Airespace-Interface-Name | List every VLAN the server may return |
| Ubiquiti UniFi | RADIUS assigned VLAN in the RADIUS profile, for wireless and wired | Each returned VLAN must exist as a network in UniFi |
| Fortinet | Dynamic VLAN assignment on the SSID | Interfaces for each VLAN must exist on the FortiGate |
Cambium and Extreme also support RFC 3580 VLAN assignment on their 802.1X networks.
Step 5: bring headless devices in
Smart TVs, door-lock gateways, digital signage, sensors and medical devices often cannot run 802.1X. Register them by MAC address for MAB, or issue an iPSK per device class. Both return the IoT VLAN. In Healthcare settings, this keeps infusion pumps and nurse-call equipment off the segment patients and visitors use.
How do you check dynamic VLAN assignment works?
Test every role before you move a venue across. Use one test device per role and confirm four things.
- The RADIUS log. Find the Access-Accept for the test device. Confirm the three tunnel attributes are present, carry matching tags and hold the expected VLAN ID.
- The authenticator. Check the access point or controller client table. It should show the session in the VLAN the server returned, not the SSID default.
- The IP address. Confirm the device has an address from that VLAN's DHCP scope.
- The firewall. From each role, try to reach a resource it should not reach. A contractor device should fail to reach the payment VLAN.
If the RADIUS log and the client table disagree, take a packet capture between authenticator and server. Wireshark decodes the tunnel attributes, so you can see exactly what left the server.
Once live, watch authentication volumes by role in WiFi Analytics. A sudden rise in quarantine assignments usually points to an expired certificate or a device firmware change, not an attack.
Got questions about your specific setup?
Our team works with venue operators, IT managers, and network engineers across 80,000 venues. Book a 20-minute call and we will show you how others like you solved it.
Guaranteed response within 4 business hours - No commitment required
What happens when RADIUS is unavailable?
When the RADIUS server cannot be reached, new 802.1X, MAB and iPSK authentications fail. No Access-Accept means no VLAN attributes. Behavior then depends on the medium and the platform.
Wireless. Devices already connected usually keep their session until it re-authenticates or the device roams to an access point without a cached key. New devices cannot join the authenticated SSID at all. The guest SSID keeps working if its captive portal does not depend on the same server.
Wired. Cisco Catalyst switches support a critical VLAN, also called inaccessible authentication bypass. When the switch marks every RADIUS server as dead, it places new sessions in a VLAN you nominate. Other switch platforms have equivalent features.
Design for failure in four ways.
- Configure two RADIUS servers in priority order on every authenticator, with dead-server detection so failover happens in seconds, not minutes.
- Set re-authentication timers sensibly. A very short session timeout forces every device to re-authenticate during an outage. Hours, not minutes, works for most staff networks.
- Fail closed. A critical or fallback VLAN must be your most restrictive segment, internet only or nothing. Never fall back to the staff or payment VLAN.
- Protect the transport. If your hardware supports RadSec (RFC 6614), which carries RADIUS over TLS, use it for traffic to cloud RADIUS across the internet.
Purple's Cloud RADIUS serves 80,000+ live venues in more than 90 countries and handles 500 million users and logins a year. You still need the redundancy settings above on your own authenticators.
What goes wrong, and how do you fix it?
| Symptom | Likely cause | Fix |
|---|---|---|
| Device lands in the SSID default VLAN | VLAN override setting is off, or the server sent no tunnel attributes | Enable the platform's override setting; check the Access-Accept in the RADIUS log |
| Device connects but gets no IP address | Returned VLAN is not trunked to the access point, or has no DHCP scope | Add the VLAN to the uplink; create the scope and IP helper |
| Some devices get the VLAN, others do not | Tag mismatch across the three attributes, or a mixed firmware estate | Align tags; update firmware to the vendor's supported release |
| Right VLAN at one venue, wrong segment at another | Inconsistent VLAN numbering between sites | Apply one global VLAN scheme; renumber outlying venues |
| Authentication times out | Wrong shared secret, or the authenticator is not registered as a RADIUS client | Re-enter the secret; add the authenticator's address on the server |
| Mover keeps old access | Session has not re-authenticated since the group change | Send a Change of Authorization (CoA, RFC 5176) or shorten the session timeout for that role |
CoA lets the RADIUS server tell the authenticator to end or re-authorize a live session. Check your platform supports it, and allow the CoA port through any firewall between server and authenticator.
Two deployments: a hotel group and a retail chain
A 12-property hotel group with five SSIDs per site
Situation. Each 200-room hotel broadcast five SSIDs: guest, staff, back office, conference and IoT. Each property numbered its VLANs differently. Staff who moved between hotels needed a new password at every site.
What was done. The group adopted one VLAN scheme for all 12 Hotels. Staff and back office moved to one 802.1X SSID. Purple returned VLAN 20 or 25 from Microsoft Entra ID group membership. Smart TVs and door-lock gateways moved to iPSK, returning the IoT VLAN. Conference delegates and guests stayed on Guest WiFi, mapped to the isolated guest VLAN.
Outcome. SSIDs per radio fell from five to two, removing 36 SSID definitions across the estate. Each SSID beacons every 102.4 ms under the IEEE 802.11 default interval. Removing three SSIDs cuts roughly 29 beacons per second from every radio, airtime that goes back to guests. A leaver disabled in Entra ID loses staff access at every property at their next authentication.
A 150-store retailer with PCI DSS obligations
Situation. Back-office switch ports carried static VLANs. Every store remodel meant re-patching ports for payment terminals, staff handhelds and printers. Assessors asked for proof that shopper WiFi could not reach the cardholder data environment.
What was done. Every back-office port moved to 802.1X with MAB fallback, using one port template for all stores. Payment terminals returned VLAN 50, handhelds VLAN 20 and unknown devices the quarantine VLAN. Shopper WiFi stayed on its own isolated SSID and VLAN.
Outcome. All 150 stores now run identical switch configurations. Moving a terminal during a remodel needs no switch change. PCI DSS v4.0 does not require segmentation, but it states that segmentation can reduce the scope of an assessment. RADIUS accounting logs give the assessor a record of which device sat in which VLAN, and when. Retail operators also use this pattern for sales-floor IoT.
The same model applies on Trains. Passenger WiFi stays on its own VLAN while crew devices and on-board systems authenticate into separate segments.
What does dynamic VLAN assignment cost, and what do you get back?
| Cost line | What drives it | How to keep it down |
|---|---|---|
| Access point hardware | Whether your hardware honors RFC 3580 attributes | None needed on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme or Fortinet |
| RADIUS service | License for a cloud RADIUS that returns VLAN attributes | Purple's RADIUS integration passes the attributes; no server to host or patch |
| Switching and DHCP work | Number of venues with inconsistent VLAN numbering | Standardize the scheme first; template trunks and scopes |
| Certificates | EAP-TLS for staff devices | Issue through your existing device management platform |
| Engineering time | Number of roles and exceptions | Start with four to six roles; add more only when a policy needs it |
What you get back is measurable.
- Fewer SSIDs. Most estates drop to two: one authenticated, one guest. That reclaims beacon airtime on every radio.
- No per-port changes. Devices carry their VLAN with them, so moves, remodels and new venues use one template.
- Faster revocation. Disable an identity in Microsoft Entra ID, Okta or Google Workspace and access ends everywhere at the next authentication.
- Audit evidence. RADIUS accounting records support PCI DSS segmentation testing and CCPA/CPRA accountability.
- Role-level reporting. Authentication data by role feeds capacity planning across venues.
Purple is ISO 27001 certified and CCPA/CPRA compliant, which shortens the security review for your RADIUS provider.
Frequently asked questions
Does dynamic VLAN assignment with Purple work on my existing access points?
Yes. Purple is hardware-agnostic and runs as a cloud overlay on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. Each of these platforms honors the RFC 3580 tunnel attributes Purple returns. You enable the platform's VLAN override setting, such as RADIUS override on Meraki or Allow AAA Override on Cisco controllers. No rip and replace is required.
Do I still need a separate SSID for every role?
No. One authenticated SSID can serve staff, contractors, IoT devices and payment devices, each placed in its own VLAN by the RADIUS reply. Most multi-venue estates run two SSIDs: one using 802.1X or iPSK, and one guest SSID with a captive portal. Fewer SSIDs means less beacon overhead on every radio, which frees airtime for guests and staff.
What happens to connected devices if the RADIUS service is unreachable?
Devices already connected usually stay connected until their session re-authenticates or they roam. New devices cannot join the authenticated SSID until RADIUS returns. Configure two RADIUS servers on every authenticator, set re-authentication timers in hours rather than minutes, and make any critical or fallback VLAN your most restrictive segment. Never fail open into the staff or payment VLAN.
Can IoT devices that do not support 802.1X get their own VLAN?
Yes. Use MAC Authentication Bypass or iPSK. With MAB, the RADIUS server recognizes the device's MAC address and returns the IoT VLAN. With iPSK, each device or device class gets its own WiFi key, and the key maps to a role. MAC addresses can be spoofed, so restrict the IoT VLAN to the specific endpoints those devices need.
Does putting payment devices on their own VLAN reduce my PCI DSS scope?
It can. PCI DSS v4.0 does not require segmentation, but it recognizes that effective segmentation can reduce the scope of your assessment. Your assessor must validate it, usually through segmentation testing. Dynamic VLAN assignment helps by placing payment terminals consistently in one VLAN at every store. RADIUS accounting logs then show which device sat in which segment, and when.
How does dynamic VLAN assignment compare with iPSK alone?
They work together rather than compete. iPSK is the authentication method: each device or group has its own key on a shared SSID. Dynamic VLAN assignment is what the RADIUS server does once that key is accepted. 802.1X with EAP-TLS gives stronger, per-person identity for staff laptops and cell phones. iPSK works for devices that only support a password.
How much effort does a multi-venue rollout take?
Most of the effort sits in planning, not configuration. Standardizing VLAN numbering across venues, trunking every role VLAN to each access point and creating DHCP scopes take the longest. Once one venue is proven, the RADIUS policy is reused unchanged and the switch and SSID settings become a template. Start with four to six roles and add more only when a policy needs it.
Can VLAN access change automatically when staff join, move or leave?
Yes. When Purple syncs groups from Microsoft Entra ID, Okta or Google Workspace, the VLAN follows group membership. A new starter gets the right VLAN at first login. A mover gets the new VLAN at their next authentication. A leaver disabled in the directory is refused everywhere. To act immediately, send a Change of Authorization where your hardware supports it.
Key Definitions
VLAN
A virtual LAN defined by IEEE 802.1Q: a separate Layer 2 broadcast domain on shared switches and access points, identified by a numeric VLAN ID carried in an 802.1Q tag.
Each role in your model gets its own VLAN, subnet and firewall rules. A VLAN separates traffic but does not filter it, so inter-VLAN rules at the gateway are still required.
RADIUS
Remote Authentication Dial-In User Service, specified in RFC 2865. The authenticator sends an Access-Request and the server answers with Access-Accept or Access-Reject, carrying attributes that tell the authenticator how to treat the session.
The RADIUS server is where your role-to-VLAN policy lives. Purple's RADIUS integration returns the VLAN attributes, so you set the mapping once and apply it at every venue.
IEEE 802.1X
The IEEE port-based network access control standard. It defines the supplicant, the authenticator and the authentication server, and carries EAP between the device and a RADIUS server before any network access is granted.
802.1X is the strongest way to authenticate staff onto a shared SSID or switch port, and it is the basis for dynamic VLAN assignment on WPA3-Enterprise networks.
Tunnel-Private-Group-ID
RADIUS attribute 81, defined in RFC 2868 alongside Tunnel-Type (64) and Tunnel-Medium-Type (65). RFC 3580 specifies that 802.1X authenticators read it, with Tunnel-Type VLAN (13) and Tunnel-Medium-Type IEEE-802 (6), as the VLAN to assign.
This attribute holds the VLAN ID, such as "20". If its tag does not match the other two attributes, some authenticators ignore the assignment and the device lands in the SSID default VLAN.
EAP-TLS
An Extensible Authentication Protocol method, specified in RFC 5216, in which client and server authenticate each other with X.509 certificates inside a TLS handshake, with no password exchanged.
Use EAP-TLS for staff laptops and cell phones. It gives per-person identity and removes password risk, with certificates issued through your existing device management platform.
PEAP
Protected EAP, an EAP method that builds a server-authenticated TLS tunnel and then carries a username and password exchange inside it.
PEAP is easier to roll out than EAP-TLS and suits contractor access, but it is weaker because it still relies on passwords.
MAC Authentication Bypass (MAB)
A method in which the authenticator sends a device's MAC address to the RADIUS server as its credential when the device cannot run an 802.1X supplicant. The server can return RFC 3580 VLAN attributes in the same way.
MAB brings payment terminals, printers and sensors into role-based VLANs. MAC addresses can be spoofed, so place MAB devices only on locked-down VLANs.
iPSK
Identity pre-shared key: a vendor implementation that gives each device or group its own WPA2 or WPA3-Personal key on one SSID, with the RADIUS server mapping each key to a role and returning RFC 3580 VLAN attributes.
iPSK suits headless devices that only support a password, such as smart TVs and door-lock gateways, and lets them share an SSID with staff while landing in the IoT VLAN.
Change of Authorization (CoA)
A RADIUS extension specified in RFC 5176 that lets the server send Disconnect-Request or CoA-Request messages to an authenticator, ending or re-authorizing a live session.
CoA closes the gap between a directory change and the next authentication. Check your platform supports it and allow the CoA port through firewalls between server and authenticator.
RadSec
RADIUS over TLS, specified in RFC 6614. It carries RADIUS packets inside a TLS connection over TCP instead of plain UDP with a shared secret.
Use RadSec, where your hardware supports it, to protect RADIUS traffic between your venues and a cloud RADIUS service across the internet.
Critical VLAN
Also called inaccessible authentication bypass: a Cisco Catalyst switch feature that places new wired sessions in a nominated VLAN once every configured RADIUS server is marked dead.
A critical VLAN keeps wired ports usable in an outage. It must be your most restrictive segment, never the staff or payment VLAN.
Captive portal
A web page an open or guest network presents before granting internet access, intercepting the device's first HTTP request and redirecting it to sign-in or terms acceptance.
Guests stay on a dedicated guest SSID and VLAN behind a captive portal, while staff, contractors and IoT devices share one authenticated SSID split by role.
Worked Examples
A 12-property hotel group broadcasts five SSIDs per site: guest, staff, back office, conference and IoT. Each hotel numbers its VLANs differently, and staff moving between hotels need a new password at every site. How do you simplify it?
The group adopted one VLAN scheme across all 12 hotels. Staff and back office moved to one 802.1X SSID, and Purple returned VLAN 20 or 25 from Microsoft Entra ID group membership. Smart TVs and door-lock gateways moved to iPSK, returning the IoT VLAN. Conference delegates and guests stayed on Guest WiFi, mapped to the isolated guest VLAN. SSIDs per radio fell from five to two, removing 36 SSID definitions. At the IEEE 802.11 default beacon interval of 102.4 ms, dropping three SSIDs cuts roughly 29 beacons per second per radio, airtime returned to guests. A leaver disabled in Entra ID loses access at every property at their next authentication.
A 150-store retailer uses static VLANs on back-office switch ports. Every remodel means re-patching ports for payment terminals, handhelds and printers, and PCI DSS assessors want proof that shopper WiFi cannot reach the cardholder data environment. What changes?
Every back-office port moved to 802.1X with MAB fallback, using one port template for all stores. Payment terminals return VLAN 50, staff handhelds VLAN 20 and unknown devices the quarantine VLAN. Shopper WiFi stays on its own isolated SSID and VLAN. All 150 stores now run identical switch configurations, and moving a terminal during a remodel needs no switch change. PCI DSS v4.0 does not require segmentation, but it states that segmentation can reduce assessment scope. RADIUS accounting logs show the assessor which device sat in which VLAN, and when, supporting segmentation testing.
A device authenticates successfully but lands in the SSID default VLAN instead of its role VLAN. How do you find and fix the fault?
Start with the RADIUS log. Find the Access-Accept and confirm Tunnel-Type, Tunnel-Medium-Type and Tunnel-Private-Group-ID are present, carry matching tags and hold the expected VLAN ID. If they are missing, fix the policy rule. If they are correct, check the platform's override setting, such as RADIUS override on Cisco Meraki or Allow AAA Override on Cisco controllers. If the log and client table still disagree, take a packet capture between authenticator and server; Wireshark decodes the tunnel attributes. Where only some devices are affected, align the tags and update firmware to the vendor's supported release.
Practice Questions
Q1. You are deploying dynamic VLAN assignment across a university campus. The RADIUS server is successfully sending the Access-Accept message with Tunnel-Private-Group-ID set to '50' for faculty members. However, faculty devices are still being placed in the default VLAN (VLAN 1) configured on the SSID. What is the most likely cause?
Hint: Check the configuration on the wireless access point or controller.
View model answer
The most likely cause is that the authenticator (the Wireless LAN Controller or Access Point) does not have 'AAA Override' (or the equivalent setting, such as 'Enable RADIUS assigned VLAN') enabled for that specific SSID. Even if the RADIUS server sends the correct attributes, the authenticator will ignore them and use the default configuration unless explicitly instructed to process dynamic assignments.
Q2. A hospital needs to connect hundreds of new smart infusion pumps to the network. These devices do not support 802.1X supplicants. How can the IT team ensure these devices are automatically placed into a secure, isolated clinical IoT VLAN?
Hint: Consider how devices without 802.1X capabilities can be identified by the network.
View model answer
The IT team should implement MAC Authentication Bypass (MAB). The MAC addresses of all infusion pumps must be added to the RADIUS server's database. When a pump connects to the network, the switch or AP will use its MAC address as the identity for authentication. The RADIUS server will recognize the MAC address and return an Access-Accept message containing the Tunnel-Private-Group-ID for the clinical IoT VLAN.
Q3. Your enterprise network relies heavily on dynamic VLAN assignment. During a scheduled maintenance window, the primary and secondary RADIUS servers become temporarily unreachable. What configuration must be in place to ensure business-critical devices maintain some level of connectivity?
Hint: Look for features related to authentication failure or fallback scenarios on the switch or AP.
View model answer
The network infrastructure must be configured with a 'Critical VLAN' or 'Fallback VLAN'. When the authenticator detects that the RADIUS servers are dead (unreachable), it automatically places connecting devices into this predefined Critical VLAN. This VLAN should have strict ACLs applied, perhaps only allowing internet access or access to essential remediation services, ensuring basic connectivity without exposing the internal network.
Frequently asked questions
Does dynamic VLAN assignment with Purple work on my existing access points?
Yes. Purple is hardware-agnostic and runs as a cloud overlay on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. Each of these platforms honors the RFC 3580 tunnel attributes Purple returns. You enable the platform's VLAN override setting, such as RADIUS override on Meraki or Allow AAA Override on Cisco controllers. No rip and replace is required.
Do I still need a separate SSID for every role?
No. One authenticated SSID can serve staff, contractors, IoT devices and payment devices, each placed in its own VLAN by the RADIUS reply. Most multi-venue estates run two SSIDs: one using 802.1X or iPSK, and one guest SSID with a captive portal. Fewer SSIDs means less beacon overhead on every radio, which frees airtime for guests and staff.
What happens to connected devices if the RADIUS service is unreachable?
Devices already connected usually stay connected until their session re-authenticates or they roam. New devices cannot join the authenticated SSID until RADIUS returns. Configure two RADIUS servers on every authenticator, set re-authentication timers in hours rather than minutes, and make any critical or fallback VLAN your most restrictive segment. Never fail open into the staff or payment VLAN.
Can IoT devices that do not support 802.1X get their own VLAN?
Yes. Use MAC Authentication Bypass or iPSK. With MAB, the RADIUS server recognizes the device's MAC address and returns the IoT VLAN. With iPSK, each device or device class gets its own WiFi key, and the key maps to a role. MAC addresses can be spoofed, so restrict the IoT VLAN to the specific endpoints those devices need.
Does putting payment devices on their own VLAN reduce my PCI DSS scope?
It can. PCI DSS v4.0 does not require segmentation, but it recognizes that effective segmentation can reduce the scope of your assessment. Your assessor must validate it, usually through segmentation testing. Dynamic VLAN assignment helps by placing payment terminals consistently in one VLAN at every store. RADIUS accounting logs then show which device sat in which segment, and when.
How does dynamic VLAN assignment compare with iPSK alone?
They work together rather than compete. iPSK is the authentication method: each device or group has its own key on a shared SSID. Dynamic VLAN assignment is what the RADIUS server does once that key is accepted. 802.1X with EAP-TLS gives stronger, per-person identity for staff laptops and phones. iPSK suits devices that only support a password.
How much effort does a multi-venue rollout take?
Most of the effort sits in planning, not configuration. Standardizing VLAN numbering across venues, trunking every role VLAN to each access point and creating DHCP scopes take the longest. Once one venue is proven, the RADIUS policy is reused unchanged and the switch and SSID settings become a template. Start with four to six roles and add more only when a policy needs it.
Can VLAN access change automatically when staff join, move or leave?
Yes. When Purple syncs groups from Microsoft Entra ID, Okta or Google Workspace, the VLAN follows group membership. A new starter gets the right VLAN at first login. A mover gets the new VLAN at their next authentication. A leaver disabled in the directory is refused everywhere. To act immediately, send a Change of Authorization where your hardware supports it.
Sources
- RFC 2865: Remote Authentication Dial In User Service (RADIUS)
- RFC 2868: RADIUS attributes for tunnel protocol support
- RFC 3580: IEEE 802.1X RADIUS usage guidelines
- RFC 5176: Dynamic authorisation extensions to RADIUS
- RFC 6614: TLS encryption for RADIUS (RadSec)
- PCI Security Standards Council document library (PCI DSS v4.0)