• No results found

6 Mobility Management

N/A
N/A
Protected

Academic year: 2021

Share "6 Mobility Management"

Copied!
38
0
0

Loading.... (view fulltext now)

Full text

(1)

Politecnico di Milano

Facoltà di Ingegneria dell’Informazione

6 – Mobility Management

Reti Mobili Distribuite

(2)

Introduction

Mobility management allows a terminal

to change its point of access to the

network :

 Without changing its address/identifier

 Keeping sessions active (at application level)

This is not always necessary

 Application clients do not need to be

reached with the same address/identifier

 They can change address/identifier

whenever they need and issue requests to servers as long as session continuity is not a problem

(3)

Client mobility

Change IP address Start new sessions

(4)

Mobility Management (MM)

 If you must be reached by other hosts with your

address/identifier:  Server applications

 And/or you want your sessions remain active

 Real time applications

 Then you need some mobility management

support by the network

Application layer Transport layer IP Layer Link layer Physical layer Identifiers Adresses MM @ application layer MM @ routing layer

(5)

MM @ Application Layer

Change address and keep the same

application layer identifier

Manage sessions changing their

description when address change

Examples:

Dynamic DNS

(6)

MM @ Application Layer

Dynamic DNS

 No session continuity

 Mainly devised for static servers with dynamic IP addresses

Dynamic DNS Server Dynamic DNS Client Name: myname.com Address: My_IP DNS query DNS reply

(7)

MM @ Application Layer

Foreign domain Home domain sip.polimi.it sip.ucla.edu [email protected] capone%[email protected]

SIP mobility

 Both pre-call and mid-call mobility can be provided with

(8)

MM @ routing layer:

Link Layer

We already analyzed the

MM at layer 2 for WiFi:

A R AP2 AP1 A AP3 Bridging tables updated Broadcast Message (Gratuitous ARP reply)

(9)

MM @ routing layer:

Link Layer

Let’s take a closer look:

Bridging tables have an entry for each MAC

address

When terminal changes its access point we

“just” need to update the corresponding

entries in all bridging tables of the network

This approach is suitable for LANs

It does not scale up to big networks

(10)

MM @ routing layer:

IP Layer

How to manage mobility at IP layer?

IP routing is based on the network address

(prefix matching)

Network Network address 131.175.21.0/24 Host address 131.175.21.58/24 Routing Table: … 0.0.0.0/0  NH_a Routing Table: … 131.175.0.0/16  NH_b Routing Table: … 131.175.21.0/24  NH_b 131.175.21.0/24  IF: local_IF

(11)

MM @ routing layer:

IP Layer

How to manage mobility at IP layer?

Home Network Foreign Network Mobile Host (MH) 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Mobile Host (MH) 124.44.122.78/24 Internet Corresponding Host (CH)

?

(12)

MM @ routing layer:

IP Layer

How to manage mobility at IP layer?

Can we use the same approach for link

layer mobility  per host routes ?

Network Network address 131.175.21.0/24 MH 124.44.122.78/32 Routing Table: … 0.0.0.0/0  NH_a Routing Table: … 131.175.0.0/16  NH_b 124.44.122.78/32  NH_b Routing Table: … 131.175.21.0/24  NH_c 124.44.122.78/32  NH_c 131.175.21.0/24 IF: local_IF 124.44.122.78/32  IF: local_IF

(13)

MM @ routing layer:

IP Layer

Per host routes

Large routing tables: potentially one entry

per mobile host

Frequent routing updates that need to be

distributed on the whole network

Even for a relatively small number of

mobile hosts, managing mobility with per

host routes would not be easy

(14)
(15)

Mobile IP

 Mobile IP was developed as a means for

transparently dealing with problems of mobile users

 Enables hosts to stay connected to the Internet

regardless of their location

 Enables hosts to be tracked without needing to

change their IP address

 Requires no changes to software of non-mobile

hosts/routers

 Requires addition of some infrastructure  Has no geographical limitations

 Requires no modifications to IP addresses or IP

address format

(16)

Mobile IP

 Mobile IP is an Internet Engineering Task Force

(IETF) standard communications protocol

Mobile IP for IPv4 (MIPv4) is described in IETF

(17)

Basics

 Mobile IP allows a mobile host to move about

without changing its permanent IP address

(PIP)

Each mobile host has a home agent (HA) on its

home network (HN)

Mobile host establishes a care-of address (COA)

(18)

Basics

Correspondent host is a host that wants to send

packets to the mobile host

 Correspondent host sends packets to the mobile

host’s IP permanent address

 These packets are routed to the mobile host’s

home network

 Home agent forwards IP packets for mobile host to

current care-of address

 Mobile host sends packets directly to

correspondent, using permanent home IP as source IP

(19)

Basics

Home Network Foreign Network Mobile Host (MH) 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet Corresponding Host (CH) Home Agent

(20)

Care-of address

 MHs has two options for the care-of address:

Foreign agent care-of address: care-of address can

be the address of a foreign agent on the remote network

home agent tunnels packets to the home agent

 foreign agent delivers packets forwarded from home

agent to mobile host

Co-located care-of address: care-of can be a

temporary, foreign IP address obtained through DHCP

home agent tunnels packets directly to the

temporary IP address

In any case, care-of address must be registered

(21)

Foreign agent care-of

address

Home Network Foreign Network Mobile Host (MH) 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet Corresponding Host (CH) Home Agent To: COA Foreign Agent

(22)

Co-located care-of address

Home Network Foreign Network Mobile Host (MH) 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet Corresponding Host (CH) Home Agent

(23)

Tunneling

Packet is encapsulated in another IP

packet

Payload Header Source: CH Destination: PIP Payload Header Source: HA Destination: COA

(24)

Tables

 Mobility Binding Table

 Maintained on HA

 Maps MH’s home address

with its current COA

 Visitor List

 Maintained on FA serving

an MN

 Maps MN’s home address

to its MAC address and HA address

Home

address Care-OfAddress Lifetime (s)

124.44.122.78 131.175.21.78 300 124.44.122.49 197.23.62.34 100 …

Home

address Home AgentAddress Lifetime (s)

124.44.122.78 124.44.122.1 300 167.34.32.44 167.34.32.254 300 …

(25)

MIPv4 main functions

Agent discovery

HA and FA advertize service availability

MHs can send solicitations to discover if

an agent is present

Registration

MHs registers their COA at the HA either

directly or through the FA

Registrations are stored in the tables

Tunneling

Has tunnel datagrams to the COA

(26)

MIPv4 (RFC 3344)

Leaves Internet routing fabric

unchanged

Does not assume access points

(“base stations”) exist everywhere

Simple

CHs don’t need to know about

mobility

Works both for changing domains and

(27)

MIPv4 Operation (RFC 3344)

HAs and FAs advertise their availability

using agent-advertisement messages

MHs receive advertisement messages

and decide if it is a HA or a FA

If it is its HA and MH is returning to

home network, it deregisters previous

COA on the HA

If it a new FA, MH requests a COA

(either FA COA, or a co-located COA)

MH registers the COA at the HA possibly

(28)

MIPv4 Operation (RFC 3344)

HA intercepts packets sent to the MH

HA tunnels packets to the COA

Packets from the MH are sent directly to

(29)

Home Agent Operation

MH

ARP reply

ARP request

Gratuitous ARP reply HA HA ARP reply HA ARP request Proxy ARP

(30)
(31)

Routing Optimization

Suboptimal “triangle” routing

Packets are sent to HA first and then

tunneled to the MH

Possible Solution:

 Home agent sends current care-of address

to correspondent host

 Correspondent host caches care-of address  Future packets tunneled directly to care-of

(32)

Routing Optimization

Home Network Foreign Network MH 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet CH HA FIRST PACKET Binding cache CH COA 124.44.122.78 131.175.21.34

(33)

Routing Optimization

Home Network Foreign Network MH 124.44.122.78/24 Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet CH HA SUBSEQUENT PACKETS Binding cache CH COA 124.44.122.78 131.175.21.34

(34)

Problems with MIP

 "Ingress" filtering

 Routers which see packets coming from a direction

from which they would not have routed the source address are dropped

Home Network Foreign Network MH Network address 131.175.21.0/24 Network address 124.44.122.0/24 Internet CH HA ERROR: Topologically incorrect

(35)

Problems with MIP

Security issues:

Malicious host sends fake registration

messages to home agent "on behalf" of

the mobile host

Packets could be forwarded to malicious

host or to the bit bucket

Solution: use secure authentication for

registration request/reply

(36)

Mobility in IPv6

Route Optimization is a fundamental

part of Mobile IPv6

 Mobile IPv4 it is an optional set of

extensions that may not be supported by all nodes

Foreign Agents are not needed in Mobile

IPv6

 MNs can function in any location without the

services of any special router in that location

Security

 Nodes are expected to employ strong

(37)

Hierarchy in MM

 Registration needed every time MH moves  Registration adds delay when HA is far away

Home Network Foreign Network A MH Internet HA Registration Request Registration Reply Foreign Network B Registration Request Registration Reply

(38)

Foreign Network C

Hierarchy in MM

 Hierarchy of FAs or Mobility Routers  Hierarchical MIP, Cellular IP, etc. Home Network Foreign Network A MH Internet HA Registration Request Registration Reply Foreign Network B FA1 FA2 FA3 FA4 FA5

References

Related documents

In another study conducted on hand hygiene among health care workers, compliance with SP was found to be unsatisfactory among physicians, especially residents; out of 213 records

The policy analysed was comprehensive and aggregated in terms of the policy issues that support sustainable development implementation in higher education. However, policy was

Economic Action Plan 2014 proposes to provide over $400 million on a cash basis for measures to protect and preserve Canada’s rich natural heritage by making improvements to

However, how Asian countries are contributing to GHG, and the implications for future development of collective action on global health issues, remains poorly understood.This

Agenda Item 2: Review and Update on ADS-B Activities by States 2.1 Implementation status and Regional ADS-B Plan 2.2 Trials and data analysis.. Agenda Item 3: Review of

Primære hodepinetyper inkluderer migrene, hodepine av spenningstype, klasehodepine og en rekke andre diagnoser definert av sett med kriterier laget av the International

Både spaltar og skivespaltar 3 (frå tysk: spalter ) vert nytta om ein annan i eldre litteratur, og det kan sjå ut til at omgrepa i ein periode ofte har vore forstått som

DETECTING OUTLIERS, LEVEL SHIFTS AND VARIANCE CHANGES In applications the ARMA model of Zt, the number of disturbances, and the corresponding time points are