Wireless - jibingl/CCNA-CCNP GitHub Wiki

Wireless Network

Fundamentals

WiFi Table

WiFi-Alliance IEEE Max-bps Freqency
WiFi 802.11 2M 2.4G
WiFi 1 802.11b 11M 2.4G
WiFi 2 802.11a 54M 5G
WiFi 3 802.11g 54M 2.4G
WiFi 4 802.11n 600M 2.4G/5G
WiFi 5 802.11ac 6.9G 5G
WiFi 6 802.11ax 9.6G 2.4G/5G
WiFi 6E 802.11ax 4*802.11ac 2.4G/5G/6G
WiFi 7 802.11be 40G 2.4G/5G/6G

Wireless signal coverage impacted by:

  • absorption 吸收 Wireless signal partially is converted into heat during passing through a material.
  • reflection 反射 Wireless signal bounces off of a material.
  • refraction 折射 A signal wave is bent when entering a medium where the signal travels at a different speed.
  • diffraction 衍射 A wave encounters an obstacle and travels around it.
  • scattering 散射 A material causes a signal to scatter in all directions.

2.4G and 5G

Name Hz Range Total Channels Channel range
2.4G 2.4G - 2.4835G 14 (1-11 usable in NA/1-13 in other) 22MHz
5G 5.15G - 5.825G MHz

Service Sets

IBSS (Independent Basic Service Set) - Two or more wireless devices connect directly without using an AP.
Aka ad hoc. An example is Apple AirDrop.

BSS (Basic Service Set) - A kind of Infrastracture Service Set in which clients connect to each other via an AP.
BSSID (Basic Service Set ID) is used to uniquely identify the AP.
BSA (Basic Service Area) is the physical area around an AP where its signal can cover.
When multiple BSSs separately provide service, each BSS is mapped to a separate VLAN on the wired network, and each AP should connect to switch via trunk.

ESS (Extended Service Set) - Multiple BSSs connect together. Each BSS uses the same SSID, but has own unique BSSID. Each BSS must uses a fifferent channnel to avoid interference.
Roaming, wireless devices can seamless travel between BSSs.

MBSS (Mesh Basic Service Set) - used in situations where it's difficult to run an Ethernet connection to every AP.
MAP (Mesh Access Point), those APs deployed in a MBSS, except one called RAP.
RAP (Root Access Point), the AP is directly connected to the wired network. A MBSS at least has one RAP.
Two radios are used by MAPs: one to provide a BSS, the other to form a 'backhaul network' to bridge traffic from AP to AP.

Additional AP Operational Modes

  1. Repeater
  2. Workgroup bridge (WGB)
  3. Outdoor bridge
                       .-PC--.      .-----.
                     /   ch-1  \  /  ch-1   \
   SW              /            /\            \ 
   [=]--ethernet--|---<<AP1>>  |  | <<AP2>>>>>>PC
                   \            \/  Repeater  /
                     \         /  \         /
                       `-PC--`      `-----`

                       .-PC--.         
                     /   ch-1  \      
   SW              /             \ WGB   
   [=]--ethernet--|---<<AP1>>   <<AP2>>---ethernet--PC
                   \             /   
                     \         /       
                       `-PC--`          

                                                                        PC
        SW            outdoor-bridge          outdoor-bridge            |
   PC--[=]--ethernet----<<AP1>>>>>>>>><<<<<<<<<<<<<<AP2>>----ethernet--[=]---PC
        |                                                               |
        PC                                                              PC

Wireless Architectures

APs Deployment Modes

AP Deployment To-WLC APs Config APs-To-Wired-Net WLC-to-wired-Net Notes
Autonomous AP N/A Individually Trunk N/A Each AP needs Mngt IP & RF parameters
Lightweight AP CAPWAP Centrally Access Trunk WLC & APs authenticate each other by x.509
Cloud-based AP Cloud/Meraki Centally Autonomous APs are centrally managed in the cloud

Lightweight AP Deployment

Lightweight APs deployment is also known as split-MAC archtecture.

CAPWAP (Control And Provisioning of Wireless Access Points): a protocol for communication between lightweight APs and WLC.

  • Control Tunnel: encrypted. UDP port 5246.
  • Data Tunnel: not encrypted but can be configured to be. UDP port 5247.

Lightweight APs operational modes:

Modes Functions
Local Offer BSS or BSSs (default mode)
FlexConnect Local + autonomous deploment (when WLC is lost)
Sniffer Dedicated to capture 802.11 frames and send to a sniffer app (WireShark)
Monitor Decicated to receive 802.11 frames and detect rogue devices
Rogue Detector Dedicated to work with WLC to listen to wired traffic only and detect rogue devices
SE-Connect Dedicated to RF spectrum analysis on all channels
Bridge/Mesh Like autonomous AP's outdoor Bridge
Flex plus Bridge Add FlexConnect to Bridge/Mesh

WLC Deployment Modes

Deploment modes Description Support
Unified WLC Hareware WLC 6000 APs
Cloud-based WLC VM WLC 3000 APs
Embedded WLC WLC is integrated wiht a switch 200 APs
Mobility Express WLC WLC is intergated within an AP 100 APs

WiFi Encryptions

Terms WEP WPA WPA2 WPA3
Release Year 1999 2003 2004 2018
Authentication WEP-open & WEP-sharedkey PSK & 802.1x PSK & 802.1x SAE & 802.1x
Encryption RC4 TKIP AES counter mode AES counter mode
Data Integrity CRC-32 MIC CBC-MAC GMAC
Session-Key Size 64 bits(24 IV) 128 bits 128 bits 128 bits (Personal); 192 bits (Enterprise)
Cipher Type Stream Stream Block Block
Key Management N/A 4-way Handshake 4-way Handshake SAE Handshake

Configuration of WLAN

option 43 <WLC-IP-Address> of DHCP configuration can be used to tell APs the IP address of their WLC. It is useful when a WLC is located in a remote network and can't hear CAPWAP messages broadcasted by APs which directly connect to a local subnet.

Exmaple topology:

                       .100/.100/.100
                           {WLC}                            +-------------------------------------+
                      port1 | | port2                       | WLANs/VLANs:                        |
                           (|+|)LAG                         | Vlan10: MNGT, 10.10.10.0/24         |
                            | |                             | Vlan100: Internal, 192.168.100.0/24 |
                        f0/1| |f0/2                         | Vlan200: Guest, 192.168.200.0/24    |                          
    ((<i>))-----------f0/7--[=]--f0/8---------((<i>))       +-------------------------------------+
      AP1                   SW1 \               AP2
     dhcp              .1/.1/.1  \              dhcp
                                  \PC1-dhcp

Configuration on SW1:

SW1(config)#vlan 10
SW1(config-vlan)#name MNGT
SW1(config-vlan)#vlan 100
SW1(config-vlan)#name Internal
SW1(config-vlan)#vlan 200
SW1(config-vlan)#name Guest
SW1(config-vlan)#interface vlan 10
SW1(config-if)#ip address 10.10.10.1 255.255.255.0
SW1(config-if)#interface vlan 100
SW1(config-if)#ip address 192.168.100.1 255.255.255.0
SW1(config-if)#interface vlan 200
SW1(config-if)#ip address 192.168.200.1 255.255.255.0

SW1(config)#interface range f0/6-8
SW1(config-if-range)#switchport mode access
SW1(config-if-range)#switchport access vlan 10
SW1(config-if-range)#switchport nonegociate
SW1(config-if-range)#spanning-tree portfast
SW1(config-if-range)#spanning-tree bpdu guard

SW1(config-if-range)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode on
SW1(config-if-range)#interface port-channel 1
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk allowed vlan 10,100,200

SW1(config)#ip dhcp pool VLAN10-MNGT
SW1(dhcp-config)#network 10.10.10.0 255.255.255.0
SW1(dhcp-config)#default-router 10.10.10.1
SW1(dhcp-config)#option 43 ip 10.10.10.100

SW1(config)#ip dhcp pool VLAN100-INTERNAL
SW1(dhcp-config)#network 192.168.100.0 255.255.255.0
SW1(dhcp-config)#default-router 192.168.100.1

SW1(config)#ip dhcp pool VLAN200-GUEST
SW1(dhcp-config)#network 192.168.200.0 255.255.255.0
SW1(dhcp-config)#default-router 192.168.200.1

SW1(config)#ip dhcp excluded-address 10.10.10.1 10.10.10.100
SW1(config)#ip dhcp excluded-address 192.168.100.1 192.168.100.100
SW1(config)#ip dhcp excluded-address 192.168.200.1 192.168.200.100

SW1(config)#ntp server
⚠️ **GitHub.com Fallback** ⚠️