Saturday 29 October 2016

A Brief History of WiFi

Although the first wireless networking specifications and standards were released in 1997, the technologies that comprise the WLANs of today have a long history that can be traced back to the 1800s.

The estimated number of WiFi enabled devices in use today is estimated to be close to 7 billion! With that said, it's easy to understand why WiFi is considered one of the greatest technology inventions in modern history. Could you live a day without your smartphone, tablet or laptop?

The table below listed the key dates and their significance in the evolution of WiFi. I purposly began the adventure at the discovery of Electromagnetic Waves as to not go down the rabbit hole that could include half of science!

See my previous post for a summary of IEEE 802.11 PHY Standards.

Thursday 20 October 2016

802.11n + 802.11ac data rates and SNR requirements


When designing a wireless network that requires very high data rates per client device, it is critical that you understand what conditions need to be met in order for the client devices to hit those rates (maybe a post for another time).

At the end of the day it comes down to one factor: A higher Signal-to-Noise Ration (SNR) will produce a higher data rate.

I have two sites bookmarked in my web browser to remind me of those requirements.

http://www.revolutionwifi.net/revolutionwifi/2014/09/wi-fi-snr-to-mcs-data-rate-mapping.html

and

http://mcsindex.com/

Both authors have obviously done an incredible amount of research to gather the data so I absolutely in no way pretend to have put together this myself. The Receive Sensitivity/RSSI requirements have been compiled from various sources and should only be used as a guide as each vendor radio will have their own specifications.

Anyway... I got tired of flicking between the two sites above so I decided to create a chart that merges the two. It has become my one stop shop for quickly determining the SNR requirements for a required throughput (I lie, there are two charts, one for 802.11n and one for 802.11ac.)

I recommend having a read of the first post. Andrew Von Nagy has done an amazing job on explaining the how MCS rates are achieved...


802.11n
 802.11ac
For those that don't have the ability to download the images in HD; I have provided a link to the original excel document - 802.11n/ac data rates and SNR requirements

I welcome all feedback!

-Brett

Sunday 16 October 2016

Cisco Patch Antenna and Cabling Configurations

When you make the decision to use a Cisco patch antenna for use on an AP model that requires external antennas, choosing the correct antenna and cabling accessories to do the job can be a bit of a daunting task.

You will still need to perform a site survey to determine which AP will meet your density, performance and coverage requirements, but you need to make sure the antenna is compatible with your AP! 

Typically your Cisco Sales Rep will know what parts connect to what, but it is always handy to know what your options are.

I don't deploy outdoor APs or indoor APs with external antenna connectors too often, so when I do I often forget what I can and can't do in this space. 

I created the images below to remind me quite some time ago, however have recently updated them with the latest Cisco AP models.

Please let me know if anything is incorrect!

IEEE 802.11 PHY Standards


The IEEE 802.11 standards used by the Wireless LANs of today have seen many amendments since first being published in June 1997. These amendments address the ever-growing demands put on the wireless medium due to the the onslaught of mobile devices and the need for wireless performance to be on par with the wired network.
The image below summarises the key 802.11 PHY protocols, which have a primary goal of increasing throughput to the wireless client device;

I will keep this table updated as new standards are ratified. In a future post I will list all 802.11 standards and amendments.

-Brett

Thursday 11 August 2016

Cisco WLC Discovery & Join Methods

In the Cisco Unified Wireless Network (CUWN) architecture, a Wireless LAN Controller provides central configuration and management of Cisco Lightweight Access Points. A Lightweight AP simply cannot cannot operate independently and must join a controller before it can can start to serve wireless clients.  An AP will use a number of methods to discover a list of controllers and their configured management IP addresses before it decides which one to join.

DISCOVERY PROCESS

Upon connecting an AP to the network, the following WLC discovery methods will be attempted:
  1. Broadcast on local subnet
  2. Use a previously configured/discovered list stored on the APs NVRAM
  3. Use DHCP Option 43 provided from DHCP server
  4. Use DNS to resolve "CISCO-CAPWAP-CONTROLLER.localdomain"
Broadcast
The AP will send a CAPWAP Discovery Request message on the local subnet. Any controller that has a management IP address within the same subnet will respond and can be used by the AP.

If there are no controllers located in the same subnet, the router can forward broadcasts (in the form of unicast packets) to the controller. The CAPWAP Discovery Request message is sent on UDP 5246.

Via IOS CLI:
ip forward-protocol udp 5246
interface <interface_name>
     ip helper-address <wlc_ip_address>
NVRAM
This list is built from a number of sources:
  • Previously configured Primary, Secondary & Tertiary controllers
Via WLC GUI:

Via WLC CLI:
config ap primary-base <wlc_name> <ap_name> <wlc_ip_address>
config ap secondary-base <wlc_name> <ap_name> <wlc_ip_address>
config ap tertiary-base <wlc_name> <ap_name> <wlc_ip_address>
Via AP CLI:
config ap controller ip address <wlc_ip_address>
  • Controllers part of a previously joined Mobility Group
DHCP Option 43
DHCP Option 43 is a vendor specific option which the Lightweight APs can also use to locate a controller. The controllers management IP address is entered in hexadecimal in the form of: Type + Length + Value, where;

Type = Always sub code option - 0xf1 (expressed as f1)
Length = Number of controller management IP addresses specified, multiplied by 4.
Value = IP addresses of controllers, listed sequentially

Via IOS CLI:
ip dhcp excluded-address <start_ip <end_ip>
ip dhcp pool <pool_name>
     network <ip_address> <netmask>
     default-router <gateway_ip>
     dns-server <ip_address1> <ip_address2>
     domain-name <domain>
     lease <days> <hours>
     option 43 hex <hex_value>   // e.g. option 43 hex f104.0a5e.dec8
Via Windows Server:
DNS
The AP will attempt to resolve "CISCO-CAPWAP-CONTROLLER.localdomain" to an IP address. This can be done by configuring a Host A Record on the DNS server specified in DHCP.

JOIN PROCESS

Once the AP has built a list of possible controllers, it will attempt to join one of them using the following order:
  1. AP's NVRAM configured Primary controller
  2. AP's NVRAM configured Secondary controller
  3. AP's NVRAM configured Tertiary controller
  4. Least loaded controller learnt through dynamic methods (broadcast, DHCP option 43, DNS)
Once an AP has joined a controller it will forgot about the controllers learnt through the dynamic methods listed in number 4 above.

If an AP is joined to a controller, and that control fails, the AP it will attempt to join another controller using the order below:
  1. AP's NVRAM configured Primary controller
  2. AP's NVRAM configured Secondary controller
  3. AP's NVRAM configured Tertiary controller
  4. WLC's Backup Primary controller
  5. WLC's Backup Secondary controller
  6. Controllers part of the WLC's mobility group membership
If an AP cannot join one of the controllers above, it will reboot and start the re-initialise the discovery process.

VERIFICATION

To confirm what controllers the AP is currently aware of, there are several AP CLI commands available:
show capwap client config



 // LIST OF NVRAM CONFIGURED WLCS (PRIMARY, SECONDARY, TERTIARY)

mwarName                WLC1
mwarIPAddress           10.100.5.1
mwarName                WLC2
mwarIPAddress           10.100.5.2
mwarName                WLC3
mwarIPAddress           10.100.5.3


// LIST OF WLCS IN PREVIOUSLY LEARNT MOBILITY GROUPS

Configured Switch 1 Addr 10.100.5.1
Configured Switch 2 Addr 10.100.5.2
Configured Switch 3 Addr 10.100.5.3
Configured Switch 4 Addr 10.159.44.17
Configured Switch 5 Addr 10.159.44.18

show capwap client ha

// LIST BACKUP PRIMARY & BACKUP SECONDARY WLCS (LOCAL TO CURRENT WLC

primaryBackupWlcIp      10.100.5.2 
primaryBackupWlcName    WLC2
secondaryBackupWlcIp    10.100.5.3 
secondaryBackupWlcName WLC3