KB-1708042

Diagnose an accepted login on the wrong VLAN

Trace VLAN attributes from the profile to the outer RADIUS reply, NAS session, and client address.

12 views

Identify the first mismatch

Suppose pilot-wireless should land on VLAN 140, but it receives an address from the default SSID network. An Access-Accept only confirms that the server accepted the login. The VLAN failure could be in profile selection, reply forwarding, NAS interpretation, or the VLAN path itself. Start one new session with a known timestamp rather than inspecting a session that was already open when the profile changed.

Trace the VLAN decision

  1. Open Users or MAC Auth in the service tenant and check the identity's Profile. In Profiles, open that object and verify its VLAN Assignment. Confirm that the Auth Log entry is for the same identity and NAS. If no matching request arrived, don't troubleshoot a reply that the NAS never received.
  2. Inspect the final Access-Accept as seen by the NAS. Look for Tunnel-Type, Tunnel-Medium-Type, and Tunnel-Private-Group-ID with the intended ID. For tunneled EAP, check the outer reply rather than declaring success from an inner-tunnel log. RadiusStack documents copying inner reply attributes out for NAS visibility.[1][4][5]
  3. If the three attributes are present, check the NAS's session detail for VLAN 140. Verify the firmware supports the reply for this port or SSID and that dynamic VLAN use is enabled. If the session is correctly assigned but has an old address, renew the pilot's network configuration and check the uplink VLAN and DHCP path.

Decide which owner can fix it

Missing attributes point back to the selected profile, the request path, or an upstream decision. If a downstream route is configured, identify the owner of the final reply; RadiusStack documents that Proxy-only honors the downstream server's response rather than enforcing local policy.[3] With correct attributes and incorrect NAS assignment, hand off the sanitized reply and NAS session details to the network-device owner. With correct assignment and no usable address, hand off the VLAN and uplink evidence to the network services owner.

Do not disable server certificate validation to investigate missing attributes. Keep the original profile available for the pilot and avoid reconnecting other sessions while collecting evidence. Record the outer reply, NAS session VLAN, and endpoint subnet together so a later reviewer can tell which layer failed.

References

  1. RadiusStack Wiki: EAP and reply forwarding
  2. RadiusStack Wiki: Profiles and Custom Attributes
  3. RadiusStack Wiki: Downstream proxy
  4. RadiusStack FreeRADIUS image: reply forwarding, limits, NAS check and TOTP
  5. RFC 3580 §3.31: 802.1X tunnel attributes and VLAN IDs