79
Integrated Communication Systems Group Ilmenau University of Technology Mobility Management Advanced Mobile Communication Networks

Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group Ilmenau University of Technology

Mobility Management

Advanced Mobile Communication Networks

Page 2: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Motivation

• The Internet and mobile communication networks are experiencing an enormous growth

• Future networks will interconnect various heterogeneous networks by means of a common IP core, also referred to as All-IP

• Goals: always-on connectivity, higher bandwidth, reduced delay, lower cost, etc.

• Challenge: support mobility between cells connected through an IP core while satisfying real-time and QoS requirements

2

Page 3: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobility Management Approaches in the TCP/IP Reference Model

3

Page 4: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Which Layer Handles Mobility?

Application layer

Application layer Presentation layer

Session layer

Transport layer Transport layer

Network layer Internet layer

Data link layer

Network Interface Hardware

Physical layer

ISO/OSI TCP/IP

Link layer mobility

Network layer mobility

Transport layer mobility

Session layer mobility

Application layer mobility

4

Page 5: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Which Layer Handles Mobility?

• Link layer mobility management is responsible for the establishment of a radio link between the Mobile Node (MN) and the new Access Point (AP)

• No more procedures are required if the old as well as the new AP belong to the same subnet

• If the new AP belongs to a new subnet, we need mobility support either – in the network layer, i.e. the Internet layer of the TCP/IP reference

model, – in the transport layer or – in the application layer

5

Page 6: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobility Management in Different Layers, Why?

• Link layer mobility – Required when changing the point of attachment – Responsible for establishment of a wireless link

• Network layer mobility

– Transparency to higher layer protocols, e.g. TCP and UDP – Applications on mobiles can further communicate with existing

applications without any modifications – Change of network architecture is allowed

• Transport layer mobility – End-to-end mobility management while keeping the Internet

infrastructure unchanged – End hosts take care of mobility, i.e. TCP and UDP are updated to

support mobility

6

Page 7: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobility Management in Different Layers, Why?

• Session layer mobility – Migration of sessions between devices

• Application layer mobility

– No changes to current networks – Example: extending IP telephony infrastructure to fulfill mobility

requirements – Usage of SIP protocol and support for mobility by change of the

mapping between a name of a user (e.g. mail address) and the IP address

• Hybrid layer mobility – Optimization of the performance of a certain layer mobility

management approach using information from other layers or the integration of solutions from several layers

– Synchronization between layers is essential

7

Page 8: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tasks and criteria of mobility management

• Important tasks of mobility management − Find and address a mobile away from home − Support “continuous“ communication after change of location − Security: avoid misuse of mechanism − Privacy: hide location from others

• Important criteria to compare mobility protocols

− Handover (HO) performance • Delay to update the route • Packet loss due to handover

– Protocol overhead: consumption of network resources – Scalability: protocol overhead in large networks with large numbers of

mobile nodes – Robustness: adaptability to different network conditions and failures – Ease of deployment: simplicity, suitability to different network

scenarios

8

Page 9: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Link Layer Mobility Management

9

Page 10: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Link Layer Handoff

• This scenario considers handoffs between WLAN access points (APs) as an example! – Other communication systems use more sophisticated handoff

mechanisms!

• Responsible for the establishment of a radio link between the MN and the AP

• The handoff comprises 4 phases – Recognizing the loss of the wireless connection – Search for and detection of a new adequate AP – Re-/Authentication with the new discovered AP – Re-/Association with the new discovered AP

10

Page 11: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Recognizing the Loss of the Wireless Connection

• Connection loss is detected based on – Weakness of the received signal or – Failed frame transmissions

• Weakness of the received signal

– Most frequently used approach – A layer 2 handoff is prompted, if the received signal strength goes

below a certain threshold

• Failed frame transmissions – Slower than received-signal-strength-based approach – The MN first assumes a collision as a reason for failed frame

transmissions; if not, radio signal fading is assumed; if not, an out of range is declared

11

Page 12: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Search and Detection of a New Adequate AP

• Passive scanning

AP operating in frequency B

AP operating in frequency A

Beacon Beacon 100 msec

t

t

t

Change to frequency A

Beacon Beacon

Change to frequency B

Change to frequency C

12

Page 13: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Search and Detection of a New Adequate AP

• Active scanning

Probe request

Probe delay MinChannelTime

No activities on this channel

Probe response

t

t

t

Change to frequency A

Change to frequency B

AP operating in frequency B

AP operating in frequency C

MaxChannelTime

Probe request

Probe delay MinChannelTime

13

Page 14: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Re-/Authentication with the New Discovered AP

• The MN authenticates itself to the new AP

• Two authentication methods are defined for the IEEE 802.11 standard – Open system: null-authentication (default method) – Shared key authentication: none null-authentication

• Exchange of authentication request & authentication response

messages

• More messages can be exchanged between the authentication request & response; details depend on the authentication method

14

Page 15: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Re-/Association With the New Discovered AP

• Exchange of association request & association response messages

• After this phase, the wireless link is established

15

Page 16: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Link Layer Handoff

• Large variation for the same hardware with same configuration mainly due to stochastic behavior of radio interface

• Scanning is the main factor for handoff latency, it accounts for – about 90 % of the overall handoff

delay

MN APs

New AP

16

Page 17: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Research Issues

• Speeding up the layer 2 handoff requires accelerating the scanning phase – Periodic scanning

• Scanning the medium while the MN is still connected to the old AP • When the signal strength of the current AP is decreasing, the MN

switches to another frequency for a short time and scans for other available APs

– Information about neighbors

• Utilizing information about neighbor APs to reduce the number of channels that must be scanned

17

Page 18: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Network Layer Mobility Management -

Basics

18

Page 19: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

What is the problem and how to solve?

Internet

153 . 12 . 0 . 0 165 . 115 . 0 . 0

153 . 12 . 24 . 118

UDP

TCP

19

Page 20: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

What is the problem and how to solve?

Internet

153 . 12 . 0 . 0 165 . 115 . 0 . 0

UDP

TCP

165 . 115 . 215 . 9

Communication disruption should be minimized or even eliminated

20

Page 21: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

What is the problem and how to solve it?

• Routing – Forwarding is based on some destination address (a locator) – Change of location (due to mobility) requires change of destination

address or needs an update of routing tables

• Ideas − Specific routes to end systems (per-host forwarding) − Multicast − Modification of the destination address − Tunneling

21

Page 22: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Specific routes to end systems

• Change of routing table entries to forward packets to the right destination

• Distribution of routing

information for every mobile everywhere

BS

BS

BS

BS

Source

Internet

22

Page 23: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Specific routes to end systems

BS

BS

BS

BS

Source

Internet

Distribution of routing information

• Change of routing table entries to forward packets to the right destination

• Distribution of routing

information for every mobile (rather than subnets) everywhere

• Does not scale to a large network

• Security problems (routing table updates)

23

Page 24: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Multicast

BS

BS

BS

BS

Source

Internet

• Building of a multicast tree − Security problem

− Overhead

Home Agent (HA)

Sending data packets to old and new locations

24

Page 25: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Modification of the destination address

BS

BS

BS

BS

Source

Internet

• Adjust the host address depending on the current location − Problems to find a

mobile host without a constant address

− Problems with

application due to change of address

− Security problem

HA

Changing the destination address of IP packets

25

Page 26: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tunneling

BS

BS

BS

BS

Source

Internet

• Separation of a terminal/user identificator from a topological locator − Security problem

− Location update at

HA

HA

Tunnel data packets to the new location

26

Page 27: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP

• Requirements for Mobile IP − Transparency

− Mobile end-systems keep their IP address − Continuation of communication after interruption of link − Point of connection to the fixed network can be changed

− Compatibility − Support of the same layer 2 protocols as IP − No changes to current end-systems and routers required − Mobile end-systems can communicate with fixed systems

− Security − Authentication of all registration messages

− Efficiency and scalability − Only little additional messages to the mobile system required (connection

typically via a low bandwidth radio link) − World-wide support of a large number of mobile systems in the whole

Internet

27

Page 28: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP terminology

• Mobile Node (MN) – System (node) that can change the point of connection to the network

without changing its IP address • Home Agent (HA)

– System in the home network of the MN, typically a router – Registers the location of the MN, tunnels IP datagrams to the CoA

• Foreign Agent (FA) – System in the current foreign network of the MN, typically a router – Forwards the tunneled datagrams to the MN, typically also the default

router for the MN • Care-of Address (CoA)

– Address of the current tunnel end-point for the MN (at FA or MN) – Current location of the MN from an IP point of view – Can be chosen, e.g., via DHCP

• Correspondent Node (CN) – Communication partner

28

Page 29: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: example network

Mobile end-system Internet

Router

Router

Router

End-system

FA

HA

MN

CN Foreign network: current physical network for the MN

Home network: physical network for the MN

29

Page 30: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: data transfer to the mobile node

Internet

Sender

FA

HA

MN

CN

Receiver

1

2

3

1. Sender sends to the IP address of MN, HA intercepts packet (proxy ARP)

2. HA tunnels packet to CoA, here FA, by encapsulation

3. FA forwards the packet to the MN

30

Page 31: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: data transfer from the mobile node

Internet

Receiver

FA

HA

MN

CN

Sender

1. Sender sends to the IP address of the receiver as usual, FA works as default route

31

Page 32: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: agent discovery (IPv4)

• Agent discovery: How does the MN discover that it has moved? – Agent advertisement:

• FAs and HAs advertise their presence periodically using special agent advertisement messages

– For these advertisements Internet control message protocol (ICMP) messages are used with some mobility extensions

– The TTL field of the IP packet is set to 1 for all advertisements to avoid forwarding them

– Agent solicitation: • If no agent advertisements are present or the inter-arrival time is too high,

and an MN has not received a CoA by other means • The mobile node must send agent solicitations

– A mobile node can send out three solicitations, one per second, as soon as it enters a new network

– If a node does not receive an answer to its solicitations it must decrease the rate of solicitations exponentially to avoid flooding the network until it reaches a maximum interval between solicitations (typically one minute)

32

Page 33: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: agent discovery and registration (IPv4)

• Here the CoA denotes the address of the FA – The MN could also get it directly via DHCP (co-located care-off address)

• The binding update is a remote redirect and therefore needs authentication

• After the registration, the HA tunnels data for the MN to the CoA

IPv4

Foreign network

HA

FA advertises services

1. Advertisement (CoA)

MN

2. MN sends Registration Request 3. FA relays Binding Update to HA

5. HA accepts binding or denies (registration reply)

6. FA relays reply to MN 4. HA maintains the

association between home address and current CoA and registration lifetime (binding)

Home network

33

Page 34: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: registration (IPv4)

• Registration (always limited lifetime!) – Having received a CoA, the MN has to register with the HA – The main purpose of the registration is to inform the HA of the current location

for correct forwarding of packets.

• There are two ways of registration: – CoA is at the FA:

• The MN sends its registration request containing the CoA to the FA • FA forwards the request to the HA • HA now sets up a mobility binding containing the mobile node’s home IP

address and the current CoA • After setting up the mobility binding, the HA sends a reply message back

to the FA which forwards it to the MN – CoA is co-located:

• MN sends the request directly to the HA and vice versa

34

Page 35: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: registration (IPv4)

35

CoA is at the FA CoA is co-located

Page 36: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: tunnel end points (IPv4)

FA

FA

FA

FA

CN Internet HA

10.10.0.0

9.9.0.0

Home address:10.10.0.10

CoA: 1- FA-CoA: 9.9.0.0 or 2- Co-located CoA: 9.9.x.x

Destination is: 10.10.0.10

36

Page 37: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: tunnel end points (IPv4)

FA

FA

FA

FA

Internet HA

10.10.0.0

9.9.0.0

Home address:10.10.0.10

CoA: 1- FA-CoA: 9.9.0.0 or 2- Co-located CoA: 9.9.0.2

De-tunneling by MN

CN

37

Page 38: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP basics: agent discovery and registration (IPv4)

• Agent Advertisement – HA and FA periodically send advertisement messages into their physical

subnets – MN listens to these messages and detects, if it is in the home or a foreign

network – MN reads a CoA from the FA advertisement messages Note: agent advertisement may be solicited by MN (agent solicitation msg)

• Registration (always limited lifetime!) – MN signals CoA to the HA via the FA, HA acknowledges via FA to MN – These actions have to be secured by authentication

• Advertisement (ICMP extensions to RFC 1256) – HA advertises the IP address of the MN (as for fixed systems), i.e. standard

routing information – Routers adjust their entries; these are stable for a longer time (HA responsible

for a MN over a longer period of time) – Packets to the MN are sent to the HA, independent of changes in CoA/FA

38

Page 39: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tunneling

• Tunneling sending a packet through a tunnel, is achieved by using encapsulation

• Encapsulation is the mechanism of taking a packet consisting of packet header and data and putting it into the data part of a new packet.

• Decapsulation is the reverse operation, taking a packet out of the data part of another packet.

39

Original IP header Original data

New data new IP header

Inner header Original data Outer header

Page 40: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tunneling

• Encapsulation of one packet into another as payload – E.g. IPv6 in IPv4 (6Bone), Multicast in Unicast (Mbone) – Here: e.g. IP-in-IP-encapsulation, minimal encapsulation or GRE

(Generic Record Encapsulation) • IP-in-IP encapsulation (mandatory, RFC 2003)

– Tunnel between HA and CoA

Care-of address COA IP address of HA

TTL IP identification

IP-in-IP IP checksum flags fragment offset

length TOS ver. IHL

IP address of MN IP address of CN

TTL IP identification

lay. 4 prot. IP checksum flags fragment offset

length TOS ver. IHL

TCP/UDP/ ... payload

MIP header

IP packet

40

Page 41: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tunneling

• Minimal encapsulation (optional) – Avoids repetition of identical fields E.g. TTL, IHL, version, TOS – Only applicable for unfragmented packets, no space left for fragment

identification

care-of address COA IP address of HA

TTL IP identification

min. encap. IP checksum flags fragment offset

length TOS ver. IHL

IP address of MN original sender IP address (if S=1)

S lay. 4 protoc. IP checksum

TCP/UDP/ ... payload

reserved

MIP header

Minimized IP packet

41

Page 42: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Optimization of packet forwarding

• Triangular Routing – CN sends all packets via HA to MN

• Higher latency and network load

• Ideas for Solutions – CN learns the current location of MN – Direct tunneling to this location – HA informs a sender about the location of MN – Security problems with binding updates

• Change of FA

– Packets on-the-fly during the change can be lost – New FA informs old FA to avoid packet loss, old FA now forwards remaining

packets to new FA – This information also enables the old FA to release resources for the MN

42

Page 43: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Tunneling and route optimization (IPv4)

• The home agent can either use IP-within-IP or minimal encapsulation to reduce the header overhead

• Route optimization can be done if the HA sends a Binding Update to the CN

– Subsequent packets can be tunneled directly from the CN to the FA • In the reverse direction normal standard IP routing mechanisms are used

to deliver IP datagrams from the MN • Problems if the MN moves to another FA!

Home network

Foreign network

HA FA

MN

3. FA strips off the tunnel header and relays the rest to the MN 1. CN sends IP packet

to home address of MN. Initially the CN only knows the home address of the MN

CN

2. HA encapsulates the IP packet into a new IP packet by adding a tunneling header with the care-of address as destination. Tunnel source IP address is the HA address

4. HA can send a binding update to CN

5. The CN can tunnel IP packets directly to the FA

43

Page 44: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

• After having moved to the new FA, the MN can also communicate its new care-of address to the previous FA

• Note that most of the Binding Update messages are not emitted by the MN, thus they are not going over the wireless link

• Problem if FA1 does not know the new care-of address of the MN – FA1 must re-route the traffic to the HA, which again handles it via a new tunnel

to FA2

FA1 MN

CN

4. The FA 1 tunnels the IP packets to the MN’s new location (FA 2)

3. CN attempts to reach the MN using the obsolete care-of address

FA2

1. MN moves to a new subnet

5. FA 2 relays to the MN

HA 6. FA 1 sends the HA a Binding Warning and asks the HA to send the CN a Binding Update

8. Now the CN can again tunnel more directly to the MN

7. HA sends a Binding Update to the CN

2. MN communicates its new care-of address (of FA 2) to the previous FA

Change of foreign agent (IPv4)

44

Page 45: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Change of foreign agent (IPv4)

CN HA FAold FAnew MN

MN changes location

t

Data Data Data Update

ACK

Data Data

Registration Update ACK

Data Data Data Warning

Update ACK

Data Data

45

Page 46: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Reverse tunneling (RFC 3024)

Internet

Receiver

FA

HA

MN

Sender

3

2

1

CN 1. MN sends to FA 2. FA tunnels packets to HA by encapsulation 3. HA forwards the packet to the receiver (standard case)

46

Page 47: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP with reverse tunneling

• Router accept often only “topological correct“ addresses (firewall!) – A packet from the MN encapsulated by the FA is now topological

correct – Furthermore multicast and TTL problems solved (TTL in the home

network correct, but MN is to far away from the receiver)

• Reverse tunneling does not solve – Problems with firewalls, the reverse tunnel can be abused to

circumvent security mechanisms (tunnel hijacking) – Optimization of data paths, i.e. packets will be forwarded through the

tunnel via the HA to a sender (double triangular routing)

• MIP reverse tunneling is backwards compatible – The extensions can be implemented easily and cooperate with

current implementations of Mobile IP without these extensions – Agent advertisements can carry requests for reverse tunneling

47

Page 48: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Mobile IP and IPv6

• Huge address space with IPv6 address renumbering scheme • Better mobility support

– Mobile IP was designed as add-on to IPv4 – Majority of IPv4 nodes do not support Mobile IP

• MN can use Address Autoconfiguration which eliminates the need of a Foreign Agent

– Stateless: to configure its care-of address from a NW prefix of the foreign NW and a MN interface identifier. The needed information is published by neighboring routers through the Neighbor Discovery protocol in the foreign network (combined ARP/ICMP)

– Stateful: by using a centralized DHCP server • Source Routing: Instead of tunneling packets using “IP in IP”, IPv6 Routing

Headers are used • IPv6 does work smoothly with ingress filtering

– In IPv4 a border router may discard IP packets not originating from its own subnet, and MN use their home address always as source address

• Every IPv6 node will have implemented IPv6 authentication headers to be used with binding updates

48

Page 49: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 49

Mobile IPv6 (MIPv6)

Access Router (AR)

AR

AR

AR

Corresponding Node (CN) Internet

Home Agent (HA)

No support for mobility (standard IPv6 router)

Mobility support; use of two IP addresses (Home Address

(HoA) & Care of Address (CoA)) Periodic broadcast

of Router Advertisements (RA)

CN

Page 50: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 50

MIPv6 - Handoff

AR

AR

AR

AR

CN Internet

HA

Binding Updates (BUs)

CN

Page 51: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 51

MIPv6 - Handoff

AR

AR

AR

AR

CN Internet

HA

Binding Acknowledgements (BAs)

CN

Page 52: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 52

MIPv6 – Data Communication

AR

AR

AR

AR

CN Internet

HA

CN

Uplink data packets are dealt with as standard IP

packets

Page 53: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 53

MIPv6 - Pros & Cons

• Pros – End-to-end mobility – Transparency to upper layer protocols – Proper integration with IP

• Cons

– Handoff latencies (traffic interruption) due to contacting the HA and the CN each time the MN changes the point of attachment

– Overhead due to encapsulation – Signaling load due to frequent BUs especially when MNs move at

high speeds – Sub-optimal routing and increased end-to-end delay due to triangular

routing where CN is not MIPv6 enabled (binding updates) or due to lack of security

Page 54: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Dynamic Host Configuration Protocol (DHCP)

• Application – Simplification of installation and maintenance of networked computers – Supplies systems with all necessary information, such as IP address,

DNS server address, domain name, subnet mask, default router etc. – Enables automatic integration of systems into an Intranet or the

Internet – Can be used to acquire a CoA for Mobile IP (co-location of MN and

FA)

• Client/Server-Model – The client sends via a MAC broadcast a request to the DHCP server

(might be via a DHCP relay)

54

client relay

client DHCP server

DHCPDISCOVER

DHCPDISCOVER

Page 55: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

DHCP – protocol mechanisms

55

Server (not selected) Client

Server (selected)

Initialization

Collection of replies

Selection of configuration

Initialization completed

Release

Confirmation of configuration

Delete context

Determine the configuration

DHCPDISCOVER

DHCPOFFER

DHCPREQUEST (Reject)

DHCPACK

DHCPRELEASE

DHCPDISCOVER

DHCPOFFER

DHCPREQUEST (Options)

Determine the configuration

Page 56: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

DHCP characteristics

• Server – Several servers can be configured for DHCP, coordination not yet

standardized (i.e. manual configuration)

• Renewal of configurations – IP addresses have to be requested periodically, simplified protocol

• Options (RFC 2132) – Available for routers, subnet mask, NTP (network time protocol)

timeserver, SLP (service location protocol) directory, DNS (domain name system)

• Big security problems! – No authentication of DHCP information specified

56

Page 57: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Network Layer Mobility Management -

Advanced Solutions

57

Page 58: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Approaches for Network Layer Mobility Management

Terminal-based mobility management

• Mobility support in the network and MNs

• MNs participate in mobility procedures

• Disadvantages – SW update to MNs needed

Network-based mobility management

• Mobility support in the network only (terminals with legacy IP stack can be mobile)

• No interaction between the network and MNs

• Disadvantages – Many features are hard to

realize, e.g. route optimization – Focus is on support of global

mobility

58

Page 59: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 59

Macro and Micro Mobility Management

Administrative domain

Administrative domain

Intermediate node

Movements between different domains are typically handled by MIP, also called macro or

inter-domain mobility

Internet

HA

Movements inside the domain are controlled by

the intermediate node, also called micro or intra-

domain mobility

HA is not aware of each change in the point of

attachment

Page 60: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 60

Macro and Micro Mobility Management

• Macro mobility management approaches – Aim at global mobility support – Base protocols: Mobile IPv4 (RFC 3344) & Mobile IPv6 (RFC3775)

• Micro mobility management approaches

– Performance improvements through localizing the mobility processing inside administrative domains

– Introduction of new intermediate nodes to the network – Hierarchical network topology is typically required

Page 61: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 61

Proxy Agent Approaches (PAA)

• Extend the principle of MIP to provide micro mobility

• Introduce new intermediate nodes to the network to process the mobility inside an administrative domain locally

• Data packets destined to the MN are forwarded to the intermediate node, which tunnels them towards the MN’s current point of attachment

• Examples – Hierarchical MIPv6 (HMIPv6), Anchor Foreign Agent (AFA),

Seamless MIP (S-MIP), etc.

Page 62: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 62

Improved Micro Mobility: Hierarchical MIPv6

Internet HA

AR3 AR1

Mobility Anchor Point (MAP)

AR2 AR6 AR4

MAP

AR5

MN registers a Regional CoA (RCoA), i.e. a CoA in the MAP’s subnet, in its HA as the MN’s CoA; the location of the MN inside the domain is defined by the local

CoA (LCoA), which is a CoA in the current AR subnet

RCoA

LCoA

HA is not aware of the MN’s mobility as long as the RCoA is not changed

CN

Page 63: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 63

HMIPv6 – Handoff

Internet HA

AR3 AR1

MAP

AR2 AR6 AR4

MAP

AR5

RCoA

LCoA

The MN configures a new LCoA

RA

Local BU

BA

CN

Page 64: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 64

HMIPv6 – Data Communication

Internet HA

AR3 AR1

MAP

AR2 AR6 AR4

MAP

AR5

CN

Page 65: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 65

HMIPv6 – Pros & Cons

• Pros – Localizing of mobility management inside administrative domains – Improving the performance: reduced handoff latency compared to

MIPv6, reduced packet loss, etc. – Reducing the signaling load traveling towards the HA

• Cons

– Restrictions on the network topology – Single point of failure (all traffic passes through the MAP) – Increased signaling and packet forwarding overhead inside the

domain – Security issues: how to authenticate arriving MNs?

Page 66: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 66

Localized Enhanced Routing Schemes (LERS)

• Similar principle as PAA approaches

• Typically introduce a new dynamic layer 3 routing protocol inside the domain (per-hop routing)

• Data packets destined for the MN are forwarded to the intermediate node controlling the domain, which forwards them hop per hop towards the MN

• All nodes in the domain should be mobility-aware

• Examples – Cellular IP, HAWAII

Page 67: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 67

Improved Micro Mobility: Cellular IP

Internet HA

CN

Gateway

BS1

BS3 BS4

BS2

BS5

The gateway controls the domain

IP-based routing of data packets inside the domain is

replaced by a special CIP routing and location

management

The MN registers the address of the gateway as its CoA;

inside the domain, the MN uses its HoA

Beacon messages flooded periodically all BSs know how to route packets towards the gateway

Page 68: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 68

Cellular IP – Hard Handoff

Internet HA

CN

Gateway

BS1

BS3 BS4

BS2

BS5

Beacon Route-update

Update its routing cache and starts forwarding data packets towards

the new location of the MN

Page 69: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 69

Cellular IP – Semi-Soft Handoff

Internet HA

CN

Gateway

BS1

BS3 BS4

BS2

BS5

Semi-soft packet

Update its routing cache and starts forwarding data packets towards the MN via the old and

new BS

The MN detects a handoff in the near future it switches for a short time to the radio of

the new BS

Page 70: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 70

Cellular IP – Semi-Soft Handoff

Internet HA

CN

Gateway

BS1

BS3 BS4

BS2

BS5

Route-update

Update its routing cache and stops forwarding to the old BS

After the layer 2 handoff, the MN sends a route-update packet to stop the bicast

Page 71: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 71

Cellular IP – Data Communication

Internet HA

CN

Gateway

BS1

BS3 BS4

BS2

BS5

Uplink packets are forwarded hop by hop towards the gateway; they

are used to refresh the routing caches

Routed using IP towards their destination

Page 72: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 72

Cellular IP – Pros & Cons

• Pros – Localizing of mobility management inside administrative domains – Improving the performance: reduced handoff latency, less lost packets,

etc. – Reducing the signaling towards the HA – Mobile to mobile communication within the domain has to be routed via

the gateway

• Cons – Every node in the domain has to be mobility-aware – Restrictions on the network topology – Single point of failure (all traffic travels through the gateway) – Signaling and packet forwarding overhead inside the domain – Reduced TCP throughput due to new layer 3 dynamic routing protocol – Security issues: authentication of arriving MNs, authentication of route-

update messages, etc.

Page 73: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 73

Network-based MM: Proxy MIPv6

Mobile Access Gateway

(MAG)

MAG

MAG

MAG

Corresponding Node (CN) Internet

Localized Mobility Anchor (LMA)

MN does not have to understand mobility; from the MN´s point of view, it is located in its home network and

the whole domain represents a single point of attachment

Support of mobility is required in the MAGs; each MAG emulates the home network of each MN

served by it

Unicast RA with the Home Network Prefix

(HNP) of the MN

RA

Page 74: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 74

Proxy MIPv6 – Handoff

MAG

MAG

MAG

MAG

CN Internet

LMA

The MAG detects a detach event

De-Registration Proxy Binding Update (DeReg PBU)

Proxy Binding Acknowledgement (PBAck)

Start a timer to delete the mobility binding of the MN

Page 75: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 75

Proxy MIPv6 – Handoff

MAG

MAG

MAG

Internet

The MAG detects an attach event &

acquires the MN-ID and profile, from AAA server for example

PBU

LMA

MAG

Accepts the binding, allocates MN-HNP and sets

up a tunnel to the MAG

PBAck

A unicast RA with the MN-HNP the MN assumes that it is located in its home network and thus there is no need for a

re-configuration of its IP address

RA

CN

Page 76: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 76

Proxy MIPv6 – Data Communication

MAG

MAG

MAG

CN Internet

LMA

MAG

Page 77: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program 77

Proxy MIPv6 – Pros & Cons

• Pros – Transparency to MNs (MNs with no mobility support can be mobile) – Protocol is robust against control messages dropping (no control

messages are sent on wireless links) – Reduced signaling cost – Terminating the tunnel in the MAG instead of MNs reduces the data

traffic volume sent over the wireless link

• Cons – Triangular routing increased end-to-end delay – Overhead due to the encapsulation – Handoff latency due to contacting the LMA each time the MN moves

from one point of attachment to another communication disruption – Route optimization is not possible

Page 78: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

Conclusions

78

• Mobility management in future networks is IP-based

• Mobility can be implemented in different layers of the TCP/IP reference model; each layer has positive and negative impacts

• Network layer mobility approaches are the most deployed solutions – Terminal-based approaches interact with MNs to support mobility – Network-based approaches do not involve MNs in mobility support – Both approaches are categorized into macro and micro mobility

management approaches • Macro mobility approaches aim at supporting global mobility • Micro mobility approaches aim at accelerating the mobility management

through processing of mobility locally

Page 79: Mobility Management - Startseite TU Ilmenau...Other communication systems use more sophisticated handoff mechanisms! • Responsible for the establishment of a radio link between the

Integrated Communication Systems Group

Advanced Mobile Communication Networks, Master Program

References

• E. Weiss, A. Otyakmaz, E. López, B. Xu, “Design and Evaluation of a new Handoff Protocol in IEEE 802.11 Networks”, Proceedings of the 11th European Wireless conference 2005, Nicosia, Cyprus 2005.

• IEEE Computer Society, “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications”, Standard IEEE 802.11, ISBN: 0-7381-5656-6 SS95708, June 2007.

• Jochen Schiller: Mobile Communications (German and English), Addison-Wesley, 2000 (chapter 9 provides an overview on Mobile IP)

• Charles Perkins: Mobile IP – Design Principles and Practises. Addisson Wesley, 1998 • Ramjee Prasad, Marina Ruggieri: Technology Trends in Wireless Communications, Artech

House, 2003 • Wisely, Eardley, Burness: IP for 3G: Networking Technologies for Mobile Communications,

Wiley, 2002 (chapter 5 provides classification of mobility mechanisms and overview on protocols, including session-layer mobility)

• D. Johnson, C. Perkins, J. Arkko, “Mobility Support in IPv6”, RFC 3775, June 2004. • Important standards:

− Mobile IP: RFC 3220, formerly: RFC 2002

− Reverse tunneling: RFC 3024, formerly: 2344

− DHCP: RFC 2131, RFC 2132

− ICMP: RFC 1256

79