802.1X
IEEE 802.1X is a standard for port-based network access control: a switch or access point lets a device's traffic through only once an authentication server, usually RADIUS, has confirmed its identity.
Definition
IEEE 802.1X is a standard for port-based network access control (Port-Based Network Access Control). It allows an administrator to restrict the use of LAN ports — switch sockets and connections to a Wi-Fi access point — to communication between devices that have been authenticated and authorised. Until a device proves its identity, the port only passes the traffic needed for authentication itself.
The standard was developed in the IEEE 802.1 working group and is available free of charge through the IEEE Get program. In practice 802.1X is the foundation of most access control deployments in corporate networks: without it, anyone who plugs a laptop into a socket in a meeting room or knows the Wi-Fi password lands on the same network as the servers.
How does 802.1X work?
Three roles
Three elements take part in 802.1X authentication:
- Supplicant — software on the endpoint that starts authentication and passes on the user’s or device’s credentials. Every device connecting to an 802.1X network needs a supplicant installed and configured.
- Authenticator — a switch or Wi-Fi access point. It blocks or allows traffic between the device and the network and relays the exchange with the authentication server.
- Authentication server — usually a RADIUS server. It checks the credentials, answers whether the connection is allowed and can pass settings for the session.
The authentication flow
When a device connects, the switch or access point sends an identity request. The supplicant and the authentication server exchange EAP (Extensible Authentication Protocol) messages, which on a local network are carried in EAPOL frames. The credential can be a user or device certificate from a public key infrastructure (PKI) or a username and password.
Once the server confirms the identity, the port moves to the “authorised” state and passes normal traffic. If authentication fails, the port stays “unauthorised” and all traffic other than EAP messages is blocked. The RADIUS server also records the start and end of each session (accounting), which leaves a trail of who used a given port and when.
Controlled and uncontrolled port
The standard splits a port into two logical parts: an uncontrolled port, which carries only authentication and key agreement protocols, and a controlled port, which opens for actual communication only after authentication. The same standard describes the MKA protocol, which agrees keys for link-layer encryption under IEEE 802.1AE (MACsec).
Uses of 802.1X
Wired network
Authentication on a switch port protects sockets in offices, meeting rooms and production halls. A device without valid credentials does not get access to the corporate network, even if someone plugs it straight into the switch.
Wireless network
On Wi-Fi networks the access point acts as the authenticator, and a network (SSID) in 802.1X mode replaces one shared password with individual authentication of each user or device. When an employee leaves, one account is blocked instead of changing the password on every device in the company.
Dynamic assignment to a segment
The RADIUS server can return a VLAN for a specific user, based on data stored with their account. If there is no such information, the device goes to the default VLAN. This way accounting, the production team and guests use the same sockets and access points but land in different network segments.
Devices without a supplicant
Printers, cameras, IoT sensors and many OT devices do not support 802.1X. For them, switches offer authentication based on the MAC address (MAB, MAC Authentication Bypass). The device then presents no credential other than its address, so hardware admitted this way should be profiled and kept in separate segments.
Benefits and limitations
Benefits:
- network access only for authenticated users and devices, including over cable;
- individual credentials instead of a shared Wi-Fi password;
- a session trail: who used the network, when and through which port;
- a basis for role-based segmentation without separate cabling.
Limitations:
- deployment requires configuring supplicants on workstations and, with certificate-based authentication, a working PKI;
- the RADIUS server becomes a critical component: without its decision new connections stay unauthorised, so it is designed with redundancy;
- the protocol alone says nothing about the state of the device — whether it has a current system and working protection — or about what a device without a supplicant actually is.
These gaps are filled by Network Access Control (NAC) systems, which combine 802.1X with device profiling, posture assessment and response to security events.
How should an 802.1X deployment start?
A safe sequence starts with an inventory: a list of devices that support a supplicant and those that do not. Next comes the choice of credential method — certificates require PKI but do not depend on user passwords — and preparing workstation configuration through central management rather than by hand. Authentication is switched on first for one Wi-Fi network or one floor, while watching who fails and why. Only when the number of exceptions stops growing do further ports and sites move to the mode in which no authentication means no access. Devices without a supplicant and guests need a separate path and a separate segment designed up front.
802.1X in practice — the Fortinet example
Fortinet solutions are one example of a set in which 802.1X is one of several access control mechanisms. FortiSwitch switches support port-based 802.1X authentication, MAC-based authentication and MAB, and FortiAP access points can assign Wi-Fi users to VLANs based on the RADIUS server’s response. FortiNAC adds profiling, segmentation and response on top of 802.1X authentication: it has its own RADIUS server, which can authenticate users against Active Directory. More on the FortiNAC and FortiSwitch pages.
Summary
802.1X turns a network socket and a Wi-Fi network from an open door into a control point: a device gets access only after authentication by the RADIUS server. The standard does not solve everything — devices without a supplicant and posture assessment require NAC — but without it, access control on a local network is hard to talk about. We design authentication for wired and wireless networks as part of our Network Security service, and for new Wi-Fi networks as part of Wi-Fi wireless network infrastructure deployments.