![]() |
Wireless LAN Configuration Guide, Cisco IOS Release 12.4T
|
|||||||||||
Configuring Wireless VLANs
![]() |
||||||||||||
|
Contents
Configuring Wireless VLANsLast Updated: October 13, 2011
This module describes how to configure wireless VLANs on a Cisco 800, 1800, 2800, or 3800 series integrated services router (ISR), hereafter referred to as an access point (AP). Finding Feature Information in This ModuleYour Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the Feature Information for Configuring Wireless VLANs. Finding Support Information for Platforms and Cisco IOS Software ImagesUse Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn . You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear. Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Information About Configuring Wireless VLANs
VLANs OverviewA VLAN is a switched network that is logically segmented, by functions, project teams, or applications rather than on a physical or geographical basis. For example, all workstations and servers used by a particular workgroup team can be connected to the same VLAN, regardless of their physical connections to the network or the fact that they might be intermingled with other teams. You use VLANs to reconfigure the network through software rather than physically unplugging and moving devices or wires. A VLAN can be thought of as a broadcast domain that exists within a defined set of switches. A VLAN consists of a number of end systems, either hosts or network equipment (such as bridges and routers), connected by a single bridging domain. The bridging domain is supported on various pieces of network equipment such as LAN switches that operate bridging protocols between them with a separate group for each VLAN. VLANs provide the segmentation services traditionally provided by routers in LAN configurations. VLANs address scalability, security, and network management. You should consider several key issues when designing and building switched LAN networks:
You extend VLANs into a wireless LAN by adding IEEE 802.11q tag awareness to the AP. Frames destined for different VLANs are transmitted by the AP wirelessly on different Service Set Identifiers (SSIDs). Only the clients associated with that VLAN receive those packets. Each SSID can have one VLAN assigned to it. The benefit of using multiple SSIDs and VLANs is the ability to configure different security features for each group. For example, users in VLAN 1 may be forced to use MAC authentication while users in VLAN 2 do not have that requirement. The figure below shows both wired and wireless VLANs coexisting on a router with an integrated AP and switch. Wireless Device Deployment in VLANsThe basic wireless components of a VLAN consist of an AP and a client associated to it using wireless technology. In fundamental terms, the key to configuring an AP to connect to a specific VLAN is by configuring its SSID to recognize that VLAN. Because VLANs are identified by a VLAN ID, it follows that if the SSID on an AP is configured to recognize a specific VLAN ID, a connection to the VLAN is established. When this connection is made, associated wireless client devices having the same SSID can access the VLAN through the AP. The VLAN processes data to and from the clients the same way that it processes data to and from wired connections. You can configure up to 10 SSIDs or VLANs on the Cisco 800 series routers, and up to 16 SSIDs or VLANs on the Cisco 1800 series fixed-configuration routers and the Cisco 1841, 2800 and 3800 series modular routers with an AP HWIC. You can assign only one SSID to a VLAN. The limits for the 16 configurable VLANs on routers with an AP HWIC:
The limits for the 16 configurable VLANs on the Cisco 1800 series fixed-configuration routers are:
The limits for the 10 configurable VLANs on the Cisco 800 series routers are:
You can use the VLAN feature to deploy wireless devices with greater efficiency and flexibility. For example, one AP can handle the specific requirements of multiple users having widely varied network access and permissions. Without VLAN capability, multiple APs would have to be employed to serve classes of users based on the access and permissions they were assigned. These are two common strategies for deploying wireless VLANs:
Assignment of Users to VLANs Using a RADIUS ServerYou can configure your RADIUS authentication server to assign users or groups of users to a specific VLAN when they authenticate to the network. The VLAN-mapping process consists of these steps:
These are the RADIUS user attributes used for VLAN ID assignment. Each attribute must have a common tag value to identify the grouped relationship.
Network Admission ControlCisco IOS Release 12.4(15)T supports NAC layer 2 (L2) IEEE 802.1x, which extends NAC support to layer 2 switches and wireless access points. Network Admission Control is a Cisco Systems sponsored initiative that uses the network infrastructure to enforce security policy compliance on all devices seeking to access network computing resources, thereby limiting damage from viruses and worms. Using NAC, you can provide network access to endpoint devices such as PCs, PDAs, and servers that are verified to be fully compliant with an established security policy. NAC can also identify noncompliant devices and deny them access, place them in a quarantined area, or give them restricted access to computing resources. How to Configure Wireless VLANsConfiguring a Wireless VLANUsing Configuring a Wireless VLAN as a reference, perform this task to configure a VLAN on an AP. DETAILED STEPS Assigning Names to VLANsYou can assign a name to a VLAN in addition to its numerical ID. VLAN names can contain up to 32 ASCII characters. The access point stores each VLAN name and ID pair in a table. Remember these guidelines when using VLAN names:
Assigning a Name to a VLAN
SUMMARY STEPS
DETAILED STEPS Configuration Examples for Wireless VLANs
VLAN Configuration ScenarioThe following VLAN configuration scenario shows how to use VLANs to manage wireless devices in a typical branch office. In this example, two levels of access are available through VLANs configured on the network:
In this scenario, a minimum of two VLAN connections are required, one for each level of access. Because the AP can support up to 16 SSIDs on the AP HWIC and Cisco 1800 fixed-configuration routers, and up to 10 SSIDs on the Cisco 800 series routers, you can use the basic design shown in the table below. Employees configure their wireless client adapters to use the SSID named employee and guests configure their client adapters to use the SSID named guest. When these clients associate to the AP, they automatically belong to the correct VLAN. Wired clients attached to the router through the integrated switch can also belong to a specific VLAN. Wireless VLAN clients and wired VLAN clients can share subnets or they can belong to completely different subnets. This type of configuration can be accomplished using bridging or integrated routing and bridging (IRB) or routing on the dot11 interface. The following examples show two configuration methods:
Configuring Wireless VLANs on an Access Point in Bridging Mode ExampleUsing the VLAN configuration scenario above, perform this task to configure VLAN 1 and VLAN 2 on an AP in bridging mode. When the AP has been configured, configure each client device to recognize either the employee SSID or the guest SSID. This task includes the following configuration steps:
configure terminal dot11 ssid employee vlan 1 authentication open eap eap_methods authentication network-eap eap_methods authentication key-management wpa exit interface dot11Radio 0/0/0 no ip address encryption vlan 1 mode ciphers aes-ccm ssid employee exit exit dot11 ssid guest vlan 2 authentication open exit interface dot11Radio 0/0/0.1 encapsulation dot1q 1 native bridge-group 1 bridge-group 1 subscriber-loop-control bridge-group 1 spanning-disabled bridge-group 1 block-unknown-source no bridge-group 1 source-learning no bridge-group 1 unicast-flooding exit interface dot11Radio 0/0/0.2 encapsulation dot1q 2 bridge-group 2 exit interface FastEthernet 0/1/2 switchport access vlan 2 exit interface FastEthernet 0/1/3 switchport access vlan 2 exit interface vlan 1 bridge group 1 exit interface vlan 2 bridge group 2 exit interface bvi 1 ip address 10.10.10.1 255.255.255.0 exit interface bvi 2 ip address 20.20.20.1 255.255.255.0 exit bridge 1 route ip bridge 2 route ip exit copy running-config to startup-config Configuring Wireless VLANs on an Access Point in Routing Mode ExampleUsing the VLAN configuration scenario described in the previous section, perform this task to configure VLAN 1 and VLAN 2 on an AP in routing mode. Routing can be used to keep the wireless and wired VLANs on separate subnets. After the AP has been configured, configure each client device to recognize either the employee SSID or the guest SSID. This task includes the following configuration steps:
configure terminal dot11 ssid employee vlan 1 authentication open eap eap_methods authentication network-eap eap_methods authentication key-management wpa exit interface dot11Radio 0/0/0 no ip address encryption vlan 1 mode ciphers aes-ccm ssid employee exit exit dot11 ssid guest vlan 2 authentication open exit interface dot11Radio 0/0/0 ssid guest exit exit interface dot11Radio 0/0/0.1 encapsulation dot1Q 1 native ip address 10.10.10.1 255.255.255.0 exit interface dot11Radio 0/0/0.2 encapsulation dot1q 2 ip address 50.50.50.1 255.255.255.0 end copy running-config startup-config Where to Go NextIf you want to configure quality of service (QoS) parameters on an AP, see the "Configuring QoS on an Access Point" module. Additional ReferencesMIBsFeature Information for Configuring Wireless VLANsThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2011 Cisco Systems, Inc. All rights reserved.
|
|||||||||||
|
|