Schedule for Today : Wireless Networks Lecture 2: Wireless Networking Challenges. Motivation: Many many Network Components. What is a Protocol

Similar documents
Announcements. Lecture 2: Wireless Networking Challenges. Motivation: Many many Network Components. Schedule for Today. Page 1

Announcements Computer Networking. What is the Objective of the Internet? Today s Lecture

Lecture 3 Protocol Stacks and Layering

416 Distributed Systems. Networks review; Day 1 of 2 Jan 5 + 8, 2018

Outline / Wireless Networks and Applications Lecture 1: Course Organization and Overview. Goals of the Course. Lectures.

Page # Last Time. Lecture 2 Protocol Stacks and Layering. Today s Lecture. Why protocols and layering? What is a Protocol.

Network Simulators, Emulators and Testbeds

Lecture 2 Protocol Stacks. Last Tuesday

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

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

Introduction to Networks

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

15-441: Computer Networking. Wireless Networking

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Wireless Networks (CSC-7602) Lecture 1 (27 Aug 2007)

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Outline / Wireless Networks and Applications Lecture 1: Course Organization and Overview. Goals of the Course. Lectures.

Introduction to computer networking

Principles behind data link layer services:

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

ITEC 3800 Data Communication and Network. Introducing Networks

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 7

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

ECE 4450:427/527 - Computer Networks Spring 2017

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

CSE 123A Computer Networks

Principles behind data link layer services:

Principles behind data link layer services:

ก ก Information Technology II

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

Principles behind data link layer services

Last Lecture: Data Link Layer

CS3600 SYSTEMS AND NETWORKS

Links. CS125 - mylinks 1 1/22/14

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Chapter 5: Link layer

ECE 650 Systems Programming & Engineering. Spring 2018

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Networking Applications

Data Communication and Network. Introducing Networks

Lecture 15 Networking Fundamentals. Today s Plan

Communication Networks

2. A collection of interconnected networks is called an internetwork. 3. Each machine is connected to a central hub with a point-to-point connection.

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Chapter 6 The Link Layer and LANs

CS 455/555 Intro to Networks and Communications. Link Layer

CS 428/528 Computer Networks Lecture 01. Yan Wang

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

CS61C : Machine Structures

Data Link Layer: Multi Access Protocols

The Link Layer and LANs. Chapter 6: Link layer and LANs

Link Layer and LANs. CMPS 4750/6750: Computer Networks

CSCI Computer Networks

Medium Access Control

Mobile and Sensor Systems

Chapter 16 Networking

CS 268: Internet Architecture & E2E Arguments. Today s Agenda. Scott Shenker and Ion Stoica (Fall, 2010) Design goals.

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless

Link Layer and Ethernet

Link Layer and Ethernet

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Overview of Networks

Chapter 1. Uses of Computer Networks Network Hardware Network Software Reference Models Example Networks Network Standardization. Revised: August 2011

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

CEN 538 Wireless LAN & MAN Networks

Communicating over the Network

Network Model. Why a Layered Model? All People Seem To Need Data Processing

end systems, access networks, links 1.3 network core

CS4700/CS5700 Fundaments of Computer Networks

Network Connectivity and Mobility

EECS 228a Lecture 1 Overview: Networks. Jean Walrand

COMS Introduction to Computers. Networking

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

Outline: Connecting Many Computers

1: Review Of Semester Provide an overview of encapsulation.

Raj Jain. The Ohio State University Columbus, OH

ELC 537 Communication Networks

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

Chapter 1: Introduction

Network Architecture

Outline. A Professional Company in Software-Defined Networking (SDN) Copyright , EstiNet Technologies Inc. All Rights Reserved..

Wireless Security Background

Chapter 5 Link Layer and LANs

Hands-On Network Security: Practical Tools & Methods

Lecture 20: Link Layer

Chapter -4 OSI Reference Model

Mohammad Hossein Manshaei 1393

Page 1. Goals for Today" What Is A Protocol?" CS162 Operating Systems and Systems Programming Lecture 10. Protocols, Layering and e2e Argument"

Lecture 2: Internet Architecture

Internet Structure. network edge:

Transcription:

Schedule for Today 18-759: Wireless Networks Lecture 2: Wireless Networking Challenges Peter Steenkiste Departments of Computer Science and Electrical and Computer Engineering Spring Semester 2016 http://www.cs.cmu.edu/~prs/wirelesss16/ Peter A. Steenkiste 1 The OSI model Challenges in Wireless Networking Evaluation techniques Please ask questions! Peter A. Steenkiste 2 Motivation: Many many Network Components What is a Protocol Computer Operating System Protocol Software Links Router Hardware Router Software (many protocols) Bridge HW/SW Operating System Network Interface Computer Peter A. Steenkiste 3 An agreement between parties on how communication should take place. Protocols may have to define many aspects of the communication. Syntax:» Data encoding, language, etc. Semantics:» Error handling, termination, ordering of requests, etc. Protocols at hardware, software, all levels! Example: Buying airline ticket by typing. Syntax: English, ascii, lines delimited by \n Friendly greeting Muttered reply Destination? Pittsburgh Thank you Peter A. Steenkiste 4 Page 1

Do We Only Need Protocols? Solution #1 Need to also deal with» Many, many pieces of functionality» Complexity» Many parties involved» Very long life time Key is modularity» Natural solution to deal with complexity» Independent parties can develop components that will interoperate» Different pieces of the system can evolve independently, at a different pace Need well-defined interfaces TCP Tw. Pair Web FTP Wireless HTTP UDP Voice The Network Coax Optical Telnet DNS Peter A. Steenkiste 5 6 Peter A. Steenkiste 6 Solution #2? Solution #3 Web FTP Telnet Voice Video Web FTP Telnet Voice Tw. Pair Coax Optical Wireless Intermediate Layer Tw. Pair Coax Optical Wireless 7 Peter A. Steenkiste 7 8 Peter A. Steenkiste 8 Page 2

Let Us Try Again, a Bit More Systematically Protocol and Service Levels Two or more hosts talk over a wire Hosts talk in a homogeneous network (administratively, technology) Hosts talk across heterogeneous networks We run some applications over that Inter-network Core Networks Peter A. Steenkiste 9 Can further split up the layers: : generic versus application-specific functionality Core: wires versus data delivery Peter A. Steenkiste 10 Interfaces Networking 101 Layer Network Model Each protocol offers an interface to its users, and expects one from the layers on which it builds» Syntax and semantics strike again Data formats Interface characteristics, e.g. IP service model Protocols build upon each other» Add value E.g., a reliable protocol running on top of IP» Reuse E.g., OS provides TCP, so apps don t have to rewrite The Open Systems Interconnection (OSI) Model. 7 6 5 4 3 2 1 Presentation Session Transport Network Data link Physical Network Data link Physical Presentation Session Transport Network Data link Physical Peter A. Steenkiste 11 Peter A. Steenkiste 12 Page 3

OSI Motivation OSI Functions Standard approach of breaking up a system in a set of components, but the components are organized as a set of layers.» Only horizontal and vertical communication» Components/layers can be implemented and modified in isolation Each layer offers a service to the higher layer, using the services of the lower layer. Peer layers on different systems communicate via a protocol.» higher level protocols (e.g. TCP/IP, Appletalk) can run on multiple lower layers» multiple higher level protocols can share a single physical network (1) Physical: transmission of a bit stream. (2) Data link: flow control, framing, error detection. (3) Network: switching and routing. (4) Transport: reliable end to end delivery. (5) Session: managing logical connections. (6) Presentation: data transformations. (7) : specific uses, e.g. mail, file transfer, telnet, network management. Peter A. Steenkiste 13 Peter A. Steenkiste 14 Example: Sending a Web Page A TCP / IP / 802.11 Packet Preamble Http hdr TCP header Web page payload... Presentation Session Transport Network Data link Physical Presentation Session Transport Network Data link Physical MAC header LLC / SNAP header IP header TCP header Data Peter A. Steenkiste 15 Peter A. Steenkiste 16 Page 4

Multiplexing and Demultiplexing Benefits of Layered Architecture There may be multiple implementations of each layer.» How does the receiver know what version of a layer to use? Each header includes a demultiplexing field that is used to identify the next layer.» Filled in by the sender» Used by the receiver Multiplexing occurs at multiple layers.» E.g., IP, TCP, TCP TCP IP IP V/HL TOS Length ID Flags/Offset TTL Prot. H. Checksum Source IP address Destination IP address Options.. Significantly reduces the complexity of maintaining the system.» Effort is 7 x N instead of N 7 for N versions per layer The implementation of a layer can be replaced easily as long as its interfaces are respected» Does not impact the other components in the system» Different implementation versus different protocols In practice: most significant evolution and diversity at the top and bottom:» s: web, peer-to-peer, video streaming,..» Physical layers: optical, wireless, new types of copper True For Wireless? Peter A. Steenkiste 17 Peter A. Steenkiste 18 The IP Hourglass Physical Layer Overview http://www.iab.org/docume nts/docs/hourglass-londonietf.pdf Peter A. Steenkiste 19 Optical fiber: very high bandwidth but relatively expensive» Multi-mode fiber for campus deployments» Single-mode fiber for long distances Copper wires: good performance for shorter distances» Coax has high capacity but bulky and expensive» Twisted pair is cheap but has lower capacity Wireless: lowest capacity, very diverse, most difficult technology» Performance of a wireless link is determined by the physical world (buildings, object, people, other RF, )» Inter-planetary.. satellite.. WAN.. MAN.. LAN.. PAN» Capacity can be increased but gets expensive Peter A. Steenkiste 20 Page 5

Schedule for Today Why Use Wireless? The OSI model Challenges in Wireless Networking Evaluation techniques There are no wires! Has several significant advantages: No need to install and maintain wires» Reduces cost important in offices, hotels,» Simplifies deployment important in homes, hotspots, Supports mobile users» Move around office, campus, city, - users get hooked» Remote control devices (TV, garage door,..)» Cordless phones, cell phones,..» WiFi, GPRS, WiMax, Peter A. Steenkiste 21 Peter A. Steenkiste 22 What is Hard about Wireless? There are no wires! In wired networks links are constant, reliable and physically isolated In wireless networks links are variable, errorprone and share the ether with each other and other external, uncontrolled sources Attenuation and Errors In wired networks error rate 10^(-10) Wireless networks are far from that target Signal attenuates with distance and is affected by noise Probability of a successful reception depends on SINR = S/I+N Modulation and coding schemes introduce redundancy to allow for decoding Peter A. Steenkiste 23 Peter A. Steenkiste 24 Page 6

Throughput vs. distance (WiMAX) The Adversity of the Wireless Medium Previous hold for line of sight transmissions» Attenuation dominates, e.g. in outer space In the presence of reflectors signal may experience multipath fading» Slow fading when a large obstruction such as a hill or a large building obscures the main signal path» Fast fading that could be taken advantage of using error correcting codes and time diversity Very hard to predict what the signal strength will be at a given location models exist for indoors and outdoors spaces (PHY lectures) http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=04526126 Peter A. Steenkiste 25 Peter A. Steenkiste 26 Wireless is a shared medium Interference Transmitters broadcast Devices can operate either in transmit or receive mode How do you coordinate access to the medium? Noise is naturally present in the environment from many sources. Interference can be from other users or from natural or malicious sources. Impacts the throughput users can achieve. Jurg Peter A. Steenkiste 27 Peter A. Steenkiste 28 Page 7

Medium Access Control Wireless Losses Main goal: avoid collisions while making efficient use of the medium» Collision = simultaneous transmissions nearby using the same frequency, resulting in packet loss Different transmitters/receivers use:» Different frequencies (FDMA Frequency Division Multiple Access)» Different time slots (TDMA Time Division Multiple Access)» Different points in space more on this later» Different codes (CDMA Code Division Multiple Access)» Randomly access the medium (e.g., CSMA/CD Carrier Sense Multiple Access/Collision Detection) Can be due to:» Signal errors that lead to a packet that cannot be decoded» OR» Corruption of the transmitted information due to collisions, SINR=S/(N+I) too low Understanding the reason behind a loss requires cross-layer information.» Is it PHY?» Or MAC-related? Information required by more than one layers. Peter A. Steenkiste 29 Peter A. Steenkiste 30 How Do We Increase Network Capacity? Cellular architecture Easy to do in wired networks: simply add wires.» Fiber is especially attractive Adding wireless links increases interference.» Frequency reuse can help subject to spatial limitations» Or use different frequencies subject to frequency limitations The capacity of the wireless network is fundamentally limited. Deployment comprising cells can reuse frequencies in different areas» Non-adjacent Challenge to provide consistent service even at the edge of the cell be able to deal with intensity given the capacity of the cell Peter A. Steenkiste 31 Peter A. Steenkiste 32 Page 8

WiFi architecture Mobility Affects the Link Throughput Could be chaotic or managed Limited spectrum service guarantees hard to make Channel assignment, power control Quality of the transmission depends on distance and other factors.» Covered later in the course Affects the throughput mobile users achieve. Worst case is periods with no connectivity! Peter A. Steenkiste 33 Peter A. Steenkiste 34 Mobility is an Issue even for Stationary Users And It Gets Worse Mobile people and devices affect the transmission channel of stationary nodes. The impact of mobility on transmission can be complex.» Multi-path effects more on this later Mobility also affects addressing and routing. Peter A. Steenkiste 35 Jurg Peter A. Steenkiste 36 Page 9

Back to the s How Well Does the Layered Architecture Work for Wireless? WiFi applications:» GoogleWifi: provide sufficient coverage given that installation is on light posts ensure adequate quality» Meraki: ensure mesh works and there is enough coverage to connect more customers at appropriate levels of quality» Developing regions: Make WiFi work across links that cover Kms changes in the MAC» Home security: Ensure that interference will not adversely impact readings» Vehicle-to-vehicle: deal with fast moving vehicles, ensure that information is propagated to the relevant region Key challenges tend to be different for various application domains, but almost all challenges must be considered everywhere Peter A. Steenkiste 37 Works pretty well:» We all use WiFi and it usually works well» Our cell phones usually work But getting it to work is a lot more work than for a wired network!» PHY layer impacts other layers in the stack And a lot of solutions are kind of ugly! Some example Peter A. Steenkiste 38 Examples Schedule for Today How do you multiplex at the physical layer?» Not an issue for wired communication! Physical layer solutions to deal with signal propagation challenges» Use of redundancy, rate adaptation, dealing with multipath, etc. MAC layer solutions to deal with challenges» ACKs and retransmissions, hidden terminals, etc. Higher layer challenges» TCP congestion control issues, highly variable bandwidth links, dealing with disconnected operation» IP address used by applications as an identifier The OSI model Challenges in Wireless Networking Evaluation techniques Peter A. Steenkiste 39 Peter A. Steenkiste 40 Page 10

Evaluation: Challenges and Tradeoffs Why these Differences? Wireless testbeds are hard to manage» Interference, production networks, control node movement,.. Wireless network research has largely been simulation based» Questionable accuracy» Difficult to evaluate real hardware and applications Simulator Control & Repeatability Emulator Testbed Realism Networking Stack MAC Firmware PHY Reality s OS Networking Stack Host Device Wireless Device Simulation ~ ~ Physical Emulation Emulator provides an attractive middle ground between simulation and testbeds Peter A. Steenkiste 41 Antenna Signal Propagation Gives Control Peter A. Steenkiste 42 Emulator Architecture Simulation Accuracy Several papers show major differences in results for wireless experiments on different simulators, or compared with the real world» E.g., Experimental evaluation of wireless simulation assumptions. David Kotz, Calvin Newport, Robert S. Gray, Jason Liu, Yougu Yuan, and Chip Elliott. Technical Report TR2004-507, Dept. of Computer Science, Dartmouth College, June, 2004. Shows that standalone simulations are not enough» OPNET, NS-2, GloMoSim» NS-3 is already much more realistic Hybrid approach of simulation and real testbed is more appropriate Peter A. Steenkiste 43 Peter A. Steenkiste 44 Page 11

Example of Result More Examples Proofs used for criticism: Peter A. Steenkiste 45 Peter A. Steenkiste 46 Very Naïve Model Some Improvements A radio s transmission area is circular All radios have equal range If I can hear you, you can hear me (symmetry) If I can hear you at all, I can hear you perfectly Signal strength is a simple function of distance The world is flat Sometimes OK when explaining concepts, but not for serious work (or learning) Two ray ground model» Still very simple too static and regular Models that include a grey region» Packet delivery rate still depends on distance» But model includes a region where PDR is probabilistic» Possible to fit to different environments Modeling of interference» Very relevant for both PHY and MAC layer effects Advanced models also model fading, impact of transmit rate, terrain factors, etc. Peter A. Steenkiste 47 Peter A. Steenkiste 48 Page 12

Testbeds Schedule for Today Fully realistic, but:» Hard to control and repeat experiments» Representative for one particular location A number of testbeds available over the internet» Emulab in Utah» Indoor and outdoor Orbit» Vehicular testbed at CMU» Or use a production network The OSI model Challenges in Wireless Networking Evaluation techniques Starting on Monday: the physical layer Peter A. Steenkiste 49 Peter A. Steenkiste 50 Page 13