1 Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5 COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in COS 105) Jennifer Rexford Teaching.

Slides:



Advertisements
Similar presentations
1 Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Jennifer Rexford Teaching.
Advertisements

Mobility Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring
Wireless, Mobile Networks – Mobility. Wireless, Mobile Networks6-2 Mobility: Vocabulary home network: permanent “home” of mobile (e.g., /24)
Cellular and Mobile Wireless Networks (part 2) Advanced Computer Networks.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks A note on the use of these ppt slides: We’re making these slides freely available.
Overview r Ethernet r Hubs, bridges, and switches r Wireless links and LANs.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in COS 105) Mike Freedman Teaching Assistants:
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Mike Freedman
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Wireless Networks Reading: Section 2.8 COS 461: Computer Networks Spring 2011 Mike Freedman
6: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
CPSC 441: Wireless1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 hours.
6: Wireless and Mobile Networks6-1 Data Communication and Networks Lecture 5 Wireless Networks October 5, 2006.
6: Wireless and Mobile Networks Wireless LANs.
COS 461: Computer Networks
6/2/05CS118/Spring051 Chapter 6: Wireless and Mobile Networks r Cover the following sections only:  6.3: wireless LANs  6.5: mobility management:
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
1 Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 12, 2007 Acknowledgement:
Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Wednesday March 14, 2007 Acknowledgement:
Wireless Networks COS 461: Computer Networks Spring 2013 Mike Freedman 1.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on.
Chapter 6 Wireless and Mobile Networks Link Layer5-1 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Chapter6_1.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
6-1 Chapter 6 outline Introduction Wireless r Wireless links, characteristics r IEEE wireless LANs (“wi-fi”) Mobility r Principles: addressing and.
Computer networks 6: Wireless and Mobile Networks.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
CS 372 – introduction to computer networks* Announcements: r Final exam on Friday  The materials after chapters 1,2  Emphasis on the material covered.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
ECE 4450:427/527 - Computer Networks Spring 2015
Lecture 1 Wireless Networks CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F.
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Lecture 9 Advance Topics in Networking Host Mobility,
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
Wireless Access avoid collisions: 2 + nodes transmitting at same time CSMA - sense before transmitting –don’t collide with ongoing transmission by other.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
Wireless Networks Mike Freedman COS 461: Computer Networks 1.
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
Network Layer4-1 Today Collect homework New homework: Ch4 #16,19,21-24,26,27,29,31 (half graded, as usual) Due Wednesday Oct 15 in class Final programming.
OVERVIEW Lecture 3 Wireless Networks (2). Lecture 3: Wireless Networks 2 CDMA: two-sender interference.
6: Wireless and Mobile Networks6-1 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless.
Accommodating mobility with direct routing
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
Spring 2006 CPE :Wireless and Mobile Networks I 1 Special Topics in Computer Engineering Wireless and Mobile Networks: I Some of these Slides are.
6: Wireless and Mobile Networks6-1 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless.
6-1 Chapter 6 Wireless and Mobile Networks All material copyright J.F Kurose and K.W. Ross, All Rights Reserved.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
6-1 Last time □ Ethernet ♦ frame structure ♦ CSMA/CD algorithm □ Hubs ♦ physical-layer repeaters ♦ make one large collision domain □ Switches ♦ link-layer.
CPE 401/601 Computer Network Systems
Chapter 6 Wireless and Mobile Networks
Wireless LANs Wireless proliferating rapidly.
CS 457 – Lecture 7 Wireless Networks
컴퓨터 네트워크 Chapter 4 컴퓨터 네트워크.
Wireless LANs CS 352, Lecture 16
Presentation transcript:

1 Wireless and Mobile Networks Reading: Sections 2.8 and COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in COS 105) Jennifer Rexford Teaching Assistants: Sunghwan Ihm and Yaping Zhu

2 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: wireless LAN (aka “WiFi”) –Mobility: Boeing Connexion and Mobile IP Many slides adapted from Jim Kurose’s lectures at UMass-Amherst

3 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, …)

4 Wireless Links and Wireless Networks

5 Wireless Links: High Bit Error Rate Decreasing signal strength –Disperses as it travels greater distance –Attenuates as it passes through matter

6 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 b wireless LAN –Electromagnetic noise (e.g., microwave oven)

7 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

8 Dealing With Bit Errors Wireless vs. wired links –Wired: most loss is due to congestion –Wireless: higher, time-varying bit-error ate 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

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: hidden terminal problem A B C 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 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.

11 Example Wireless Link Technologies Data networks –Indoor (10-30 meters)  n: 200 Mbps  a and g: 54 Mbps  b: 5-11 Mbps  : 1 Mbps –Outdoor (50 meters to 20 kmeters)  and g point-to-point: 54 Mbps  WiMax: 5-11 Mbps Cellular networks, outdoors –3G enhanced: 4 Mbps –3G: 384 Kbps –2G: 56 Kbps

12 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

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

14 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, access points

15 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

16 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

17 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

18 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

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

20 WiFi: Wireless LANs

LAN Architecture 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 an “network name” known as an SSID BSS 1 BSS 2 Internet hub, switch or router AP SSID: Service Set Identifier

22 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

23 hub or switch AP 2 AP 1 H1 BBS 2 BBS 1 router 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 Changes APs with same SSID –H1 disassociates from one –And associates with other Switch learns new location –Self-learning mechanism

24 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 A B C A B C A’s signal strength space C’s signal strength

25 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, does not do collision detection

26 Medium Access Control in 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

27 Host Mobility

28 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

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

30 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

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

32 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 –

33 Example: Boeing Connexion Service Internet /24

34 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

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

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

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

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

39 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

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

41 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., client contacting the server –… and allowing reading/writing while disconnected –New Google Gears for offline Web applications 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)

42 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

43 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