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

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

15-441: Computer Networking. Wireless Networking

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

CE693: Adv. Computer Networking

Ethernet Switches Bridges on Steroids. Ethernet Switches. IEEE Wireless LAN. Ad Hoc Networks

Wireless Intro : Computer Networking. Wireless Challenges. Overview. TCP on wireless links Wireless MAC Assigned reading.

Wireless Network and Mobility

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

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

15-441: Computer Networking

Multiple Access in Cellular and Systems

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Last Lecture: Data Link Layer

ECE 4450:427/527 - Computer Networks Spring 2017

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

CMPE 257: Wireless and Mobile Networking

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

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

CSCI-1680 Wireless Chen Avin

Wireless and Mobile Networks 7-2

CSE 461: Wireless Networks

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

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

Hubs, Bridges, and Switches (oh my) Hubs

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

Data and Computer Communications. Chapter 13 Wireless LANs

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

CMPE 257: Wireless and Mobile Networking

Wireless LANs. ITS 413 Internet Technologies and Applications

Ethernet Switches (more)

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

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

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

Chapter 6 Wireless and Mobile Networks

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

Wireless MACs: MACAW/802.11

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

Module 6: Wireless Mobile Networks

CSC 4900 Computer Networks: Wireless Networks

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Local Area Networks NETW 901

CS 268: Wireless Transport Protocols. Kevin Lai Feb 13, 2002

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

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

Wireless Intro : Computer Networking. Wireless Challenges. Overview

CMPE 257: Wireless and Mobile Networking

Wireless Local Area Networks. Networks: Wireless LANs 1

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Link Layer: Retransmissions

Mobile and Sensor Systems

Chapter 6 Wireless and Mobile Networks. Csci 4211 David H.C. Du

ECS-087: Mobile Computing

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

Outline / Wireless Networks and Applications Lecture 9: Wireless LANs Aloha and 802 Wireless. Regular Ethernet CSMA/CD

Wireless LAN -Architecture

Wireless TCP Performance Issues

Wireless LANs. Wireless Network

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

Mohamed Khedr.

CIS 632 / EEC 687 Mobile Computing

CSE 123A Computer Netwrking

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Mohammad Hossein Manshaei 1393

CSE 123b Communications Software

Quick announcements. CSE 123b Communications Software. Today s issues. Last class. The Mobility Problem. Problems. Spring 2004

Wireless Communication and Networking CMPT 371

CS 515 Mobile and Wireless Networking Final Exam Fall

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.

ICE 1332/0715 Mobile Computing (Summer, 2008)

MSIT 413: Wireless Technologies Week 8

CS 332 Computer Networks Wireless Networks

Lecture 15 Networking Fundamentals. Today s Plan

MULTIPLE ACCESS PROTOCOLS 2. 1

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless Heterogeneity. EEC173B/ECS152C, Spring 09. Data Transport Over Wireless. Wireless Performance. Reliable Data Transport over Wireless Networks

CS 515 Mobile and Wireless Networking Final Exam Solutions Fall

COMP 3331/9331: Computer Networks and Applications

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

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

CSC 8560 Computer Networks: Wireless and Mobility

Multiple Access Links and Protocols

Sample solution to Midterm

CS263: Wireless Communications and Sensor Networks

Chapter 12 Multiple Access 12.1

Wireless and Mobile Networks

Wireless Communication and Networking CMPT 371

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003

CSE/EE 461 Wireless and Contention-Free Protocols

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

TRANSMISSION CONTROL PROTOCOL

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

Impact of transmission errors on TCP performance. Outline. Random Errors

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

MAC. Fall Data Communications II 1

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

02/21/08 TDC Branch Offices. Headquarters SOHO. Hot Spots. Home. Wireless LAN. Customer Sites. Convention Centers. Hotel

Links. CS125 - mylinks 1 1/22/14

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

Transcription:

Wireless Challenges 15-441: Computer Networking Lecture 25: Wireless Networking Force us to rethink many assumptions Need to share airwaves rather than wire Don t know what hosts are involved Host may not be using same link technology Mobility Other characteristics of wireless Noisy lots of losses Slow Interaction of multiple transmitters at receiver Collisions, capture, interference Multipath interference 12-01-05 Lecture 25: Wireless Networking 2 Overview Internet mobility TCP over noisy links Link layer challenges Routing to Mobile Nodes Obvious solution: have mobile nodes advertise route to mobile address/32 Should work!!! Why is this bad? Consider forwarding tables on backbone routers Would have an entry for each mobile host Not very scalable What are some possible solutions? 12-01-05 Lecture 25: Wireless Networking 3 12-01-05 Lecture 25: Wireless Networking 4 1

How to Handle Mobile Nodes? (Addressing) Dynamic Host Configuration (DHCP) Host gets new IP address in new locations Problems Host does not have constant name/address how do others contact host What happens to active transport connections? How to Handle Mobile Nodes? (Naming) Naming Use DHCP and update name-address mapping whenever host changes address Fixes contact problem but not broken transport connections 12-01-05 Lecture 25: Wireless Networking 5 12-01-05 Lecture 25: Wireless Networking 6 How to Handle Mobile Nodes? (Transport) TCP currently uses 4 tuple to describe connection <Src Addr, Src port, Dst addr, Dst port> Modify TCP to allow peer s address to be changed during connection Security issues Can someone easily hijack connection? Difficult deployment both ends must support mobility 12-01-05 Lecture 25: Wireless Networking 7 How to Handle Mobile Nodes? (Link Layer) Link layer mobility Learning bridges can handle mobility this is how it is handled at CMU Encapsulated PPP (PPTP) Have mobile host act like he is connected to original LAN Works for IP AND other network protocols 12-01-05 Lecture 25: Wireless Networking 8 2

How to Handle Mobile Nodes? (Routing) Allow mobile node to keep same address and name How do we deliver IP packets when the endpoint moves? Can t just have nodes advertise route to their address What about packets from the mobile host? Routing not a problem What source address on packet? this can cause problems Key design considerations Scale Incremental deployment Basic Solution to Mobile Routing Same as other problems in computer science Add a level of indirection Keep some part of the network informed about current location Need technique to route packets through this location (interception) Need to forward packets from this location to mobile host (delivery) 12-01-05 Lecture 25: Wireless Networking 9 12-01-05 Lecture 25: Wireless Networking 10 Interception Somewhere along normal forwarding path At source Any router along path Router to home network Machine on home network (masquerading as mobile host) Clever tricks to force packet to particular destination Mobile subnet assign mobiles a special address range and have special node advertise route Delivery Need to get packet to mobile s current location Tunnels Tunnel endpoint = current location Tunnel contents = original packets Source routing Loose source route through mobile current location 12-01-05 Lecture 25: Wireless Networking 11 12-01-05 Lecture 25: Wireless Networking 12 3

Mobile IP (RFC 2290) Mobile IP (MH at Home) Interception Typically home agent a host on home network Delivery Typically IP-in-IP tunneling Endpoint either temporary mobile address or foreign agent Terminology Mobile host (MH), correspondent host (CH), home agent (HA), foreign agent (FA) Care-of-address, home address Correspondent Host (CH) Mobile Host (MH) Home Internet Visiting Location Packet 12-01-05 Lecture 25: Wireless Networking 13 12-01-05 Lecture 25: Wireless Networking 14 Mobile IP (MH Moving) Mobile IP (MH Away FA) Correspondent Host (CH) Packet Correspondent Host (CH) Packet Mobile Host (MH) Internet Internet Home Visiting Location Home Visiting Location Home Agent (HA) I am here Mobile Host (MH) Home Agent (HA) Encapsulated Foreign Agent (FA) 12-01-05 Lecture 25: Wireless Networking 15 12-01-05 Lecture 25: Wireless Networking 16 4

Mobile IP (MH Away - Collocated) Other Mobile IP Issues Correspondent Host (CH) Home Agent (HA) Home Encapsulated Internet Mobile Host (MH) Visiting Location Packet 12-01-05 Lecture 25: Wireless Networking 17 Route optimality Resulting paths can be sub-optimal Can be improved with route optimization Unsolicited binding cache update to sender Authentication Registration messages Binding cache updates Must send updates across network Handoffs can be slow Problems with basic solution Triangle routing Reverse path check for security 12-01-05 Lecture 25: Wireless Networking 18 Overview Wireless Bit-Errors Internet mobility Router TCP over noisy links Computer 1 Loss Congestion 23 2 Computer 2 21 0 Link layer challenges Loss Congestion Burst losses lead to coarse-grained timeouts Result: Low throughput Wireless 12-01-05 Lecture 25: Wireless Networking 19 12-01-05 Lecture 25: Wireless Networking 20 5

TCP Problems Over Noisy Links Wireless links are inherently error-prone Fades, interference, attenuation Errors often happen in bursts TCP cannot distinguish between corruption and congestion TCP unnecessarily reduces window, resulting in low throughput and high latency Burst losses often result in timeouts Sender retransmission is the only option Inefficient use of bandwidth 12-01-05 Lecture 25: Wireless Networking 21 Performance Degradation Sequence number (bytes) 2.0E+06 1.5E+06 1.0E+06 5.0E+05 Best possible TCP with no errors (1.30 Mbps) 0.0E+00 0 10 20 30 40 50 60 Time (s) 2 MB wide-area TCP transfer over 2 Mbps Lucent WaveLAN 12-01-05 Lecture 25: Wireless Networking TCP Reno (280 Kbps) Proposed Solutions Incremental deployment Solution should not require modifications to fixed hosts If possible, avoid modifying mobile hosts End-to-end protocols Selective ACKs, Explicit loss notification Split-connection protocols Separate connections for wired path and wireless hop Reliable link-layer protocols Error-correcting codes Local retransmission Approach Styles (End-to-End) Improve TCP implementations Not incrementally deployable Improve loss recovery (SACK, NewReno) Help it identify congestion (ELN, ECN) ACKs include flag indicating wireless loss Trick TCP into doing right thing E.g. send extra dupacks Wired link Wireless link 12-01-05 Lecture 25: Wireless Networking 23 12-01-05 Lecture 25: Wireless Networking 24 6

Approach Styles (Link Layer) More aggressive local rexmit than TCP Bandwidth not wasted on wired links Possible adverse interactions with transport layer Interactions with TCP retransmission Large end-to-end round-trip time variation FEC does not work well with burst losses Overview Internet mobility TCP over noisy links Wired link Wireless link Link layer challenges ARQ/FEC 12-01-05 Lecture 25: Wireless Networking 25 12-01-05 Lecture 25: Wireless Networking 26 Cellular Reuse Transmissions decay over distance Spectrum can be reused in different areas Different LANs Decay is 1/R 2 in free space, 1/R 4 in some situations IEEE 802.11 Wireless LAN 802.11b 802.11a 2.4-2.5 GHz unlicensed 5-6 GHz range radio spectrum up to 54 Mbps up to 11 Mbps 802.11g direct sequence spread spectrum (DSSS) in 2.4-2.5 GHz range physical layer up to 54 Mbps all hosts use same All use CSMA/CA for chipping code multiple access widely deployed, using base All have base-station stations and ad-hoc network versions 12-01-05 Lecture 25: Wireless Networking 27 12-01-05 Lecture 25: Wireless Networking 28 7

IEEE 802.11 Wireless LAN Wireless host communicates with a base station Base station = access point (AP) Basic Service Set (BSS) (a.k.a. cell ) contains: Wireless hosts Access point (AP): base station BSS s combined to form distribution system (DS) Ad Hoc Networks Ad hoc network: IEEE 802.11 stations can dynamically form network without AP Applications: Laptops meeting in conference room, car Interconnection of personal devices 12-01-05 Lecture 25: Wireless Networking 29 12-01-05 Lecture 25: Wireless Networking 30 CSMA/CD Does Not Work Hidden Terminal Effect Collision detection problems Relevant contention at the receiver, not sender Hidden terminal Exposed terminal Hard to build a radio that can transmit and receive at same time Hidden A B C Exposed A B C D Hidden terminals: A, C cannot hear each other Obstacles, signal attenuation Collisions at B Collision if 2 or more nodes transmit at same time CSMA makes sense: Get all the bandwidth if you re the only one transmitting Shouldn t cause a collision if you sense another transmission Collision detection doesn t work CSMA/CA: CSMA with Collision Avoidance 12-01-05 Lecture 25: Wireless Networking 31 12-01-05 Lecture 25: Wireless Networking 32 8

IEEE 802.11 MAC Protocol: CSMA/CA 802.11 CSMA: sender - If sense channel idle for DISF (Distributed Inter Frame Space) then transmit entire frame (no collision detection) - If sense channel busy then binary backoff 802.11 CSMA receiver: - If received OK return ACK after SIFS (Short IFS) (ACK is needed due to hidden terminal problem) 12-01-05 Lecture 25: Wireless Networking 33 IEEE 802.11 MAC Protocol 802.11 CSMA Protocol: others NAV: Network Allocation Vector 802.11 frame has transmission time field Others (hearing data) defer access for NAV time units 12-01-05 Lecture 25: Wireless Networking 34 Collision Avoidance Mechanisms Problem: Two nodes, hidden from each other, transmit complete frames to base station Wasted bandwidth for long duration! Solution: Small reservation packets Nodes track reservation interval with internal network allocation vector (NAV) Collision Avoidance: RTS-CTS Exchange Explicit channel reservation Sender: send short RTS: request to send Receiver: reply with short CTS: clear to send CTS reserves channel for sender, notifying (possibly hidden) stations RTS and CTS short: collisions less likely, of shorter duration end result similar to collision detection Avoid hidden station collisions Not widely used/implemented Consider typical traffic patterns 12-01-05 Lecture 25: Wireless Networking 35 12-01-05 Lecture 25: Wireless Networking 36 9

Important Lessons Many assumptions built into Internet design Wireless forces reconsideration of issues Link-layer Spatial reuse (cellular) vs wires Hidden/exposed terminal CSMA/CA (why CA?) and RTS/CTS Network Mobile endpoints how to route with fixed identifier? Link layer, naming, addressing and routing solutions What are the +/- of each? Transport Losses can occur due to corruption as well as congestion Impact on TCP? How to fix this hide it from TCP or change TCP EXTRA SLIDES The rest of the slides are FYI 12-01-05 Lecture 25: Wireless Networking 37 Overview Adapting Applications to Slow Links Adapting Applications Applications make key assumptions Hardware variation E.g. how big is screen? Software variation E.g. is there a postscript decoder? Network variation E.g. how fast is the network? Reason why we are discussing in this class Basic idea distillation Transcode object to meet needs of mobile host 12-01-05 Lecture 25: Wireless Networking 39 12-01-05 Lecture 25: Wireless Networking 40 10

Transcoding Example Generate reduced quality variant of Web page at proxy Must predict how much size reduction will result from transcoding How long to transcode? Send appropriate reduced-size variant Target response time? 12-01-05 Lecture 25: Wireless Networking 41 Source Adaptation Can also just have source provide different versions Common solution today No waiting for transcoding Full version not sent across network Can t handle fine grain adaptation 12-01-05 Lecture 25: Wireless Networking 42 11