Prof. Younghee Lee 1 1 Computer Networks u Lecture 11: Mobility Prof. Younghee Lee * Some part of this teaching materials are prepared referencing the.

Slides:



Advertisements
Similar presentations
6: Wireless and Mobile Networks6-1 Chapter outline Mobility r 6.5 Principles: addressing and routing to mobile users r 6.6 Mobile IP r 6.7 Handling.
Advertisements

1 Wireless and Mobile Networks Part 2 November 25, 2008 Department of Electrical and Computer Engineering University of Western Ontario ECE 436a Networking:
Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 19, 2007 Acknowledgement:
1 Mobile IP Myungchul Kim Tel:
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 Computer Networks.
Cellular and Mobile Wireless Networks (part 2) Advanced Computer Networks.
Mobile IP Overview: Standard IP Standard IP Evolution of Mobile IP Evolution of Mobile IP How it works How it works Problems Assoc. with it Problems Assoc.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
1 Wireless Networks ECS 152A Acknowledgement: slides from Kurose and Ross.
Network Layer session 1 TELE3118: Network Technologies Week 8: Network Layer Multicast, Mobility Some slides have been taken from: r Computer Networking:
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,
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
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.
Network Layer4-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from incoming.
Mobile IP.
6/2/05CS118/Spring051 Chapter 6: Wireless and Mobile Networks r Cover the following sections only:  6.3: wireless LANs  6.5: mobility management:
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.
Mobile IP Polytechnic University Anthony Scalera Heine Nzumafo Duminda Wickramasinghe Edited by: Malathi Veeraraghavan 12/05/01.
Cellular and Mobile Wireless Networks (part 2) Advanced Computer Networks D12.
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
Cellular Phone Networks Some slides are based on: Computer Networking: A Top Down Approach Featuring the Internet, 3rdedition. Jim Kurose, Keith RossAddison-Wesley,
1 Wireless and Mobile Networks EECS 489 Computer Networks Z. Morley Mao Monday March 19, 2007 Acknowledgement:
CHAPTER 6. Wireless, Mobile Networks6-2 Chapter 6: Wireless and Mobile Networks Background: # wireless (mobile) phone subscribers now exceeds # wired.
13-1 Last time □ Router internals ♦ Input ports, switching fabric, output ports ♦ Switching via memory, bus, crossbar ♦ Queueing, head-of-line blocking.
Lecture 4 Mobility Overview.
1 Chapter06 Mobile IP. 2 Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution?
6: Wireless and Mobile Networks6-1 Chapter 6 Wireless and Mobile Networks.
6-1 Chapter 6 outline Introduction Wireless r Wireless links, characteristics r IEEE wireless LANs (“wi-fi”) Mobility r Principles: addressing and.
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.
Chapter 5 The Internet Protocol (IP). IPv4 Datagram The header is of variable size, limited to fifteen 32-bit words (60 bytes) by the 4-bit IHL field.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
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,
Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer
Lecture 8 Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and.
CELLULAR DATA NETWORKS Mr. Husnain Sherazi Lecture 5.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Cellular and Mobile Wireless Networks Internet of Things Fall 2015.
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
MOBILITY Beyond Third Generation Cellular Feb
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.
Mobile IP 순천향대학교 정보기술공학부 이 상 정 VoIP 특론 순천향대학교 정보기술공학부 이 상 정 2 References  Tutorial: Mobile IP
Accommodating mobility with direct routing
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,
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
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,
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.
Cellular Networks What is mobility? Spectrum of mobility, from the network perspective: no mobility high mobility mobile wireless user, using same.
Mobility With IP, implicit assumption that there is no mobility. Addresses -- network part, host part -- so routers determine how to get to correct network.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
22. Managing Mobility in Wireless Networks
Chapter 6 Wireless and Mobile Networks
DMET 602: Networks and Media Lab
CPE 401/601 Computer Network Systems
IP for Mobile hosts.
Cellular and Mobile Wireless Networks
DMET 602: Networks and Media Lab
Cellular and Mobile Wireless Networks
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Wireless link layer: Cellular Networks; Mobility
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Presentation transcript:

Prof. Younghee Lee 1 1 Computer Networks u Lecture 11: Mobility Prof. Younghee Lee * Some part of this teaching materials are prepared referencing the lecture note made by F. Kurose, Keith W. Ross(U. of Massachusetts)

Prof. Younghee Lee 2 2 What is mobility? u spectrum of mobility, from the network perspective: no mobility high mobility mobile wireless user, using same access point mobile user, passing through multiple access point while maintaining ongoing connections ( like cell phone) mobile user, connecting/ disconnecting from network using DHCP.

Prof. Younghee Lee 3 3 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

Prof. Younghee Lee 4 4 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., ) home agent: entity in visited network that performs mobility functions on behalf of mobile. correspondent: wants to communicate with mobile

Prof. Younghee Lee 5 5 How do you contact a mobile friend: u search all phone books? u call her parents? u 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?

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

Prof. Younghee Lee 7 7 Mobility: approaches u Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. –routing tables indicate where each mobile located –no changes to end-systems u let end-systems handle it: –indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote –direct routing: correspondent gets foreign address of mobile, sends directly to mobile not scalable to millions of mobiles

Prof. Younghee Lee 8 8 Mobility: registration End result: u Foreign agent knows about mobile u 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”

Prof. Younghee Lee 9 9 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

Prof. Younghee Lee 10 Indirect Routing: comments u Mobile uses two addresses: –permanent address: used by correspondent (hence mobile location is transparent to correspondent) –care-of-address: used by home agent to forward datagrams to mobile u foreign agent functions may be done by mobile itself u triangle routing: correspondent-home-network-mobile –inefficient when correspondent, mobile are in same network

Prof. Younghee Lee 11 Indirect Routing: moving between networks u suppose mobile user moves to another network –registers with new foreign agent –new foreign agent registers with home agent –home agent update care-of-address for mobile –packets continue to be forwarded to mobile (but with new care-of-address) u mobility, changing foreign networks transparent: on going connections can be maintained!

Prof. Younghee Lee 12 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

Prof. Younghee Lee 13 Mobility via Direct Routing: comments u overcome triangle routing problem u non-transparent to correspondent: correspondent must get care-of-address from home agent –what if mobile changes visited network?

Prof. Younghee Lee 14 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 u anchor foreign agent: FA in first visited network u data always routed first to anchor FA u when mobile moves: new FA arranges to have data forwarded from old FA (chaining)

Prof. Younghee Lee 15 Mobile IP u Communicate with mobile hosts using their home IP address. –should be transparent to applications and higher level protocols –minimize changes to host and router software u Each area has a home agent and foreign agent that managing packet forwarding. –binding = (IP address, foreign agent address) –binding includes time stamp u Try to short circuit the home location by going directly to the foreign agent. –cache bindings in the appropriate places –protocol to update/invalidate caches –security considerations

Prof. Younghee Lee 16 Mobile IP in IPv4 u Registration process –mobile host registers with home and foreign agent –cache bindings: address, care-of- address u Tunneling is used to forward packets between agents. u Supporting mobility –invalidating old caches explicitly or in a lazy fashion u Many variants and optimizations possible. –Mobile host can be its own foreign agent, e.g. can get local addresses –Source can redirect packet directly to foreign agent Source Home Agent Foreign Agent 1 Foreign Agent 2

Prof. Younghee Lee 17 Mobile IP Goals u IP address encodes the host’s network. –Simplifies routing in the common case: look only at network identifier, but not not at the host id –Makes special cases hard, e.g. what happens when the host moves? u Communicate with mobile hosts using their “home” IP address. –should be transparent to applications and higher level protocols u Minimize changes to host and router software –No changes to communicating host u Security should not get worse.

Prof. Younghee Lee 18 Mobile IP Operation u Agents advertise their presence. –Using ICMP or mobile IP control messages –Mobile host can solicit agent information –Mobile host can determine where it is u Registration process: mobile host registers with home and foreign agent. –Set up binding u Tunneling –forward packets to foreign agent –foreign agent forwards packets to mobile host u Supporting mobility –invalidating old caches in a lazy fashion Source Home Agent Foreign Agent 1 Foreign Agent 2

Prof. Younghee Lee 19 Mobile IP: agent discovery u agent advertisement: foreign/home agents advertise service by broadcasting ICMP messages (typefield = 9) R bit: registration required H,F bits: home and/or foreign agent

Prof. Younghee Lee 20 Optimizations u Mobile host can be its own the foreign agent. –mobile host acquires local IP address –performs tasks of the mobile agent u Short circuit the home location by going directly to the foreign agent. –Routers in the network store cache bindings and intercept and tunnel packets before they the mobile host’s home network –Need a protocol to update/invalidate caches –Raises many security questions and is not in the standard

Prof. Younghee Lee 21 Components of cellular network architecture correspondent MSC wired public telephone network different cellular networks, operated by different providers recall:

Prof. Younghee Lee 22 Handling mobility in cellular networks u home network: network of cellular provider you subscribe to (e.g., Sprint PCS, Verizon) –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) u visited network: network in which mobile currently resides –visitor location register (VLR): database with entry for each user currently in network –could be home network

Prof. Younghee Lee 23 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

Prof. Younghee Lee 24 Mobile Switching Center VLR old BSS new BSS old routing new routing GSM: handoff with common MSC u Handoff goal: route call via new base station (without interruption) u reasons for handoff: –stronger signal to/from new BSS (continuing connectivity, less battery drain) –load balance: free up channel in current BSS –GSM doesn ’ t mandate why to perform handoff (policy), only how (mechanism) u handoff initiated by old BSS

Prof. Younghee Lee 25 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

Prof. Younghee Lee 26 home network Home MSC PSTN correspondent MSC anchor MSC MSC (a) before handoff GSM: handoff between MSCs u anchor MSC: first MSC visited during cal –call remains routed through anchor MSC u new MSCs add on to end of MSC chain as mobile moves to new MSC u IS-41 allows optional path minimization step to shorten multi-MSC chain

Prof. Younghee Lee 27 home network Home MSC PSTN correspondent MSC anchor MSC MSC (b) after handoff GSM: handoff between MSCs u anchor MSC: first MSC visited during cal –call remains routed through anchor MSC u new MSCs add on to end of MSC chain as mobile moves to new MSC u IS-41 allows optional path minimization step to shorten multi-MSC chain

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