6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.

Slides:



Advertisements
Similar presentations
Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 19, 2007 Acknowledgement:
Advertisements

Wireless, Mobile Networks – Mobility. Wireless, Mobile Networks6-2 Mobility: Vocabulary home network: permanent “home” of mobile (e.g., /24)
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.
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.
6: Wireless and Mobile Networks6-1 EEE 459/591 Communication Networks Spring 2005 Prof. M. Reisslein Chapter 6 Wireless and Mobile Networks Textbook: Computer.
1 Wireless Networks ECS 152A Acknowledgement: slides from Kurose and Ross.
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 Mobility 6: Wireless and Mobile Networks.
20 - Mobility 6: Wireless and Mobile Networks.
Wireless and Mobile Networks1. 2 Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops,
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
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.
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.
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.
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:
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.
Lecture 4 Mobility Overview.
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.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
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-1 Chapter 6 outline Introduction Wireless r Wireless links, characteristics r IEEE wireless LANs (“wi-fi”) Mobility r Principles: addressing and.
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.
Wireless, Mobile Networks6-1 Chapter 6 outline 6.1 Introduction Wireless 6.2 Wireless links, characteristics  CDMA 6.3 IEEE wireless LANs (“Wi-Fi”)
Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops,
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.
Lecture 8 Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and.
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
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.
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.
Sharif University of Technology 6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition.
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.
6: Wireless and Mobile Networks 6-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.
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.
Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and K.W. Ross,
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
6: Wireless and Mobile Networks 6-1 Chapter 6 Mobile IP A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
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: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 11: Mobility Prof. Younghee Lee * Some part of this teaching materials are prepared referencing the.
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
CS 457 – Lecture 7 Wireless Networks
컴퓨터 네트워크 Chapter 4 컴퓨터 네트워크.
Chapter 6 Wireless and Mobile Networks
Presentation transcript:

6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley, July A note on the use of these ppt slides: We’re making these slides freely available to all (faculty, students, readers). They’re in PowerPoint form so you can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following:  If you use these slides (e.g., in a class) in substantially unaltered form, that you mention their source (after all, we’d like people to use our book!)  If you post any slides in substantially unaltered form on a www site, that you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material. Thanks and enjoy! JFK/KWR All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

6: Wireless and Mobile Networks6-2 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone subscribers! r computer nets: laptops, palmtops, PDAs, Internet-enabled phone promise anytime untethered Internet access r two important (but different) challenges m communication over wireless link m handling mobile user who changes point of attachment to network

6: Wireless and Mobile Networks6-3 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-4 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non-mobile) or mobile m wireless does not always mean mobility

6: Wireless and Mobile Networks6-5 Elements of a wireless network network infrastructure base station r typically connected to wired network r relay - responsible for sending packets between wired network and wireless host(s) in its “area” m e.g., cell towers access points

6: Wireless and Mobile Networks6-6 Elements of a wireless network network infrastructure wireless link r typically used to connect mobile(s) to base station r also used as backbone link r multiple access protocol coordinates link access r various data rates, transmission distance

6: Wireless and Mobile Networks6-7 Characteristics of selected wireless link standards 384 Kbps 56 Kbps 54 Mbps 5-11 Mbps 1 Mbps b {a,g} IS-95 CDMA, GSM UMTS/WCDMA, CDMA p-to-p link 2G 3G Indoor 10 – 30m Outdoor 50 – 200m Mid range outdoor 200m – 4Km Long range outdoor 5Km – 20Km

6: Wireless and Mobile Networks6-8 Elements of a wireless network network infrastructure infrastructure mode r base station connects mobiles into wired network r handoff: mobile changes base station providing connection into wired network

6: Wireless and Mobile Networks6-9 Elements of a wireless network Ad hoc mode r no base stations r nodes can only transmit to other nodes within link coverage r nodes organize themselves into a network: route among themselves

6: Wireless and Mobile Networks6-10 Wireless Link Characteristics Differences from wired link …. m decreased signal strength: radio signal attenuates as it propagates through matter (path loss) m interference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as well m multipath propagation: radio signal reflects off objects ground, arriving ad destination at slightly different times …. make communication across (even a point to point) wireless link much more “difficult”

6: Wireless and Mobile Networks6-11 Wireless network characteristics Multiple wireless senders and receivers create additional problems (beyond multiple access): A B C Hidden terminal problem r B, A hear each other r B, C hear each other r A, C can not hear each other means A, C unaware of their interference at B A B C A’s signal strength space C’s signal strength Signal fading: r B, A hear each other r B, C hear each other r A, C can not hear each other interferring at B

6: Wireless and Mobile Networks6-12 Code Division Multiple Access (CDMA) r used in several wireless broadcast channels (cellular, satellite, etc) standards r unique “code” assigned to each user; i.e., code set partitioning r all users share same frequency, but each user has own “chipping” sequence (i.e., code) to encode data r encoded signal = (original data) X (chipping sequence) r decoding: inner-product of encoded signal and chipping sequence r allows multiple users to “coexist” and transmit simultaneously with minimal interference (if codes are “orthogonal”)

6: Wireless and Mobile Networks6-13 CDMA Encode/Decode slot 1 slot 0 d 1 = Z i,m = d i. c m d 0 = slot 0 channel output slot 1 channel output channel output Z i,m sender code data bits slot 1 slot 0 d 1 = -1 d 0 = slot 0 channel output slot 1 channel output receiver code received input D i =  Z i,m. c m m=1 M M

6: Wireless and Mobile Networks6-14 CDMA: two-sender interference

6: Wireless and Mobile Networks6-15 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-16 IEEE Wireless LAN r b m GHz unlicensed radio spectrum m up to 11 Mbps m direct sequence spread spectrum (DSSS) in physical layer all hosts use same chipping code m widely deployed, using base stations r a m 5-6 GHz range m up to 54 Mbps r g m GHz range m up to 54 Mbps r All use CSMA/CA for multiple access r All have base-station and ad-hoc network versions

6: Wireless and Mobile Networks LAN architecture r wireless host communicates with base station m base station = access point (AP) r Basic Service Set (BSS) (aka “cell”) in infrastructure mode contains: m wireless hosts m access point (AP): base station m ad hoc mode: hosts only BSS 1 BSS 2 Internet hub, switch or router AP

6: Wireless and Mobile Networks : Channels, association r b: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequencies m AP admin chooses frequency for AP m interference possible: channel can be same as that chosen by neighboring AP! r host: must associate with an AP m scans channels, listening for beacon frames containing AP’s name (SSID) and MAC address m selects AP to associate with m may perform authentication [Chapter 8] m will typically run DHCP to get IP address in AP’s subnet

6: Wireless and Mobile Networks6-19 IEEE : multiple access r avoid collisions: 2 + nodes transmitting at same time r : CSMA - sense before transmitting m don’t collide with ongoing transmission by other node r : no collision detection! m difficult to receive (sense collisions) when transmitting due to weak received signals (fading) m can’t sense all collisions in any case: hidden terminal, fading m goal: avoid collisions: CSMA/C(ollision)A(voidance) A B C A B C A’s signal strength space C’s signal strength

6: Wireless and Mobile Networks6-20 IEEE MAC Protocol: CSMA/CA sender 1 if sense channel idle for DIFS then transmit entire frame (no CD) 2 if sense channel busy then start random backoff time timer counts down while channel idle transmit when timer expires if no ACK, increase random backoff interval, repeat receiver - if frame received OK return ACK after SIFS (ACK needed due to hidden terminal problem) sender receiver DIFS data SIFS ACK

6: Wireless and Mobile Networks6-21 Avoiding collisions (more) idea: allow sender to “reserve” channel rather than random access of data frames: avoid collisions of long data frames r sender first transmits small request-to-send (RTS) packets to BS using CSMA m RTSs may still collide with each other (but they’re short) r BS broadcasts clear-to-send CTS in response to RTS r RTS heard by all nodes m sender transmits data frame m other stations defer transmissions Avoid data frame collisions completely using small reservation packets!

6: Wireless and Mobile Networks6-22 Collision Avoidance: RTS-CTS exchange AP A B time RTS(A) RTS(B) RTS(A) CTS(A) DATA (A) ACK(A) reservation collision defer

6: Wireless and Mobile Networks6-23 frame control duration address 1 address 2 address 4 address 3 payloadCRC seq control frame: addressing Address 2: MAC address of wireless host or AP transmitting this frame Address 1: MAC address of wireless host or AP to receive this frame Address 3: MAC address of router interface to which AP is attached Address 3: used only in ad hoc mode

6: Wireless and Mobile Networks6-24 Internet router AP H1 R1 AP MAC addr H1 MAC addr R1 MAC addr address 1 address 2 address frame R1 MAC addr AP MAC addr dest. address source address frame frame: addressing

6: Wireless and Mobile Networks6-25 frame control duration address 1 address 2 address 4 address 3 payloadCRC seq control Type From AP Subtype To AP More frag WEP More data Power mgt RetryRsvd Protocol version frame: more duration of reserved transmission time (RTS/CTS) frame seq # (for reliable ARQ) frame type (RTS, CTS, ACK, data)

6: Wireless and Mobile Networks6-26 hub or switch AP 2 AP 1 H1 BBS 2 BBS : mobility within same subnet router r H1 remains in same IP subnet: IP address can remain same r switch: which AP is associated with H1? m self-learning (Ch. 5): switch will see frame from H1 and “remember” which switch port can be used to reach H1 m AP2 can broadcast H1’s new association

6: Wireless and Mobile Networks6-27 M radius of coverage S S S P P P P M S Master device Slave device Parked device (inactive) P : personal area network r less than 10 m diameter r replacement for cables (mouse, keyboard, headphones) r ad hoc: no infrastructure r master/slaves: m slaves request permission to send (to master) m master grants requests r : evolved from Bluetooth specification m GHz radio band m up to 721 kbps

6: Wireless and Mobile Networks6-28 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-29 Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture  connects cells to wide area net  manages call setup (more later!)  handles mobility (more later!) MSC  covers geographical region  base station (BS) analogous to AP  mobile users attach to network through BS  air-interface: physical and link layer protocol between mobile and BS cell wired network

6: Wireless and Mobile Networks6-30 Cellular networks: the first hop Two techniques for sharing mobile-to-BS radio spectrum r combined FDMA/TDMA: divide spectrum in frequency channels, divide each channel into time slots r CDMA: code division multiple access frequency bands time slots

6: Wireless and Mobile Networks6-31 Cellular standards: brief survey 2G systems: voice channels r IS-136 TDMA: combined FDMA/TDMA (north america) (Rogers) r GSM (global system for mobile communications): combined FDMA/TDMA (Rogers) m most widely deployed (Europe) r IS-95 CDMA: code division multiple access (Telus/Bell) IS-136 GSM IS-95 GPRS EDGE CDMA-2000 UMTS TDMA/FDMA Don’t drown in a bowl of alphabet soup: use this oor reference only

6: Wireless and Mobile Networks6-32 Cellular standards: brief survey 2.5 G systems: voice and data channels r for those who can’t wait for 3G service: 2G extensions r general packet radio service (GPRS) (Rogers) m evolved from GSM m data sent on multiple channels (if available) r enhanced data rates for global evolution (EDGE) (Rogers) m also evolved from GSM, using enhanced modulation m Date rates up to 384K (2.75G) r CDMA-2000 (phase 1) (Telus/Bell) m data rates up to 144K m evolved from IS-95

6: Wireless and Mobile Networks6-33 Cellular standards: brief survey 3G systems: voice/data r Universal Mobile Telecommunications Service (UMTS) m GSM next step, but using CDMA m High-Speed Downlink Packet Access (HSDPA) (3.5G) m Rogers to roll out in Summer 2007 r CDMA-2000 family of standards m Bell (1xRTT and EV-DO) m Telus (EV-DO called “SPARK”) ….. more (and more interesting) cellular topics due to mobility (stay tuned for details)

6: Wireless and Mobile Networks6-34 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-35 What is mobility? r spectrum of mobility, from the network perspective: no mobility high mobility mobile wireless user, using same access point mobile user, passing through multiple access points while maintaining ongoing connections ( like cell phone) mobile user, connecting/ disconnecting from network using DHCP.

6: Wireless and Mobile Networks6-36 Mobility: Vocabulary 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

6: Wireless and Mobile Networks6-37 Mobility: more vocabulary 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., ) foreign agent: entity in visited network that performs mobility functions on behalf of mobile. correspondent: wants to communicate with mobile

6: Wireless and Mobile Networks6-38 How do you contact a mobile friend: r search all phone books? r call her parents? r expect her to let you know where he/she is? I wonder where Alice moved to? Consider friend frequently changing addresses, how do you find her?

6: Wireless and Mobile Networks6-39 Mobility: approaches r Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. m routing tables indicate where each mobile located m no changes to end-systems r Let end-systems handle it: m indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote m direct routing: correspondent gets foreign address of mobile, sends directly to mobile

6: Wireless and Mobile Networks6-40 Mobility: approaches r Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. m routing tables indicate where each mobile located m no changes to end-systems r Let end-systems handle it: m indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote m direct routing: correspondent gets foreign address of mobile, sends directly to mobile not scalable to millions of mobiles

6: Wireless and Mobile Networks6-41 Mobility: registration End result: r Foreign agent knows about mobile r 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: “this mobile is resident in my network”

6: Wireless and Mobile Networks6-42 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

6: Wireless and Mobile Networks6-43 Indirect Routing: comments r Mobile uses two addresses: m permanent address: used by correspondent (hence mobile location is transparent to correspondent) m care-of-address: used by home agent to forward datagrams to mobile r foreign agent functions may be done by mobile itself, or completely handled by foreign agent r triangle routing: correspondent-home-network-mobile m inefficient when correspondent, mobile are in same network

6: Wireless and Mobile Networks6-44 Indirect Routing: moving between networks r suppose mobile user moves to another network m registers with new foreign agent m new foreign agent registers with home agent m home agent updates care-of-address for mobile m packets continue to be forwarded to mobile (but with new care-of-address) r mobility, changing foreign networks transparent: on going connections can be maintained!

6: Wireless and Mobile Networks6-45 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

6: Wireless and Mobile Networks6-46 Mobility via Direct Routing: comments r overcome triangle routing problem r non-transparent to correspondent: correspondent must get care-of-address from home agent m what if mobile changes visited network?

6: Wireless and Mobile Networks6-47 wide area network 1 foreign net visited at session start anchor foreign agent 2 4 new foreign agent 3 5 correspondent agent correspondent new foreign network Accommodating mobility with direct routing r anchor foreign agent: FA in first visited network r data always routed first to anchor FA r when mobile moves: new FA arranges to have data forwarded from old FA (chaining)

6: Wireless and Mobile Networks6-48 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-49 Mobile IP r RFC 3220 (Obsoleted by 3344) r has many features we’ve seen: m home agents, foreign agents, foreign agent registration, care-of-addresses, encapsulation (packet-within-a-packet) r three components to standard: m indirect routing of datagrams m agent discovery m registration with home agent

6: Wireless and Mobile Networks6-50 Mobile IP: indirect routing Permanent address: Care-of address: dest: packet sent by correspondent dest: dest: packet sent by home agent to foreign agent: a packet within a packet (uses IP protocol 4 for IP in IP encapsulation) dest: foreign-agent-to-mobile packet

6: Wireless and Mobile Networks6-51 Mobile IP: agent discovery r agent advertisement: foreign/home agents advertise service by broadcasting ICMP messages (typefield = 9) (node can also request an advertisement with agent solicitation) R bit: registration required H,F bits: home and/or foreign agent

6: Wireless and Mobile Networks6-52 Mobile IP: registration example

6: Wireless and Mobile Networks6-53 Chapter 6 outline 6.1 Introduction Wireless r 6.2 Wireless links, characteristics m CDMA r 6.3 IEEE wireless LANs (“wi-fi”) r 6.4 Cellular Internet Access m architecture m standards (e.g., GSM) Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling mobility in cellular networks r 6.8 Mobility and higher- layer protocols 6.9 Summary

6: Wireless and Mobile Networks6-54 Components of cellular network architecture correspondent MSC wired public telephone network different cellular networks, operated by different providers recall:

6: Wireless and Mobile Networks6-55 Handling mobility in cellular networks r home network: network of cellular provider you subscribe to (e.g., Sprint PCS, Verizon) m home location register (HLR): database in home network containing permanent cell phone #, profile information (services, preferences, billing), information about current location (could be in another network) r visited network: network in which mobile currently resides m visitor location register (VLR): database with entry for each user currently in network m could be home network

6: Wireless and Mobile Networks6-56 Public switched telephone network mobile user home Mobile Switching Center HLR home network visited network correspondent Mobile Switching Center VLR GSM: indirect routing to mobile 1 call routed to home network 2 home MSC consults HLR, gets roaming number of mobile in visited network 3 home MSC sets up 2 nd leg of call to MSC in visited network 4 MSC in visited network completes call through base station to mobile

6: Wireless and Mobile Networks6-57 Mobile Switching Center VLR old BSS new BSS old routing new routing GSM: handoff with common MSC r Handoff goal: route call via new base station (without interruption) r reasons for handoff: m stronger signal to/from new BSS (continuing connectivity, less battery drain) m load balance: free up channel in current BSS m GSM doesn’t mandate why to perform handoff (policy), only how (mechanism) r handoff initiated by old BSS

6: Wireless and Mobile Networks6-58 Mobile Switching Center VLR old BSS GSM: handoff with common MSC new BSS 1. old BSS informs MSC of impending handoff, provides list of 1 + new BSSs 2. MSC sets up path (allocates resources) to new BSS 3. new BSS allocates radio channel for use by mobile 4. new BSS signals MSC, old BSS: ready 5. old BSS tells mobile: perform handoff to new BSS 6. mobile, new BSS signal to activate new channel 7. mobile signals via new BSS to MSC: handoff complete. MSC reroutes call 8 MSC-old-BSS resources released

6: Wireless and Mobile Networks6-59 home network Home MSC PSTN correspondent MSC anchor MSC MSC (a) before handoff GSM: handoff between MSCs r anchor MSC: first MSC visited during call m call remains routed through anchor MSC r new MSCs add on to end of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain

6: Wireless and Mobile Networks6-60 home network Home MSC PSTN correspondent MSC anchor MSC MSC (b) after handoff GSM: handoff between MSCs r anchor MSC: first MSC visited during call m call remains routed through anchor MSC r new MSCs add on to end of MSC chain as mobile moves to new MSC r IS-41 allows optional path minimization step to shorten multi-MSC chain

6: Wireless and Mobile Networks6-61 Mobility: GSM versus Mobile IP GSM elementComment on GSM elementMobile IP element Home systemNetwork to which the mobile user’s permanent phone number belongs Home network Gateway Mobile Switching Center, or “home MSC”. Home Location Register (HLR) Home MSC: point of contact to obtain routable address of mobile user. HLR: database in home system containing permanent phone number, profile information, current location of mobile user, subscription information Home agent Visited SystemNetwork other than home system where mobile user is currently residing Visited network Visited Mobile services Switching Center. Visitor Location Record (VLR) Visited MSC: responsible for setting up calls to/from mobile nodes in cells associated with MSC. VLR: temporary database entry in visited system, containing subscription information for each visiting mobile user Foreign agent Mobile Station Roaming Number (MSRN), or “roaming number” Routable address for telephone call segment between home MSC and visited MSC, visible to neither the mobile nor the correspondent. Care-of- address

6: Wireless and Mobile Networks6-62 Wireless, mobility: impact on higher layer protocols r logically, impact should be minimal … m best effort service model remains unchanged m TCP and UDP can (and do) run over wireless, mobile r … but performance-wise: m packet loss/delay due to bit-errors (discarded packets, delays for link-layer retransmissions), and handoff m TCP interprets loss as congestion, will decrease congestion window un-necessarily m delay impairments for real-time traffic m limited bandwidth of wireless links

6: Wireless and Mobile Networks6-63 Chapter 6 Summary Wireless r wireless links: m capacity, distance m channel impairments m CDMA r IEEE (“wi-fi”) m CSMA/CA reflects wireless channel characteristics r cellular access m architecture m standards (e.g., GSM, CDMA-2000, UMTS) Mobility r principles: addressing, routing to mobile users m home, visited networks m direct, indirect routing m care-of-addresses r case studies m mobile IP m mobility in GSM r impact on higher-layer protocols