Concepts / Network access control

Network access control

802.1X and EAP

Also called dot1x, port-based network access control, EAPOL, EAP, supplicant, authenticator, PEAP, EAP-TLS, WPA-Enterprise

Port login: a switch port (or Wi-Fi association) passes only login frames until the device proves who is using it.

The port stays closed until RADIUS says yes
The port stays closed until RADIUS says yes

Until login succeeds the port carries only EAPOL frames. The switch does not judge the login itself: it relays the EAP conversation to a RADIUS server and opens the port on Access-Accept.

802.1X is port login: a switch port passes only login frames until the device proves who is using it. The device (supplicant) speaks EAP in EAPOL frames to the switch or access point (authenticator), which relays it to a RADIUS server and opens the port on Access-Accept. PEAP checks a password inside TLS; EAP-TLS uses a certificate on each device. A MAC allow-list is no substitute: MAC addresses are forgeable.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab