Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring 2011. Mike Freedman

Similar documents
communication over wireless link handling mobile user who changes point of attachment to network

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

10. Wireless Networks

COMP 3331/9331: Computer Networks and Applications

Data Center Networks, Link Layer Wireless (802.11)

Chapter 6: Wireless and Mobile Networks

ECE/CS 372 introduction to computer networks. Lecture 13

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Lecture 7 Multiple Access Protocols and Wireless

Wiereless LAN

The Wireless Network Road Trip

Lecture 17: Wireless Networking"

Hello viewers, welcome to today s lecture on cellular telephone systems.

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

CS263: Wireless Communications and Sensor Networks

EPL 657 Wireless Networks

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Introduction Chapter 1. Uses of Computer Networks

Telecommunications, Networks, and Wireless Computing

Administrivia. CSMA/CA: Recap. Mobility Management. Mobility Management. Channel Partitioning, Random Access and Scheduling

Express Forwarding : A Distributed QoS MAC Protocol for Wireless Mesh

CSE 123A Computer Networks

Wireless LAN Concepts

Chapter 7 Low-Speed Wireless Local Area Networks

Introduction to Ad hoc Networks

OSBRiDGE 5XLi. Configuration Manual. Firmware 3.10R

Protocolo IEEE Sergio Scaglia SASE Agosto 2012

Based on Computer Networking, 4 th Edition by Kurose and Ross

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Mobile and Sensor Systems

LTE, WLAN, BLUETOOTHB

How To Make A Multi-User Communication Efficient

What s so smart about Smart-hopping?

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Access Point Configuration

Networks. The two main network types are: Peer networks

Introduction to Wide-Area WiFi. AfNOG 2009 Wireless Tutorials Cairo

CSMA/CA. Information Networks p. 1

Wireless Personal Area Networks (WPANs)

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

The Basics of Wireless Local Area Networks

Network edge and network core. millions of connected compu?ng devices: hosts = end systems running network apps

an interconnected collection of autonomous computers interconnected = able to exchange information

Nokia Siemens Networks. CPEi-lte User Manual

Random Access Protocols

ECE 428 Computer Networks and Security

Ethernet, VLAN, Ethernet Carrier Grade

estadium Project Lab 8: Wireless Mesh Network Setup with DD WRT

Markku Renfors. Partly based on student presentation by: Lukasz Kondrad Tomasz Augustynowicz Jaroslaw Lacki Jakub Jakubiak

Wave Relay System and General Project Details

WiFi. Is for Wireless Fidelity Or IEEE Standard By Greg Goldman. WiFi 1

Chapter 6 Wireless and Mobile Networks

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

MAC Algorithms in Wireless Networks

IEEE Wireless LAN

From reconfigurable transceivers to reconfigurable networks, part II: Cognitive radio networks. Loreto Pescosolido

1 Which network type is a specifically designed configuration of computers and other devices located within a confined area? A Peer-to-peer network

Real-Time Communication in IEEE Wireless Mesh Networks: A Prospective Study

IEEE Ad Hoc Networks: Performance Measurements

WL-5460AP. User s Manual. 54Mbps Multi-Function Wireless AP. AirLive WL-5460AP v2 User Manual

Performance Evaluation of Wired and Wireless Local Area Networks

Basic Wireless Infrastructure and Topologies

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Wireless Internet. Is an system to provide connectivity to customers to the Internet. Service Provider (WISP) TECHNICAL INFO.

Solving the Wireless Mesh Multi-Hop Dilemma

Basic processes in IEEE networks

Wireless LAN Protocol CS 571 Fall Kenneth L. Calvert All rights reserved

An Investigation of the Impact of Signal Strength on Wi-Fi Link Throughput through Propagation Measurement. Eric Cheng-Chung LO

SELECTIVE ACTIVE SCANNING FOR FAST HANDOFF IN WLAN USING SENSOR NETWORKS

Professur Technische Informatik Prof. Dr. Wolfram Hardt. Network Standards. and Technologies for Wireless Sensor Networks. Karsten Knuth

WIRELESS ETHERNET (IEEE )

Chapter 9. Communications and Networks. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

CHAPTER 1 1 INTRODUCTION

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Overview of Computer Networks

frequency experienced by mobile is not f but distorted version of f: call it f

Frequency Hopping Spread Spectrum (FHSS) vs. Direct Sequence Spread Spectrum (DSSS) in Broadband Wireless Access (BWA) and Wireless LAN (WLAN)

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Basic Network Design

TL-WN310G 54M Wireless CardBus Adapter

Modern Wireless Communication

Adaptive DCF of MAC for VoIP services using IEEE networks

Computer Networking: A Survey

Narrowband and Broadband Access Technologies

Create Virtual AP for Network Campus with Mikrotik

LP-348. LP-Yagy2415. LP-510G/550G 54M Wireless Adapter PCMCIA/PCI. User Guide Ver:2.0 LP-5420G

THE BCS PROFESSIONAL EXAMINATIONS BCS Level 5 Diploma in IT. October 2009 EXAMINERS' REPORT. Computer Networks

Data Link Protocols. Link Layer Services. Framing, Addressing, link access: Error Detection:

WL-5460AP. User s Manual. 54Mbps Multi-Function Wireless AP. AirLive WL-5460AP v2 User Manual

EECC694 - Shaaban. Transmission Channel

Wireless Ethernet LAN (WLAN) General a/802.11b/802.11g FAQ

Certified Telecommunications & Network Professional (CTNP) Syllabus. Version 1.0

Wireless Home Networks based on a Hierarchical Bluetooth Scatternet Architecture

Unlicensed Mobile Access (UMA) Handover and Packet Data Performance Analysis

Transcription:

1 Wireless Networks Reading: Sec5on 2.8 COS 461: Computer Networks Spring 2011 Mike Freedman hep://www.cs.princeton.edu/courses/archive/spring11/cos461/

2 Widespread Deployment Worldwide cellular subscribers 1993: 34 million 2005: more than 2 billion 2009: more than 4 billion > landline subscribers Wireless local area networks Wireless adapters built in to most laptops, and even PDAs More than 220,000 known WiFi loca5ons in 134 countries Probably many, many more (e.g., home networks, corporate networks, )

3 Wireless Links and Wireless Networks

4 Wireless Links: High Bit Error Rate Decreasing signal strength Disperses as it travels greater distance AEenuates as it passes through maeer

5 Wireless Links: High Bit Error Rate Interference from other sources Radio sources in same frequency band E.g., 2.4 GHz wireless phone interferes with 802.11b wireless LAN Electromagne5c noise (e.g., microwave oven)

6 Wireless Links: High Bit Error Rate Mul5 path propaga5on Electromagne5c waves reflect off objects Taking many paths of different lengths Causing blurring of signal at the receiver receiver transmitter

7 Dealing With Bit Errors Wireless vs. wired links Wired: most loss is due to conges5on Wireless: higher, 5me varying bit error rate Dealing with high bit error rates Sender could increase transmission power Requires more energy (bad for baeery powered hosts) Creates more interference with other senders Stronger error detec5on and recovery More powerful error detec5on/correc5on codes Link layer retransmission of corrupted frames

8 Wireless Links: Broadcast Limita5ons Wired broadcast links E.g., Ethernet bridging, in wired LANs All nodes receive transmissions from all other nodes Wireless broadcast: hidden terminal problem C A and B hear each other B and C hear each other But, A and C do not A B So, A and C are unaware of their interference at B

9 Wireless Links: Broadcast Limita5ons Wired broadcast links E.g., Ethernet bridging, in wired LANs All nodes receive transmissions from all other nodes Wireless broadcast: fading over distance A B C A s signal strength C s signal strength A and B hear each other B and C hear each other But, A and C do not So, A and C are unaware of their interference at B space

10 Example Wireless Link Technologies Data networks 802.15.1 (Bluetooth): 2.1 Mbps 10 m 802.11b (WiFi): 5 11 Mbps 100 m 802.11a and g (WiFi): 54 Mbps 100 m 802.11n (WiFi): 200 Mbps 100 m 802.16 (WiMax): 70 Mbps 10 km Cellular networks, outdoors 2G: 56 Kbps 3G: 384 Kbps 3G enhanced: 4 Mbps

11 Wireless Network: Wireless Link network infrastructure Wireless link Typically used to connect mobile(s) to base station Also used as backbone link Multiple access protocol coordinates link access

12 Wireless Network: Wireless Hosts network infrastructure Wireless host Laptop, PDA, IP phone Run applications May be stationary (nonmobile) or mobile

13 Wireless Network: Base Sta5on network infrastructure Base station Typically connected to wired network Relay responsible for sending packets between wired network and wireless host(s) in its area E.g., cell towers, 802.11 access points

14 Wireless Network: Infrastructure network infrastructure Network infrastructure Larger network with which a wireless host wants to communicate Typically a wired network Provides traditional network services May not always exist

15 Scenario #1: Infrastructure Mode network infrastructure Infrastructure mode Base station connects mobiles into wired network Network provides services (addressing, routing, DNS) Handoff: mobile changes base station providing connection to wired network

16 Scenario #2: Ad Hoc Networks Ad hoc mode No base stations Nodes can only transmit to other nodes within link coverage Nodes self-organize and route among themselves

17 Infrastructure vs. Ad Hoc Infrastructure mode Wireless hosts are associated with a base sta5on Tradi5onal services provided by the connected network E.g., address assignment, rou5ng, and DNS resolu5on Ad hoc networks Wireless hosts have no infrastructure to connect to Hosts themselves must provide network services Similar in spirit to the difference between Client server communica5on Peer to peer communica5on

18 Bluetooth: 802.15.1 personal area networks

19 Bluetooth piconets Up to 7 slave devices and 225 parked devices Operates on unlicensed wireless spectrum How to prevent interference?

PHY: Spread Spectrum Frequency Hopping Nodes rapidly jump between frequencies Sender and receiver coordinated in jumps How coordinate? Pseudorandom number generator, with shared input known to sender/receiver If randomly collide with other transmieed, only for short period before jump again 20 Bluetooth 79 frequencies, on each frequency for just 625 us Each channel also uses TDMA, with each frame taking 1/3/5 consecu5ve slots. Only master can start in odd slot, slave only in response

WiFi: 802.11 Wireless LANs 21

22 802.11 LAN Architecture Internet Access Point (AP) Base station that communicates with the wireless hosts BSS 1 AP hub, switch or router Basic Service Set (BSS) Coverage of one AP AP acts as the master Identified by an network name known as an SSID AP BSS 2 SSID: Service Set Identifier

23 Channels and Associa5on Mul5ple channels at different frequencies Network administrator chooses frequency for AP Interference if channel is same as neighboring AP Beacon frames from APs Associate request from host Associa5on response from AP

24 Channels and Associa5on Mul5ple channels at different frequencies Network administrator chooses frequency for AP Interference if channel is same as neighboring AP Access points send periodic beacon frames Containing AP s name (SSID) and MAC address Host scans channels, listening for beacon frames Host selects an access point to associate with Beacon frames from APs Associate request from host Associa5on response from AP

25 Mobility Within the Same Subnet H1 remains in same IP subnet IP address of the host can remain same Ongoing data transfers can con5nue uninterrupted H1 recognizes the need to change H1 detects a weakening signal Starts scanning for stronger one Changes APs with same SSID H1 disassociates from one And associates with other Switch learns new loca5on Self learning mechanism BBS 1 AP 1 router hub or switch AP 2 H1 BBS 2

Wireless LAN addressing and bridging 26 Func5on Addr 1 (Receiver) Addr 2 (Transmi?er) Intra BSS Dest Source Addr 3 To AP BSS ID Source Dest From AP Dest BSS ID Source Addr 4 Bridged APs Reciever TransmiEer Dest Source

27 CSMA: Carrier Sense, Mul5ple Access Mul5ple access: channel is shared medium Sta5on: wireless host or access point Mul5ple sta5ons may want to transmit at same 5me Carrier sense: sense channel before sending Sta5on doesn t send when channel is busy To prevent collisions with ongoing transfers But, detec5ng ongoing transfers isn t always possible C A B C A B A s signal strength C s signal strength space

CA: Collision Avoidance, Not Detec5on 28 Collision detec5on in wired Ethernet Sta5on listens while transmiong Detects collision with other transmission Aborts transmission and tries sending again Problem #1: cannot detect all collisions Hidden terminal problem Fading

CA: Collision Avoidance, Not Detec5on 29 Collision detec5on in wired Ethernet Sta5on listens while transmiong Detects collision with other transmission Aborts transmission and tries sending again Problem #1: cannot detect all collisions Hidden terminal problem Fading Problem #2: listening while sending Strength of received signal is much smaller Expensive to build hardware that detects collisions So, 802.11 does collision avoidance, not detec5on

30 Hidden Terminal Problem A B C A and C can t see each other, both send to B Occurs b/c 802.11 relies on physical carrier sensing, which is suscep5ble to hidden terminal problem

31 Virtual carrier sensing First exchange control frames before transmiong data Sender issues Request to Send (RTS), incl. length of data Receiver responds with Clear to Send (CTS) If sender sees CTS, transmits data (of specified length) If other node sees CTS, will idle for specified period If other node sees RTS but not CTS, free to send

32 Hidden Terminal Problem A B C A and C can t see each other, both send to B RTS/CTS can help Both A and C would send RTS that B would see first B only responds with one CTS (say, echo ing A s RTS) C detects that CTS doesn t match and won t send

33 Exposed Terminal Problem A B C D B sending to A, C wants to send to D As C receives B s packets, carrier sense would prevent it from sending to D, even though wouldn t interfere RTS/CTS can help C hears RTS from B, but not CTS from A C knows it s transmission will not interfere with A C is safe to transmit to D

34 Impact on Higher Layer Protocols Wireless and mobility change path proper5es Wireless: higher packet loss, not from conges5on Mobility: transient disrup5ons, and changes in RTT Logically, impact should be minimal Best effort service model remains unchanged TCP and UDP can (and do) run over wireless, mobile But, performance definitely is affected TCP treats packet loss as a sign of conges5on TCP tries to es5mate the RTT to drive retransmissions TCP does not perform well under out of order packets Internet not designed with these issues in mind

35 Conclusions Wireless Already a major way people connect to the Internet Gradually becoming more than just an access network Mobility (not discussed) Today s users tolerate disrup5ons as they move and applica5ons try to hide the effects Tomorrow s users expect seamless mobility Challenges the design of network protocols Wireless breaks the abstrac5on of a link, and the assump5on that packet loss implies conges5on Mobility breaks associa5on of address and loca5on Higher layer protocols don t perform as well