Bands and channels
| Band | Channels | Advantages | Watch out for |
|---|---|---|---|
| 2.4 GHz | 1, 6 and 11 non-overlapping (20 MHz) | Longer range, better through walls | Few channels; microwaves and Bluetooth interfere |
| 5 GHz | Over 20 channels of 20 MHz; bonded into 40, 80 or 160 MHz | Higher speed and less interference | Shorter range; some channels need DFS because of radars |
| 6 GHz | Up to 59 channels of 20 MHz (Wi-Fi 6E and 7) | Lots of clean spectrum | New devices only, and WPA3 is required |
Signal is measured in dBm: −30 is excellent and −67 is the usual minimum for voice. Noise and interference from other networks on the same channel (co-channel) or on overlapping channels lower the signal-to-noise ratio (SNR) and the speed.
The connection phases
| Phase | Frames | What it achieves |
|---|---|---|
| Discover | Beacon (passive) or Probe Request/Response (active) | Find the AP, its channel and its security |
| Authenticate | Authentication | Open System in WPA2; SAE in WPA3-Personal |
| Associate | Association Request/Response | Join the BSS and agree on the cipher; get an AID |
| Get keys | EAPOL-Key 1/4 to 4/4 | PTK for unicast and GTK for broadcast |
| Send data | Data encrypted with CCMP | Then DHCP, ARP and everything else follow |
How it works: from the Beacon to the installed keys
Six steps: the Beacon, active scanning, Open System authentication, association and the two pairs of 4-way handshake messages.
Beacon: the AP advertises the network
The AP sends a Beacon to the broadcast address: the SSID “CL-Visitas”, the supported rates, the country and allowed power per channel, the TIM for sleeping devices and the RSN element, which says how to protect yourself: CCMP (AES) encryption and PSK keys (WPA2-Personal). The laptop hears it on channel 36 (5180 MHz) at −52 dBm: a good signal. Listening for Beacons is passive scanning.
Probe Request and Probe Response
Ana asks to connect and the laptop sends a Probe Request with the SSID it is looking for, to broadcast, on the channel. The AP answers with a unicast Probe Response carrying the same data as the Beacon (minus the TIM). This active scanning is faster than waiting for the Beacon and lets the laptop measure each AP before choosing one.
Open System authentication
The laptop sends an Authentication frame with the Open System algorithm (0) and the AP answers “success”. Despite the name, no password is checked here: it is a step inherited from the original standard. Real security comes later, with the 4-way handshake. In WPA3-Personal, by contrast, these frames carry SAE, which does prove the password without sending it.
Association: AID and agreed cipher
In the Association Request, the laptop repeats the SSID and sends its own RSN element: it picks CCMP and PSK from what the AP offers. The AP accepts it into the BSS with AID 1 and tells the WLC. From here the laptop is associated but cannot send data yet: the AP's 802.1X port only lets EAPOL through until there are keys.
4-way handshake: messages 1 and 2
Both sides already know the PMK: PBKDF2 of the network passphrase with the SSID, 4096 rounds of HMAC-SHA1. The AP sends the ANonce (message 1). The laptop picks its SNonce and computes the PTK with the 802.11i PRF from the PMK, both MACs and both nonces. It sends the SNonce with a MIC made with the KCK (message 2). The AP computes the same PTK and checks the MIC: if it matches, the laptop knows the passphrase, even though it never sent it.
Messages 3 and 4: keys installed
In message 3, the AP asks to install the PTK and sends the GTK (the key for broadcast traffic) encrypted with the KEK using AES Key Wrap, together with its RSN so the laptop can confirm nobody altered it. The laptop answers with message 4 and both install the keys: from here on, every data frame travels encrypted with CCMP (AES). The WLC shows the client in the Run state.
WEP, WPA, WPA2 and WPA3
| Cipher | Personal | Enterprise | Status | |
|---|---|---|---|---|
| WEP | RC4 | Static key | — | Broken: do not use |
| WPA | TKIP (RC4) | PSK | 802.1X | Obsolete |
| WPA2 | CCMP (AES) | PSK + 4-way handshake | 802.1X with RADIUS | Still common |
| WPA3 | CCMP or GCMP (AES) | SAE: resists offline dictionary attacks | 802.1X; 192-bit mode | Recommended; PMF mandatory |
With WPA2-Personal, anyone who captures the 4-way handshake can try millions of passphrases offline until one produces the same MIC. That is why the passphrase must be long, and why WPA3 replaces the PSK with SAE. Corporate networks use Enterprise: each user authenticates with 802.1X against a RADIUS server and gets their own PMK.
Wi-Fi with Cisco Catalyst 9800
| Command or screen | What it shows or does |
|---|---|
wlan CL-Visitas 1 CL-Visitas | Creates the WLAN with its ID and SSID. |
security wpa akm psk · security wpa psk set-key ascii 0 … | WPA2-Personal with its passphrase. |
no shutdown | Enables the WLAN. |
show wlan summary | The WLANs, their state and their security. |
show wireless client summary | Clients, their AP, protocol and state (Run = connected). |
show ap summary | APs joined to the controller. |
Client: nmcli, iw dev wlan0 link, netsh wlan show interfaces | Signal, channel and security from Linux or Windows. |
CCNA v2.0 topics 1.5 and 1.6 ask you to describe wireless principles (bands, channels, RF, security and interference) and to troubleshoot wired and wireless client connectivity on Windows, macOS and Linux.
Frequently asked questions
Is Open System authentication insecure?
It checks nothing, but it is not the network's security: in WPA2 protection comes from the 4-way handshake that follows.
Does the Wi-Fi password travel?
No. Both sides turn it into the PMK and it is only checked through the 4-way handshake MIC.
What is the difference between the PTK and the GTK?
The PTK is unique per client and encrypts its unicast traffic. The GTK is shared by all the AP's clients and encrypts broadcast and multicast.
Why WPA3?
Because SAE prevents offline dictionary attacks against the handshake and because it requires protected management frames (PMF).
What is the BSSID?
The MAC of the AP radio for that SSID. An AP with several SSIDs uses one BSSID per SSID.
What you take away
- The AP advertises the network with Beacons; the client can ask with a Probe Request.
- Open System protects nothing: in WPA2 the security is in the 4-way handshake.
- The network passphrase becomes the PMK and never travels over the air.
- The PTK encrypts each client's unicast and the GTK the broadcast.
- WPA3 replaces the PSK with SAE and makes PMF mandatory.
- In 2.4 GHz only channels 1, 6 and 11 do not overlap.
NEXT STEP
From this lesson to the Canadá Logística network
In the CCNA 2.0 Course you configure Canadá Logística's WLANs on a Catalyst 9800 (WPA2 and WPA3, Personal and Enterprise with RADIUS), connect the APs to their switches and troubleshoot wireless clients. We'll let you know when it opens.
Upcoming protocol lessons
Sources
- Cisco · WPA3 Deployment Guide
- Cisco · Catalyst 9800 Series Configuration Best Practices
- RFC 3394 · Advanced Encryption Standard (AES) Key Wrap Algorithm
- Radiotap · de facto standard for 802.11 frame injection and reception
- Cisco · 200-301 CCNA v2.0 Exam Topics (1.5, 1.6)
Lesson prepared with AI assistance and checked against the sources cited. The bytes of every packet are generated according to the standard and verified with an independent tool.