Mobility Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101

Slides:



Advertisements
Similar presentations
IP over ATM Integrated Network Services Almerindo Graziano.
Advertisements

CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
Data Center Fabrics. Forwarding Today Layer 3 approach: – Assign IP addresses to hosts hierarchically based on their directly connected switch. – Use.
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.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
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.
COS 461: Computer Networks
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Backbone Support for Host Mobility: A Joint ORBIT/VINI Experiment Jennifer Rexford Princeton University Joint work with the ORBIT team (Rutgers) and Andy.
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Software Stack COS 597E: Software Defined Networking.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
Lecture 8 Modeling & Simulation of Communication Networks.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer data center.
Mobile IP Performance Issues in Practice. Introduction What is Mobile IP? –Mobile IP is a technology that allows a "mobile node" (MN) to change its point.
CS 268: End-Host Mobility and Ad-Hoc Routing Ion Stoica Feb 11, 2003 (*based on Kevin Lai’s slides)
2002 년 2 학기이동인터넷프로토콜 1 Mobile IP:Overview 년 2 학기이동인터넷프로토콜 2 Mobile IP overview Is Mobile IP an official standard? What problems does Mobile IP solve?
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Address Resolution Protocol(ARP) By:Protogenius. Overview Introduction When ARP is used? Types of ARP message ARP Message Format Example use of ARP ARP.
Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer
A day in the life: scenario
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
THE IP MOBILITY APPROACH 발표자 : 이진우. Tables 1. Introduction 2. Domain Based Micro Mobility Supporting Protocols 2.1 Cellular IP Network Architecture,
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Seamless Access to Services for Mobile Users Jennifer Rexford Princeton University Joint work with Matvey Ayre, Mike.
Floodless in SEATTLE : A Scalable Ethernet ArchiTecTure for Large Enterprises. Changhoon Kim, Matthew Caesar and Jenifer Rexford. Princeton University.
5: Link Layer Part Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer.
Layer 2 and Switching. How Computers Communicate  In a two node flat network data can be sent without addressing.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
A policy-based per-flow mobility management system design
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
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.
Mapping IP Addresses to Hardware Addresses Chapter 5.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
: MobileIP. : r Goal: Allow machines to roam around and maintain IP connectivity r Problem: IP addresses => location m This is important for efficient.
ADDRESS MAPPING ADDRESS MAPPING The delivery of a packet to a host or a router requires two levels of addressing: logical and physical. We need to be able.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
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. 
Chapter 5 Network and Transport Layers
DMET 602: Networks and Media Lab
CPE 401/601 Computer Network Systems
Link Layer 5.1 Introduction and services
IP for Mobile hosts.
Routing Jennifer Rexford.
CS 268: Mobility Kevin Lai Feb 13, 2002.
Revisiting Ethernet: Plug-and-play made scalable and efficient
CS 457 – Lecture 10 Internetworking and IP
Managing Online Services
DMET 602: Networks and Media Lab
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Chapter 24 Mobile IP.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Computer Networks ARP and RARP
Wireless link layer: Cellular Networks; Mobility
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Presentation transcript:

Mobility Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101

Why (and How) Things Move 2

Physical Mobility Device attaches to a new attachment point 3

Multi-Homing Device starts using a different attachment point 4 3G WiFi

Migration Process or virtual machine migration 5

Failover Backup machine takes over after the primary fails 6

Handling Mobility 7

Change Address of Mobile Node? 8 link session path name address AB a b1 ?

Keeping the Address the Same Mobility is a routing problem – Change the routes to reach the new location – Challenge: scalability of the routing protocol 9 path a b1

Changing the Address Mobility is a directory problem – Change the mapping of name to address – Challenge: scalability of directory, updating neighbor 10 link session name ab1b2 AB

Two Internet Design Decisions Socket abstraction – Connection between a pair of fixed IP addresses and port numbers – Leads to more emphasis on routing solutions Interface addresses – Addresses refer to interfaces (adaptors) – Not the host, or the service 11 3G WiFi

Routing Solutions Address Stays the Same 12

Three Examples Ethernet – MAC learning of the new location IP routing – Inject IP address(es) at new location Mobile IP – Stationary home agent directs traffic to new location 13

Example #1: Ethernet MAC learning – Learn b1’s location when b1 sends a frame – Soft state: timeout the cached information 14 a b1

Making Larger Ethernet Segments 15 Ethernet handles mobility – IP address and MAC address stay the same – Switches learn to route to the new location But, larger networks have multiple segments – Cannot retain your IP address as you move Solution: virtual local area networks (VLAN) – Logical Ethernet segment spanning a campus – E.g., interconnecting the WiFi access points

Pros and Cons Advantages – Seamless mobility, no changes to hosts or apps – No changes to MAC or IP addresses Disadvantages – Ethernet does not scale – Long paths, state per MAC address, flooding, … Widely used approach in campus networks 16

Example #2: IP Routing Node has a persistent address (e.g., ) Injected into routing protocol (e.g., OSPF) / /32

Boeing Connexion: Wide-Area Mobility 18 BGP /24 ?pt=NTk1Jm5hbm9nMzE=&nm=nanog31

19 Pros and Cons Advantages – Seamless mobility, no MAC or IP address changes – Traffic follows an efficient path to new location Disadvantages – Does not scale to large number of mobile hosts – More routing-protocol messages – Larger routing tables to store smaller address blocks

Example #3: Mobile IP 20 Home network: permanent “home” of mobile (e.g., /24) Permanent address: can always be used to reach mobile, e.g., Home agent: performs mobility functions on behalf of mobile wide area network correspondent Correspondent: wants to communicate with mobile

Visited Network and Care-of Address 21 Care-of-address: in visited network (e.g., 79, ) wide area network Visited network: e.g., /24 Permanent address: remains constant ( e.g., ) Foreign agent: performs mobility functions for the mobile. Correspondent

Mobility: Registration Foreign agent knows about mobile Home agent knows location of mobile 22 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”

Mobility via Indirect Routing 23 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

24 Pros and Cons Advantages – Seamless to the remote end-point – No routing-protocol overhead Disadvantages – Overhead of running home and foreign agents – Inefficient “triangle routing” (high “stretch”) – Foreign agent sends “spoofed” IP source address

Directory Solutions Change the mapping of name to address 25

Three Examples Ethernet – Gratuitous ARP to change the MAC address associated with an IP address Dynamic DNS – DNS updates to change the IP address(es) associated with a domain name Various recent proposed designs – Updating the remote end-point (e.g., end host, edge switch) to use a new address 26

Example #1: Ethernet Backup machine floods “gratuitous ARP” response – Associates the IP address with a new MAC address – Hosts update their ARP cache 27 IP MAC m1 IP MAC m2

Ethernet Multi-Homing Gratuitous ARP – Balance traffic over two interfaces – Fail over from one interface to the other 28 IP MAC m1 IP MAC m2

Pros and Cons Advantages – Seamless change from one MAC address to another Disadvantages – Works only within a single Ethernet subnet – Scalability limitations of Ethernet Used in data-center networks – But doesn’t help with smart phones homed to multiple administrative domains 29

Example #2: Dynamic DNS Dynamically update DNS – Change the mapping of domain name to IP address – Future DNS requests get the new addres 30 Name: IP: Name: IP:

Applications of Dynamic DNS Replicated services – Direct future requests to a different replica – E.g., for failover, load balancing, performance, etc. Services on dynamically-assigned IP addresses – Residential user with a dynamic IP address – Directs clients to the server’s current address “Fast flux” in botnets – Hiding phishing and malware delivery servers – … behind constantly changing IP addresses 31

Pros and Cons Advantages – No new infrastructure – Leverages existing DNS servers Disadvantages – Only helps for new connections – Overheads of updating DNS servers – Stymied by DNS caching 32

Example #3: Updating the End-Points Mobile node updates the remote end-point – Sends the remote end-point the new IP address – Allowing ongoing connection to continue – Can be used in conjunction with Dynamic DNS

Updating the Edge Switches Update the switches – Hosts retain their addresses – Switches rewrite the addresses, or encapsulate – Used in some data-center networks

Pros and Cons Advantages – Scalability of hierarchical addressing – Efficiency of routing along short paths Disadvantages – Changes to the end host (e.g., apps, TCP, etc.) – … or support from the edge switches – Difficulty when both end-points move at once Work in progress – Used in some data centers, recent standards/projects 35

36 Mobility Today Limited network support for mobility – E.g., within a single Ethernet subnet – E.g., among base stations on a campus Applications increasingly robust to mobility – Robust to changes in IP address, and disconnections – E.g., client contacting the server – … and allowing reading/writing while disconnected

37 Mobility Tomorrow Increasing demand for seamless IP mobility – E.g., continue a VoIP call while on the train – E.g., virtual machine migration within and between data centers Increasing integration of WiFi and cellular – E.g., multi-homed cell phones that can use both networks – E.g., servers with multiple interface cards Need better mobility & multi-homing solutions!

Conclusions Mobility – Change is hard – Routing and directory solutions – Mobility is still a moving target… Friday’s precept: IP routers and assignment #2 Midterm next week – Midterm next Wednesday during lecture time – In Frist 302, not in the lecture hall 38