implementing-network-access-control

Implements 802.1X network access control with FreeRADIUS, PacketFence, and switch configurations.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill implementing-network-access-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-network-access-control
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/network-security/implementing-network-access-control
Command: npx skills add https://github.com/xalgord/xalgorix --skill implementing-network-access-control

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Organizations need to ensure only authenticated and compliant devices connect to their networks, but manually configuring 802.1X, RADIUS, dynamic VLAN assignment, and posture assessment across switches and endpoints is complex and error-prone.

Core Features & Use Cases

  • RADIUS and 802.1X Configuration: Step-by-step setup of FreeRADIUS with LDAP/Active Directory integration, EAP-PEAP authentication, and group-based dynamic VLAN assignment.
  • Switch and NAC Deployment: Cisco switch 802.1X/MAB port configuration with guest, quarantine, and critical-VLAN fallbacks, plus PacketFence deployment for posture assessment and remediation.
  • Use Case: A hospital must meet HIPAA access-control requirements: domain workstations authenticate via PEAP, medical devices use MAB, BYOD devices onboard through a captive portal, and a critical VLAN keeps clinical systems online if RADIUS fails.

Quick Start

Use this skill to configure 802.1X network access control with FreeRADIUS and dynamic VLAN assignment on my Cisco access switches.

Frequently Asked Questions about implementing-network-access-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure 802.1X authentication on Cisco switches?

Enable AAA with 'aaa authentication dot1x default group radius', define the RADIUS server, activate 'dot1x system-auth-control', then apply 'authentication port-control auto' and 'dot1x pae authenticator' on access ports. Add MAB as a fallback and event actions for guest, quarantine, and critical VLANs.

How to set up dynamic VLAN assignment with FreeRADIUS?

Create a FreeRADIUS policy that checks LDAP group membership and returns Tunnel-Type, Tunnel-Medium-Type, and Tunnel-Private-Group-ID reply attributes. Reference the policy in the authorize section so authenticated users are placed into role-appropriate VLANs automatically.

What is MAB and when should I use it?

MAB (MAC Authentication Bypass) authenticates devices by MAC address when they cannot run an 802.1X supplicant, such as printers and medical devices. Scope it to specific ports and reconcile the MAC list regularly, since cloned MACs can gain unauthorized access.

Does 802.1X work when the RADIUS server is down?

Only if you configure a critical-VLAN fallback with 'authentication event server dead action authorize vlan'. Without it, new devices either lose network access entirely or, with open authentication, all connect without verification.

Why do devices fail 802.1X authentication with PEAP?

Common causes include supplicants not validating the RADIUS server certificate, missing trusted root CA, or mismatched inner methods. Push the corporate CA via GPO and enforce server certificate validation to prevent rogue RADIUS credential theft.