Wi-Fi beacons, SSIDs and 802.1X
Three notes for reading a wireless capture or a controller's settings: what an access point announces, how networks are named, and how enterprise Wi-Fi checks who you are.
The beacon
An access point announces each network it serves in a beacon, a management frame sent to the broadcast address about ten times a second. Clients build their list of networks from beacons and use them to stay in step with the AP.
| Part | What it says |
|---|---|
| Timestamp | The AP's clock in microseconds; clients synchronise to it |
| Beacon interval | Time between beacons in time units of 1,024 µs; the usual 100 TU is about 102.4 ms |
| Capability information | ESS or ad hoc, privacy on or off, short preamble and other flags |
| SSID | The network name, 0 to 32 bytes; empty when the SSID is hidden |
| Supported rates | The data rates the AP accepts, with the mandatory (basic) ones marked |
| DS parameter set | The channel, for 2.4 GHz |
| TIM | Which sleeping clients have frames waiting, so they wake up to fetch them |
| RSN | The security on offer: WPA2 or WPA3, personal or enterprise, and the ciphers |
| Others | Country and power limits, HT/VHT/HE capabilities (Wi-Fi 4, 5, 6), vendor elements |
Beacons go out at a low basic rate so every client can hear them, so they cost airtime. Every SSID on an AP sends its own beacons: with many SSIDs on many APs, beacons alone can fill a busy channel. Keep the number of SSIDs small.
Names: SSID, BSSID and ESS
- The SSID is the network's name. It is case-sensitive: "Home" and "home" are two networks.
- The BSSID is the MAC address of one AP radio serving one SSID. A client is associated to a BSSID.
- An ESS is many APs sending the same SSID, so clients can roam between them. Roaming is the client's choice, based on the signal it hears in beacons.
802.1X: port-based access control
| Role | Who | Talks to |
|---|---|---|
| Supplicant | The client's software (built into every modern OS) | The authenticator, with EAP over LAN (EtherType 0x888E) |
| Authenticator | The switch port, or the AP or controller for Wi-Fi | The authentication server, with RADIUS (UDP 1812, accounting 1813) |
| Authentication server | A RADIUS server such as Cisco ISE, Microsoft NPS or FreeRADIUS | A user store such as Active Directory |
- The port starts unauthorised: it lets only 802.1X frames through.
- The authenticator asks the supplicant who it is, and relays the EAP conversation to the RADIUS server.
- The server checks the credentials and answers Access-Accept or Access-Reject, possibly with a VLAN or a policy for this user.
- On accept the port opens. On Wi-Fi, both sides now hold a key (the PMK), and the four-way handshake turns it into this session's encryption keys.
| EAP method | Proves the client with | Proves the server with |
|---|---|---|
| EAP-TLS | A certificate | A certificate (mutual, the strongest) |
| PEAP (MSCHAPv2) | A user name and password, inside a TLS tunnel | A certificate |
| EAP-FAST | A user name and password, inside a tunnel | A protected credential (PAC) |
Devices that cannot run a supplicant (printers, cameras) fall back to MAC Authentication Bypass, which only checks the MAC address, so put them in a restricted VLAN. WPA2-Enterprise and WPA3-Enterprise are 802.1X on Wi-Fi.