Course contentsShow
← Security
Lesson 546 of 3,05212. Network Security - WirelessFree lesson

Dynamic VLAN Assignment and Access Policies

Implement role-based access control using RADIUS attributes to assign users to appropriate network segments.

Dynamic VLAN Assignment and Access Policies

What you'll learn: How to automatically place authenticated wireless users into the correct network segment based on their role or credentials using RADIUS attributes.

The Challenge of Manual Network Segmentation

You've learned about VLANs for layer 2 segmentation and 802.1X authentication with RADIUS servers. But manually configuring which VLAN each device belongs to doesn't scale in enterprise environments. What if you have hundreds of users with different access needs—students, faculty, guests, contractors—all connecting to the same wireless network?

How Dynamic VLAN Assignment Works

When a user authenticates via 802.1X (remember EAP-TLS, PEAP, or EAP-TTLS?), the RADIUS server doesn't just verify their identity—it can also send back instructions to the wireless access point about where to place that user.

Think of it like a bouncer at a club checking your ID: not only do they verify you're old enough to enter, they also direct you to the VIP section, general admission, or the bar area based on who you are.

The RADIUS server includes special attributes in its Access-Accept message, particularly:

  • Tunnel-Type (specifying VLAN)
  • Tunnel-Medium-Type (802 networks)
  • Tunnel-Private-Group-ID (the actual VLAN ID)

Role-Based Access Control in Action

An example policy might look like:

  • IT Staff → VLAN 10 (full network access)
  • Employees → VLAN 20 (business resources only)
  • Guests → VLAN 30 (internet-only, isolated)

Each user's credentials are linked to their role in the RADIUS database. When they authenticate, they're automatically placed in the appropriate network segment—no manual configuration needed on the wireless controller.

Key Takeaway: Dynamic VLAN assignment uses RADIUS attributes to automatically place authenticated users into appropriate VLANs based on their role, enabling scalable role-based access control without manual per-device configuration.