CWNA Guide to Wireless LANs, Second Edition

Slides:



Advertisements
Similar presentations
Medium Access Control Onno W. Purbo
Advertisements

Contents IEEE MAC layer operation Basic CSMA/CA operation
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
Wireless# Guide to Wireless Communications
1 CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards 1.
MAC Architecture Module-7 Jerry Bernardini Community College of Rhode Island 6/18/2015Wireless Networking J. Bernardini1.
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
6: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
110/15/2003CS211 IEEE Standard Why we study this standard: overall architecture physical layer spec. –direct sequence –frequency hopping MAC layer.
Wireless Networking WAN Design Module-06
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
8/7/20151 Mobile Computing COE 446 Wireless Multiple Access Tarek Sheltami KFUPM CCSE COE hthttp://faculty.kfupm.edu.sa/coe/tarek/coe446.htm Principles.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Network Security Wireless LAN. Network Security About WLAN  IEEE standard  Use wireless transmission medium such as radio, microwave, infrared.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Chapter 5 outline 5.1 Introduction and services
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
protocol continued. DCF The basic idea is non-persistent. Can do an optimization: For a new packet (Q len = 0), the sender needs only wait for.
CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards.
Wireless LAN Advantages 1. Flexibility 2. Planning 3. Design
Overview of Wireless LANs Use wireless transmission medium Issues of high prices, low data rates, occupational safety concerns, & licensing requirements.
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
Chapter 04 IEEE Media Access Control
CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards.
IEEE Wireless LAN Part II Access Point, Power Management, Polling, and Frame Format 14-1.
The University of Bolton School of Business & Creative Technologies Wireless Networks Introduction 1.
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
K. Salah 1 Chapter 15 Wireless LANs. K. Salah 2 Figure 15.1 BSSs IEEE Specification for Wireless LAN: IEEE , which covers the physical and data.
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
F ACULTY OF C OMPUTER S CIENCE & E NGINEERING Chapter 05. MAC and Physical Layers.
Wireless LANs Prof. F. Tobagi MAC Management 1.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
Universität Karlsruhe Institut für Telematik ECE 591
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
CO5023 Wireless Networks. Varieties of wireless network Wireless LANs: the main topic for this week. Consists of making a single-hop connection to an.
Chapter 14 Wireless LANs.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
Wireless Protocols. 2 Outline MACA 3 ISM: Industry, Science, Medicine unlicensed frequency spectrum: 900Mhz, 2.4Ghz, 5.1Ghz, 5.7Ghz.
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Copyright © 2003 OPNET Technologies, Inc. Confidential, not for distribution to third parties. Wireless LANs Session
CWNA Guide to Wireless LANs, Third Edition Chapter 6: Medium Access Control Layer Standards.
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
COMP2322 Lab 1 Introduction to Wireless LAN Weichao Li Apr. 8, 2016.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
Media Access Methods MAC Functionality CSMA/CA with ACK
Wireless LAN By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal
EA C451 (Internetworking Technologies)
Computer Communication Networks
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
Wireless Technology.
Wireless Mesh Networks
CS 457 – Lecture 7 Wireless Networks
EEC-484/584 Computer Networks
Chapter 6 Medium Access Control Protocols and Local Area Networks
Protocol Details John Bellardo UCSD.
Wireless LAN Simulation IEEE MAC Protocol
EEC-484/584 Computer Networks
Presentation transcript:

CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE 802.11 Media Access Control and Network Layer Standards

Objectives List and define the three types of WLAN configurations Tell the function of the MAC frame formats Explain the MAC procedures for joining, transmitting, and remaining connected to a WLAN CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Basic Service Set Extended Service Set Independent Service Set CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Basic Service Set Basic Service Set (BSS): Group of wireless devices served by single AP infrastructure mode BSS must be assigned unique identifier Service Set Identifier (SSID) Serves as “network name” for BSS Basic Service Area (BSA): Geographical area of a BSS Max BSA for a WLAN depends on many factors (technology, obstructions, interference, battery power,…etc.) CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Basic Service Set (continued) Figure 5-1: Basic Service Set (BSS) CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Extended Service Set Extended Service Set (ESS): Comprised of two or more BSS networks connected via a common distribution system APs can be positioned so that cells overlap to facilitate roaming Wireless devices choose AP based on signal strength Handoff CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Extended Service Set (continued) Figure 5-2: Extended Service Set (ESS) CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Independent Basic Service Set Independent Basic Service Set (IBSS): Wireless network that does not use an AP Wireless devices communicate between themselves Peer-to-peer or ad hoc mode IBSS useful for quickly and easily setting up wireless network When no connection to Internet or external network needed CWNA Guide to Wireless LANs, Second Edition

IEEE Wireless LAN Configurations: Independent Basic Service Set (continued) Figure 5-3: Independent Basic Service Set (IBSS) CWNA Guide to Wireless LANs, Second Edition

IEEE 802.11 Media Access Control (MAC) Layer Standards Media Access Control (MAC) layer performs several vital functions in a WLAN Discovering WLAN signal Joining WLAN Transmitting on WLAN Remaining connected to WLAN Mechanics of how functions performed center around frames sent and received in WLANs CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats Frames: Packet at MAC layer Or Data Link layer in OSI model IEEE 802.11 MAC frames different from 802.3 Ethernet frames in format and function Used by wireless NICs and APs for communications and managing/controlling wireless network CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) Frame control field identifies: Specific 802.11 protocol version Frame type Indicators that show WLAN configuration All frames contain MAC address of the source and destination device Frame sequence number Frame check sequence for error detection CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) IEEE 802.11 standard specifies three categories of MAC frames: Management Frames Control Frames Data Frames CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) Management Frames: Initialize communications between device and AP (infrastructure mode) or between devices (ad hoc mode) Maintain connection Figure 5-4: Structure of a management frame CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) Types of management frames: Authentication frame Association request frame Association response frame Beacon frame Deauthentication frame Disassociation frame Probe request frame Probe response frame Reassociation request frame Reassociation response frame CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) Control frames: Provide assistance in delivering frames that contain data Figure 5-5: Control frame CWNA Guide to Wireless LANs, Second Edition

MAC Frame Formats (continued) Data frame: Carries information to be transmitted to destination device Figure 5-6: Data frame CWNA Guide to Wireless LANs, Second Edition

Discovering the WLAN: Beaconing At regular intervals, AP (infrastructure network) or wireless device (ad hoc network) sends beacon frame Announce presence Provide info for other devices to join network Beacon frame format follows standard structure of a management frame Destination address always set to all ones (broadcasting) CWNA Guide to Wireless LANs, Second Edition

Discovering the WLAN: Beaconing (continued) Figure 5-7: Beaconing CWNA Guide to Wireless LANs, Second Edition

Discovering the WLAN: Beaconing (continued) Beacon frame body contains following fields: Beacon interval Timestamp Service Set Identifier (SSID) Supported rates Parameter sets Capability information In ad hoc networks, each wireless device assumes responsibility for beaconing In infrastructure networks beacon interval normally 100 ms, but can be modified CWNA Guide to Wireless LANs, Second Edition

Discovering the WLAN: Scanning Passive scanning: Wireless device simply listens for beacon frame Typically, on each available channel for set period Active scanning: Wireless device first sends out a management probe request frame on each available channel Then waits for probe response frame from all available APs CWNA Guide to Wireless LANs, Second Edition

Discovering the WLAN: Scanning (continued) Figure 5-8: Active scanning CWNA Guide to Wireless LANs, Second Edition

Joining the WLAN: Authentication Unlike standard wired LANS, authentication performed before user connected to network Authentication of the wireless device, not the user IEEE 802.11 authentication: Process in which AP accepts or rejects a wireless device Open system authentication: Most basic, and default, authentication method Shared key authentication: Optional authentication method Utilizes challenge text CWNA Guide to Wireless LANs, Second Edition

Joining the WLAN: Authentication (continued) Figure 5-9: Open system authentication CWNA Guide to Wireless LANs, Second Edition

Joining the WLAN: Authentication (continued) Figure 5-10: Shared key authentication CWNA Guide to Wireless LANs, Second Edition

Joining the WLAN: Authentication (continued) Open system and Shared key authentication techniques are weak Open System: Only need SSID to connect Shared Key: Key installed manually on devices Can be discovered by examining the devices Digital certificates: Digital documents that associate an individual with key value Digitally “signed” by trusted third party Cannot change any part of digital certificate without being detected CWNA Guide to Wireless LANs, Second Edition

Joining the WLAN: Association Association: Accepting a wireless device into a wireless network Final step to join WLAN After authentication, AP responds with association response frame Contains acceptance or rejection notice If AP accepts wireless device, reserves memory space in AP and establishes association ID Association response frame includes association ID and supported data rates CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (DCF) MAC layer responsible for controlling access to wireless medium Channel access methods: Rules for cooperation among wireless devices Contention: Computers compete to use medium If two devices send frames simultaneously, collision results and frames become unintelligible Must take steps to avoid collisions CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Carrier Sense Multiple Access with Collision Detection (CSMA/CD): Before networked device sends a frame, listens to see if another device currently transmitting If traffic exists, wait; otherwise send Devices continue listening while sending frame If collision occurs, stops and broadcasts a “jam” signal CSMA/CD cannot be used on wireless networks: Difficult to detect collisions Hidden node problem CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Figure 5-11: Carrier Sense Multiple Access with Collision Detection (CSMA/CD) CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Figure 5-11 (continued): Carrier Sense Multiple Access with Collision Detection (CSMA/CD) CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Figure 5-12: Hidden node problem CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Distributed Coordination Function (DCF): Specifies modified version of CSMA/CD Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) Attempts to avoid collisions altogether Time when most collisions occur is immediately after a station completes transmission All stations must wait random amount of time after medium clear Slot time CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) CSMA/CA also reduces collisions via explicit frame acknowledgment Acknowledgment frame (ACK): Sent by receiving device to sending device to confirm data frame arrived intact If ACK not returned, transmission error assumed CSMA/CA does not eliminate collisions Does not solve hidden node problem CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Figure 5-13: CSMA/CA and ACK CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Request to Send/Clear to Send (RTS/CTS) protocol: Option used to solve hidden node problem Significant overhead upon the WLAN with transmission of RTS and CTS frames Especially with short data packets RTS threshold: Only packets that are longer than RTS threshold are transmitted using RTS/CTS CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Distributed Coordination Function (continued) Figure 5-14: Request to Send/Clear to Send (RTS/CTS) CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Fragmentation Fragmentation: Divide data to be transmitted from one large frame into several smaller ones Reduces probability of collisions Reduces amount of time medium is in use If data frame length exceeds specific value, MAC layer fragments it Receiving station reassembles fragments Alternative to RTS/CTS High overhead ACKs and additional SIFS time gaps CWNA Guide to Wireless LANs, Second Edition

Transmitting on the WLAN: Point Coordination Function (PCF) Polling: Channel access method in which each device asked in sequence if it wants to transmit Effectively prevents collisions Point Coordination Function (PCF): AP serves as polling device or “point coordinator” CWNA Guide to Wireless LANs, Second Edition

Summary A Basic Service Set (BSS) is defined as a group of wireless devices that is served by a single access point (AP) An Extended Service Set (ESS) is comprised of two or more BSS networks that are connected through a common distribution system An Independent Basic Service Set (IBSS) is a wireless network that does not use an access point Frames are used by both wireless NICs and access points for communication and for managing and controlling the wireless network CWNA Guide to Wireless LANs, Second Edition

Summary (continued) The MAC layer provides four major functions in WLANs: discovering the WLAN signal, joining the WLAN, transmitting on the WLAN, and remaining connected to the WLAN Discovery is a twofold process: the AP or other wireless devices must transmit an appropriate frame (beaconing), and the wireless device must be looking for those frames (scanning) Once a wireless device has discovered the WLAN, it requests to join the network; This is a twofold process known as authentication and association CWNA Guide to Wireless LANs, Second Edition

Summary (continued) The IEEE 802.11 standard specifies two procedures for transmitting on the WLAN, distributed coordination function (DCF) and an optional point coordination function (PCF) The 802.11 standard provides for an optional polling function known as Point Coordination Function (PCF) CWNA Guide to Wireless LANs, Second Edition