Wireless Fundamentals
Wireless LAN (WLAN) Basics
- Concept: Wireless LANs allow devices to connect to the network without physical cables, using electromagnetic waves.
- Details:
- Defined by IEEE 802.11 standards (similar to how wired Ethernet is IEEE 802.3).
- Wi-Fi is a trademark of the Wi-Fi Alliance, an independent organization that tests and certifies devices for 802.11 compliance and interoperability.
- Unlike wired switches, wireless operates like an Ethernet hub: all devices within range receive all frames.
- Operates in half-duplex mode (devices cannot send and receive simultaneously), meaning collisions are a concern.
- Privacy: Because signals radiate through the air, data must be encrypted even within the LAN to prevent eavesdropping.
Collision Avoidance
- Concept: Wireless networks use CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) to prevent collisions before they occur (unlike wired CSMA/CD which detects them after).
- Process:
- Device assembles the frame.
- Listens to check if the channel is free.
- If not free, waits for a random period, then listens again.
- If free, transmits the frame.
- Optional Feature: RTS/CTS (Request to Send / Clear to Send) handshake can be used before sending the actual data packet.
graph TD
A[Assemble Frame] --> B{Listen: Is Channel Free?}
B -- No --> C[Wait Random Time]
C --> B
B -- Yes --> D[Transmit Frame]
Signal Propagation & Interference
- Concept: Wireless signals are affected by the physical environment, which can degrade signal quality and range.
- Details:
- Absorption: Signal passes through a material (e.g., walls) and is converted to heat, weakening the signal.
- Reflection: Signal bounces off materials (e.g., metal walls, elevators), preventing penetration.
- Refraction: Signal bends when entering a medium where it travels at a different speed (e.g., glass, water).
- Diffraction: Signal travels around an obstacle, potentially creating “blind spots” behind it.
- Scattering: Signal scatters in all directions when hitting uneven surfaces, dust, or smog.
- Interference: Other devices using the same channels (e.g., neighbor’s Wi-Fi) cause co-channel interference.
Radio Frequency (RF) & Bands
- Concept: Wireless signals are electromagnetic waves measured by Amplitude (signal strength) and Frequency (cycles per second, measured in Hertz).
- Details:
- Period: The time it takes to complete one cycle.
- WLANs use the Ultra High Frequency (UHF) and Super High Frequency (SHF) ranges.
- 2.4 GHz Band:
- Actual range: 2.4 GHz to 2.4835 GHz.
- Pros: Further reach in open space, better penetration through obstacles (walls).
- Cons: Highly congested, more interference.
- 5 GHz Band:
- Actual range: 5.150 GHz to 5.825 GHz (divided into smaller sub-bands).
- Pros: Less interference, non-overlapping channels.
- Cons: Shorter range, poorer penetration through solid objects.
- 6 GHz Band: Introduced with Wi-Fi 6 (802.11ax) to expand available spectrum.
Wi-Fi Channels & AP Placement
- Concept: Each frequency band is divided into multiple channels. Adjacent channels often overlap, causing interference if not planned correctly.
- Details:
- 2.4 GHz Channels: Each channel has a 22 MHz range and overlaps with adjacent channels.
- Non-Overlapping Channels (North America): Channels 1, 6, and 11 are the only non-overlapping channels in the 2.4 GHz band.
- 5 GHz Channels: Consists entirely of non-overlapping channels, making interference avoidance much easier.
- Honeycomb Pattern: APs are placed in an overlapping physical coverage pattern using channels 1, 6, and 11 to ensure complete coverage without RF interference.
- Roaming Overlap: The physical coverage areas (BSAs) of adjacent APs should overlap by 10% to 15% to allow seamless roaming for clients.
802.11 Wi-Fi Standards
- Concept: IEEE defines various 802.11 standards with different frequencies and maximum theoretical data rates.
- Details: The Wi-Fi Alliance introduced simplified naming (Wi-Fi 4, 5, 6). There is no official Wi-Fi 1, 2, or 3.
| Standard | Wi-Fi Generation | Frequency Band(s) | Max Theoretical Speed |
|---|---|---|---|
| 802.11 | Legacy | 2.4 GHz | 2 Mbps |
| 802.11a | Legacy | 5 GHz | 54 Mbps |
| 802.11b | Legacy | 2.4 GHz | 11 Mbps |
| 802.11g | Legacy | 2.4 GHz | 54 Mbps |
| 802.11n | Wi-Fi 4 | 2.4 & 5 GHz | 600 Mbps |
| 802.11ac | Wi-Fi 5 | 5 GHz | 6.9 Gbps |
| 802.11ax | Wi-Fi 6 | 2.4, 5, & 6 GHz | 9.6 Gbps |
Things to note: These are theoretical maximums; actual throughput will be lower due to overhead, interference, and half-duplex limitations.
Service Sets
- Concept: 802.11 defines different architectures (service sets) for grouping wireless devices. All devices in a service set share the same SSID (Service Set Identifier), which is a human-readable network name.
- Details:
- IBSS (Independent Basic Service Set):
- Also called ad hoc networks.
- Devices connect directly to each other without an AP (e.g., Apple AirDrop).
- Not scalable; used for quick, limited file transfers.
- BSS (Basic Service Set):
- Infrastructure mode where clients connect to each other via an AP (Access Point).
- BSSID (Basic Service Set Identifier): The unique MAC address of the AP’s radio interface.
- BSA (Basic Service Area): The physical area around the AP where the signal is usable.
- ESS (Extended Service Set):
- Multiple BSSs connected together via a wired Distribution System (DS) (e.g., a switch).
- All APs in the ESS share the same SSID but have unique BSSIDs.
- Adjacent APs must use different, non-overlapping channels.
- Allows roaming (seamless movement between APs).
- MBSS (Mesh Basic Service Set):
- Used when running Ethernet to every AP is difficult.
- Mesh APs use two radios: one for client access (BSS), one for the wireless backhaul (mesh).
- RAP (Root Access Point): Connected to the wired network.
- MAP (Mesh Access Point): Bridges traffic wirelessly to the RAP.
- IBSS (Independent Basic Service Set):
graph TD
subgraph ESS Extended Service Set
subgraph BSS 1
AP1[AP 1 BSSID: MAC1] --- C1[Client]
AP1 --- C2[Client]
end
subgraph BSS 2
AP2[AP 2 BSSID: MAC2] --- C3[Client]
AP2 --- C4[Client]
end
SW[Switch / Distribution System] --- AP1
SW --- AP2
end
AP Modes & Architectures
- Concept: APs can operate in various modes to extend coverage or bridge wired devices to the wireless network.
- Details:
- Repeater Mode:
- Extends the range of a BSS by retransmitting signals.
- Single Radio: Must use the same channel as the main AP. Cuts effective throughput by 50% because it uses the same channel to receive and retransmit.
- Dual Radio: Receives on one channel/radio and retransmits on another, avoiding the 50% throughput penalty.
- WGB (Workgroup Bridge):
- Operates as a wireless client to an AP, providing a wired connection for non-wireless devices.
- uWGB (Universal WGB): 802.11 standard. Bridges exactly one wired device.
- WGB (Cisco Proprietary): Bridges multiple wired clients to the wireless network.
- Outdoor Bridge:
- Connects networks over long distances without physical cables using specialized directional antennas.
- Point-to-Point: Connects exactly two sites.
- Point-to-Multipoint: Connects multiple remote sites to a central hub site (hub-and-spoke).
- Repeater Mode:
Integration with Wired Networks (VLANs)
- Concept: Wireless networks are integrated into the wired infrastructure using VLANs and trunks.
- Details:
- The upstream wired network is called the DS (Distribution System).
- Each wireless SSID is mapped to a specific VLAN on the wired switch.
- An AP can provide multiple SSIDs (multiple BSSs).
- The AP connects to the switch via a trunk port carrying all mapped VLANs.
- Each SSID/BSS on the same AP uses a unique BSSID (typically created by incrementing the last digit of the AP’s base MAC address by 1).
Key Acronyms and Terms Reference
(Note: This module focuses on wireless theory and contains no CLI configuration commands. Below is the reference list of key acronyms and terms covered.)
- CSMA/CA: Carrier Sense Multiple Access with Collision Avoidance
- RTS/CTS: Request to Send / Clear to Send
- RF: Radio Frequency
- SSID: Service Set Identifier
- IBSS: Independent Basic Service Set (Ad Hoc)
- BSS: Basic Service Set
- BSSID: Basic Service Set Identifier (AP MAC Address)
- BSA: Basic Service Area (Physical Coverage)
- ESS: Extended Service Set
- DS: Distribution System (Wired Network)
- MBSS: Mesh Basic Service Set
- RAP: Root Access Point
- MAP: Mesh Access Point
- WGB: Workgroup Bridge (Cisco Proprietary, multiple devices)
- uWGB: Universal Workgroup Bridge (802.11 Standard, single device)