Lecture 17: Wireless Networking

Similar documents
Lecture 17: Wireless Networking"

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

Lecture 16: QoS and "

Lecture 24: CSE 123: Computer Networks Stefan Savage. HW4 due NOW

Common problems in production Wireless Networks. Jigsaw: Solving the Puzzle of Enterprise Analysis. Sounds Familiar?

CSE 461: Wireless Networks

MAC in /20/06

IEEE Medium Access Control. Medium Access Control

Computer Communication III

Automating Cross-Layer Diagnosis of Enterprise Wireless Networks

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Lecture 4: Routing. CSE 222A: Computer Communication Networks Alex C. Snoeren. Thanks: Amin Vahdat

CMPE 257: Wireless and Mobile Networking

Lecture 11: IPv6. CSE 123: Computer Networks Alex C. Snoeren. HW 2 due FRIDAY

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Mohamed Khedr.

SENSOR-MAC CASE STUDY

Strengthening Unlicensed Band Wireless Backhaul

Aloha and slotted aloha

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Wireless Protocols. Training materials for wireless trainers

Wireless Local Area Networks. Networks: Wireless LANs 1

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Medium Access Control

Link Layer. (continued)

Lecture 13: Traffic Engineering

MAC LAYER. Murat Demirbas SUNY Buffalo

Wireless Sensor Networks

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless Networking & Mobile Computing

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Last Lecture: Data Link Layer

Lecture 12 December 04, Wireless Access. Graduate course in Communications Engineering. University of Rome La Sapienza. Rome, Italy

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Medium Access Control (MAC) Protocols for Ad hoc Wireless Networks -IV

Multiple Access Links and Protocols

Multiple Access in Cellular and Systems

Unit 7 Media Access Control (MAC)

ICE 1332/0715 Mobile Computing (Summer, 2008)

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

EE 122: Ethernet and

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

Chapter 1 Basic concepts of wireless data networks (cont d)

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Link Layer: Retransmissions

Data Communications. Data Link Layer Protocols Wireless LANs

Cautionary Aspects of Cross Layer Design: Context, Architecture and Interactions

Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver

MSIT 413: Wireless Technologies Week 8

Wireless MACs: MACAW/802.11

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Wireless Local Area Network (IEEE )

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

CSE 461: Multiple Access Networks. This Lecture

Wireless and Mobile Networks 7-2

ECE 4450:427/527 - Computer Networks Spring 2017

CMPE 257: Wireless and Mobile Networking

Internet Protocol Stack

Wireless LANs. ITS 413 Internet Technologies and Applications

IEEE WLANs (WiFi) Part II/III System Overview and MAC Layer

Mohammad Hossein Manshaei 1393

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Introduction to IEEE

Logical Link Control (LLC) Medium Access Control (MAC)

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

Ethernet. Introduction. CSE 3213 Fall 2011

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Local Area Networks NETW 901

Chapter 12 Multiple Access 12.1

Rahman 1. Application

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

CMPE 257: Wireless and Mobile Networking

CSC 4900 Computer Networks: Wireless Networks

CS118 Discussion 1A, Week 9. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

MAC protocols. Lecturer: Dmitri A. Moltchanov

PIE in the Sky : Online Passive Interference Estimation for Enterprise WLANs

Mobile Communications Chapter 7: Wireless LANs

Embedded Internet and the Internet of Things WS 12/13

Mobile and Sensor Systems

MULTIPLE ACCESS PROTOCOLS 2. 1

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

LECTURE PLAN. Script. Introduction about MAC Types o ALOHA o CSMA o CSMA/CD o CSMA/CA

Chapter 6 Wireless and Mobile Networks

Lesson 2-3: The IEEE x MAC Layer

Wireless LAN. Access Point. Provides network connectivity over wireless media

Wireless Networks (MAC)

CS 348: Computer Networks. - WiFi (contd.); 16 th Aug Instructor: Sridhar Iyer IIT Bombay

Wireless & Mobile Networking

Wireless Networks (MAC) Kate Ching-Ju Lin ( 林靖茹 ) Academia Sinica

ECEN 5032 Data Networks Medium Access Control Sublayer

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

CS698T Wireless Networks: Principles and Practice

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Wireless Medium Access Control Protocols

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross ( 6th ed.); , Kurose and Ross (7th ed.

CSCI-1680 Wireless Chen Avin

Wireless Communications

Transcription:

Lectre 17: 802.11 Wireless Networking CSE 222A: Compter Commnication Networks Alex C. Snoeren Thanks: Lili Qi, Nitin Vaidya

Lectre 17 Overview Project discssion Intro to 802.11 WiFi Jigsaw discssion CSE 222A Lectre 17: Wireless Networking 2

Project pdate Second checkpoint de Tonight 1-2 page smmary of yor progress since last checkpoint Project presentations Wedsday 3/21 Sign p for a 25-minte slot between 8:00am and 3:30pm» 20 minte presentation (inclding all project members)» 3-4 mintes for qestions Yo will be expected to attend at least 3 presentations and actively participate in discssion Reports de Friday 3/23 by midnight CSE 222A Lectre 17: Wireless Networking 3

Carrier Sense Mltiple Access CSMA: listen before transmit If channel sensed idle: transmit entire packet If channel sensed bsy, defer transmission Persistent CSMA: retry immediately with probability p when channel becomes idle (may case instability) Non-persistent CSMA: retry after random interval Bt what abot collisions? CSE 222A Lectre 17: Wireless Networking 4

CSMA/CA Impossible to hear collision w/half-dplex radio Wireless MAC protocols often se collision avoidance techniqes, in conjnction with a (physical or virtal) carrier sense mechanism Collision avoidance Nodes negotiate to reserve the channel. Once channel becomes idle, the node waits for a randomly chosen dration before attempting to transmit. CSE 222A Lectre 17: Wireless Networking 5

Hidden Terminal Problem A B C B can commnicate with both A and C A and C cannot hear each other Problem When A transmits to B, C cannot detect the transmission sing the carrier sense mechanism Soltion If C transmits, collision will occr at node B Hidden sender C needs to defer CSE 222A Lectre 17: Wireless Networking 6

RTS/CTS (MACA) A B C When A wants to send a packet to B, A first sends a Reqest-to-Send (RTS) to B On receiving RTS, B responds by sending Clear-to- Send (CTS), provided that A is able to receive the packet When C overhears a CTS, it keeps qiet for the dration of the transfer Transfer dration is inclded in both RTS and CTS CSE 222A Lectre 17: Wireless Networking 7

Backoff Interval Problem: With many contending nodes, RTS packets will freqently collide Soltion: When transmitting a packet, choose a backoff interval in the range [0, CW] CW is contention window Wait the length of the interval when medim is idle Cont-down is sspended if medim becomes bsy Transmit when backoff interval reaches 0 Need to adjst CW as contention varies CSE 222A Lectre 17: Wireless Networking 8

Jigsaw: What Really Happens Measre real large wireless networks Collect every possible information» PHY/Link/IP/TCP/App layer trace» Collect every single wireless packet Need many sniffers for 100% coverage Atomatically merge traces Global view of wireless networks across time, locations, channels, and protocol layers Enables manal and atomatic diagnosis CSE 222A Lectre 17: Wireless Networking 9

Or lab: EBU3b 150k sqare feet 4 floors 500+ occpants 150 faclty/staff 350 stdents Bilding-wide WiFi 39 access points 802.11b/g» Channel 1, 6, 11 10 90 active clients anytime Daily Traffic ~5GB CSE 222A Lectre 17: Wireless Networking 10

Jigsaw Deployment Overlays existing WiFi network Series of passive sniffers Blanket deployment over 4 floors 39 sensor pods (156 radios) 4 radios per pod, cover all channels in se Captres all 802.11 activities» Inclding CRC/PHY events Stream back over wired network to centralized storage

Jigsaw design Traces synchronization and nification L2 state reconstrction TCP flow reconstrction CSE 222A Lectre 17: Wireless Networking 12

Synchronization o o o Frames carry TSF time-stamps Need a global clock Estimate the offset between TSF and the global clock for each sniffer

Synchronization Create a virtal global clock To keep nification working Critical evidence for analysis» If A and B are transmitting at the same time they cold interfere» If A starts transmitting after B has started then A can t hear B Reqire fine time-scales (10-50s) NTP is +100 sec accracy 802.11 HW clocks (TSF) have 100PPM stability TSF diff (s) TSF diff of two sniffers Time (s) CSE 222A Lectre 17: Wireless Networking

Ideal Unification Time CSE 222A Lectre 17: Wireless Networking

Real Unification Jigsaw nified trace JFrame 1 JFrame 2 Time JFrame 3 JFrame 4 JFrame 5 CSE 222A Lectre 17: Wireless Networking

Challenge: sync at large-scale T o 1 2 3 4 s t 1 t 3 How to bootstrap? Goal: estimate the offset between TSF and the global clock for each sniffer Time reference from one sniffer to the other Sync across channels Dal radios on same sniffer slaved to same clock (creates a de facto time linkage) Manage TSF clock skews Continosly re-adjst offsets when merging frames

Jigsaw in Action Jigsaw merges 156 traces into one global trace Covers 99% of AP frames, 96% of client frames Starts Jan 24,2006 (Tesday) Dration Total APs 24 hr CSE Clients 1026 Active CSE clients anytime 107 (39 CSE) 10-90 Total Events 2,700M PHY/CRC Errors 48% Valid Frames 52% CSE 222A Lectre 17: Wireless Networking JFrames Events per Jframe 530M 2.97

Jigsaw syncs 99% frames < 20s o Measre sync. qality by max dispersion per Jframe o 20 s is important threshold n 802.11 back-off time is 20s n 802.11 inter frame time is 50 s n Sfficient to infer many 802.11 events CSE 222A Lectre 17: Wireless Networking

L2-ACK Beacon

Hidden Terminals CSE 222A Lectre 17: Wireless Networking

Mlti-hop roting packet A packet B packet src dst Identify a rote, forward over links Abstract radio to look like a wired link C CSE 222A Lectre 17: Wireless Networking 22

For Next Class Read ExOR paper Sbmit checkpoint by tonight! CSE 222A Lectre 17: Wireless Networking 23