Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Similar documents
Last Lecture: Data Link Layer

Wireless Networks. Wireless Links. Mike Freedman hap:// Interference / bit errors

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

CPSC 826 Internetworking. Wireless and Mobile Networks. Wireless Networks Wireless Hosts

CSCI-1680 Wireless Chen Avin

Wireless and Mobile Networks

ECE 4450:427/527 - Computer Networks Spring 2017

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

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

Wireless and Mobile Networks 7-2

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

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

Chapter 6 Wireless and Mobile Networks

Wireless Security Background

CSC 4900 Computer Networks: Wireless Networks

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

Mohammad Hossein Manshaei 1393

Module 6: Wireless Mobile Networks

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

Home Area Networks. Outline

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

Wireless Network and Mobility

Mobile and Sensor Systems

CSC 8560 Computer Networks: Wireless and Mobility

COMP 3331/9331: Computer Networks and Applications

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

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network.

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

Medium Access Control

Multiple Access in Cellular and Systems

CS 332 Computer Networks Wireless Networks

COMP 3331/9331: Computer Networks and Applications

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

M06:Wireless and Mobile Networks. Corinna Schmitt

Computer Networks, Andrew Tannenbaum, Chapter 5.6. Computer Networking: A Top Down Approach Featuring the

Announcements: ECE/CS 372 introduction to computer networks. Assign 4 is due this Thursday Lab 4 is due next Tuesday Assignment 5 posted soon

Announcements: ECE/CS 372 introduction to computer networks. Assignment 4 due now. Chapter 7

UNIT II NETWORKING

Elements of a wireless network. Elements of a wireless network. Characteristics of selected wireless link standards. Elements of a wireless network

No lecture on Thurs. Last homework will be out this week (not due, covers wireless) Extra office hours for next week and the week after.

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Chapter 5 Wireless and Mobile Networks

Mobile devices for wireless

Elements of a wireless network. Elements of a wireless network. Some wireless link standards. Elements of a wireless network

Chapter 6 Wireless and Mobile Networks

Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

Chapter 6 Wireless and Mobile Networks

CSC 401 Data and Computer Communications Networks

MULTIPLE ACCESS PROTOCOLS 2. 1

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

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

CSC 4900 Computer Networks: Mobility

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

CSCD 433/533 Advanced Networking

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

Bluetooth. 3.3 Latest Technology in Wireless Network. What is BLUETOOTH: Bluetooth 2/17/2016

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Wireless Internet Routing. Review of Wireless Networking (with Routing in Mind)

Link Layer. 5.1 Introduction and services 5.2 Error detection and correction 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach. Andrei Gurtov

Chapter 6 Wireless and Mobile Networks

Mobility: vocabulary

Chapter 6 Wireless and Mobile Networks

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Lecture 15 Wireless and Mobility

Wireless and Mobile Networks

Mobility. Why (and How) Things Move. MulT- Homing. Physical Mobility. MigraTon. Failover. Jennifer Rexford COS 461: Computer Networks

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Chapter 3: Wireless and Mobile Networks

MSIT 413: Wireless Technologies Week 8

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Chapter 6 Wireless and Mobile Networks

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

Already finished all layers in the stack, why a separate chapter for wireless and mobile networks?

Links. CS125 - mylinks 1 1/22/14

Chapter 7. Wireless and Mobile Networks 7-1

Wireless LANs. ITS 413 Internet Technologies and Applications

Chapter 6 Wireless and Mobile Networks (Wireless and Mobility)

Chapter 6 Wireless and Mobile Networks

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

Addressing: when mobile is moving around. Mobile Registration. Principles of Mobile Routing. Mobility via Indirect Routing

Wireless networks. Wireless Network Taxonomy

CSCI-1680 Wireless Rodrigo Fonseca

CMPE 257: Wireless and Mobile Networking

Chapter 4 roadmap. CS555, Spring /14/2005. WMU-CS, Dr. Gupta 1. Multicast Routing: Problem Statement. Approaches for building mcast trees

CEN 538 Wireless LAN & MAN Networks

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

Last time?! MPLS! Label distribution protocols! Multi Protocol Label Switching! Layer 2.5 protocol! LDP! RSVP!

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter Lecture 4: Wireless LANs and IEEE Part II

Network+ Guide to Networks 6 th Edition. Chapter 8 Wireless Networking

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

Internet Services & Protocols. Mobile and Wireless Networks

(Wireless) Internet Routing. Review of Wireless Networking (with Routing in Mind)

Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks

Transcription:

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5 Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer Rexford at Princeton University. When slides are obtained from other sources, a reference will be noted on the bottom of that slide and full reference details on the last slide. 1

Goals of Todayʼs Lecture Wireless links: unique channel characteristics High, time-varying bit-error rate Broadcast where some nodes can t hear each other Mobile hosts: addressing and routing challenges Keeping track of the host s changing attachment point Maintaining a data transfer as the host moves Some specific examples Wireless: 802.11 wireless LAN (aka WiFi ) Mobility: Boeing Connexion and Mobile IP Many slides adapted from Jim Kuroseʼs lectures at UMass-Amherst 2

Widespread Deployment Worldwide cellular subscribers 1993: 34 million 2005: more than 2 billion Now more than landline subscribers Wireless local area networks Wireless adapters built in to most laptops, and even PDAs More than 220,000 known WiFi locations 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 Attenuates as it passes through matter 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 Electromagnetic noise (e.g., microwave oven) 6

Wireless Links: High Bit Error Rate Multi-path propagation Electromagnetic 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 congestion Wireless: higher, time-varying bit-error rate Dealing with high bit-error rates Sender could increase transmission power Requires more energy (bad for battery-powered hosts) Creates more interference with other senders Stronger error detection and recovery More powerful error detection codes Link-layer retransmission of corrupted frames 8

Wireless Links: Broadcast Limitations 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 Limitations 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 space 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. 10

Example Wireless Link Technologies Data networks Indoor (10-90 meters) 802.11a and g: 54 Mbps 802.11b: 5-11 Mbps Outdoor (300 meters to 20 kmeters) 802.11 n: 600 Mbps WiMax: 144/35 (D/U) Mbps Cellular networks, outdoors 3G enhanced: 4 Mbps 3G: 384 Kbps 2G: 56 Kbps 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 Station 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 station Traditional services provided by the connected network E.g., address assignment, routing, and DNS resolution 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 communication Peer-to-peer communication 18

Different Types of Wireless Networks Infrastructure-based Single hop Base station connected to larger wired network (e.g., WiFi wireless LAN, and cellular telephony networks) Multi-hop Base station exists, but some nodes must relay through other nodes (e.g., wireless sensor networks, and wireless mesh networks) Infrastructure-less No wired network; one node coordinates the transmissions of the others (e.g., Bluetooth, and ad hoc 802.11) No base station exists, and some nodes must relay through others (e.g., mobile ad hoc networks, like vehicular ad hoc networks) 19

WiFi: 802.11 Wireless LANs 20

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

Channels and Association Multiple 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 Association response from AP 22

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

CSMA: Carrier Sense, Multiple Access Multiple access: channel is shared medium Station: wireless host or access point Multiple stations may want to transmit at same time Carrier sense: sense channel before sending Station doesn t send when channel is busy To prevent collisions with ongoing transfers But, detecting ongoing transfers isn t always possible C A B C A B A s signal strength C s signal strength space 24

CA: Collision Avoidance, Not Detection Collision detection in wired Ethernet Station listens while transmitting 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 not do collision detection 25

Medium Access Control in 802.11 Collision avoidance, not detection Once a station starts transmitting, send in its entirety More aggressive collision-avoidance techniques E.g., waiting a little after sensing an idle channel To reduce likelihood two stations transmit at once Link-layer acknowledgment and retransmission CRC to detect errors Receiving station sends an acknowledgment Sending station retransmits if no ACK is received Giving up after a few failed transmissions 26

Host Mobility 27

Varying Degrees of User Mobility Moves only within same access network Single access point: mobility is irrelevant Multiple access points: only link-link layer changes Either way, users is not mobile at the network layer Shuts down between changes access networks Host gets new IP address at the new access network No need to support any ongoing transfers Applications have become good at supporting this Maintains connections while changing networks Surfing the net while driving in a car or flying a plane Need to ensure traffic continues to reach the host 28

Maintaining Ongoing Transfers Seamless transmission to a mobile host A B 29

E.g., Keep Track of Friends on the Move Sending a letter to a friend who moves often How do you know where to reach him? Option #1: have him update you Friend contacts you on each move So you can mail him directly E.g., Boeing Connexion service Option #2: ask his parents when needed Parents serve as permanent address So they can forward your letter to him E.g., Mobile IP 30

Option #1: Let Routing Protocol Handle It Mobile node has a single, persistent address Address injected into routing protocol (e.g., OSPF) A 12.34.45.0/24 B 12.34.45.7/32 Mobile host with IP address 12.34.45.7 31

Example: Boeing Connexion Service Boeing Connexion service Mobile Internet access provider WiFi hot spot at 35,000 feet moving 600 mph Went out of business in December 2006 Communication technology Antenna on the plane to leased satellite transponders Ground stations serve as Internet gateways Using BGP for mobility IP address block per airplane Ground station advertises into BGP 32

Example: Boeing Connexion Service 12.78.3.0/24 Internet 33

Summary: Letting Routing Handle It Advantages No changes to the end host Traffic follows an efficient path to new location Disadvantages Does not scale to large number of mobile hosts Large number of routing-protocol messages Larger routing tables to store smaller address blocks Alternative Mobile IP 34

Option #2: Home Network and Home Agent Home network: permanent home of mobile (e.g., 128.119.40/24) Home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote Permanent address: address in home network, can always be used to reach mobile e.g., 128.119.40.186 wide area network correspondent Correspondent: wants to communicate with mobile 35

Visited Network and Care-of Address Permanent address: remains constant (e.g., 128.119.40.186) Visited network: network in which mobile currently resides (e.g., 79.129.13/24) Care-of-address: address in visited network. (e.g., 79,129.13.2) wide area network Correspondent: wants to communicate with mobile Foreign agent: entity in visited network that performs mobility functions on behalf of mobile. 36

Mobility: Registration home network visited network 2 wide area network foreign agent contacts home agent home: this mobile is resident in my network 1 mobile contacts foreign agent on entering visited network Foreign agent knows about mobile Home agent knows location of mobile 37

Mobility via Indirect Routing home network correspondent addresses packets using home address of mobile home agent intercepts packets, forwards to foreign agent 1 wide area network 2 foreign agent receives packets, forwards to mobile 4 3 visited network mobile replies directly to correspondent 38

Indirect Routing: Efficiency Issues Mobile uses two addresses Permanent address: used by correspondent (making mobile s location is transparent to correspondent) Care-of-address: used by the home agent to forward datagrams to the mobile Mobile may perform the foreign agent functions Triangle routing is inefficient E.g., correspondent and mobile in the same network 39

Mobility via Direct Routing correspondent forwards to foreign agent foreign agent receives packets, forwards to mobile visited network home network 4 wide area 2 network 3 correspondent requests, receives foreign address of mobile 1 4 mobile replies directly to correspondent No longer transparent to the correspondent 40

Mobility Today Limited support for mobility E.g., among base stations on a campus Applications increasingly robust under mobility Robust to changes in IP address, and disconnections E.g., e-mail client contacting the e-mail server and allowing reading/writing while disconnected Increasing demand for seamless IP mobility E.g., continue a VoIP call while on the train Increasing integration of WiFi and cellular E.g., dual-mode cell phones that can use both networks Called Unlicensed Mobile Access (UMA) 41

Impact on Higher-Layer Protocols Wireless and mobility change path properties Wireless: higher packet loss, not from congestion Mobility: transient disruptions, 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 congestion TCP tries to estimate the RTT to drive retransmissions TCP does not perform well under out-of-order packets Internet not designed with these issues in mind 42

Conclusions Wireless Already a major way people connect to the Internet Gradually becoming more than just an access network Mobility Today s users tolerate disruptions as they move and applications try to hide the effects Tomorrow s users expect seamless mobility Challenges the design of network protocols Wireless breaks the abstraction of a link, and the assumption that packet loss implies congestion Mobility breaks association of address and location Higher-layer protocols don t perform as well 43