Mobility management principles

A mobile device may move from one network to another over time.

Levels of device mobility

Scenario Explanation Device on while moving? Changes AP/base station? Changes IP access network? Handover needed? Mobility layer

Device off while moving

The device is physically moved, but it is turned off while moving.

It disconnects from one network and later connects to another, so there is no ongoing communication to preserve.

❌ No

Possibly (when reconnecting)

Possibly (when it reconnects)

❌ No

None

Movement within same IP network

The device moves while staying in the same IP access network.

It may switch APs or base stations, but those APs/base stations belong to the same network, so the IP layer sees no change and the IP address can remain the same.

✅ Yes

Possibly

❌ No

❌ No (a link-layer/radio handover may still occur)

Link layer (Layer 2)

Movement to different IP network

The device moves to a different IP access network while continuing communication, which may cause a change in IP address.

Mobility management mechanisms must perform a handover: a transfer of responsibility for forwarding packets from the old access network to the new one so that existing connections can continue.

✅ Yes

✅ Yes

✅ Yes

✅ Yes

Network layer (Layer 3)

Movement to different provider

The device moves to an access network operated by a different provider.

The handover is more complex because multiple providers must coordinate the transfer.

✅ Yes

✅ Yes

✅ Yes

✅ Yes (between providers)

Network layer (Layer 3, inter-provider)

Roaming on visited networks

Each mobile subscriber has a home network provided by their cellular operator.

When a device connects to a different cellular network:

The Internet does not have an equivalent concept of a home network or visited network.

Having a home network for mobile devices provides two key benefits:

Routing to a mobile device

In a 4G/5G cellular network, consider:

How can a datagram sent by the correspondent reach the mobile device?

There are three main possible approaches. The last two are the ones used in practice.

Leveraging IP routing

The simplest way to route packets to a mobile device in a visited network is to use normal IP routing with BGP:

To improve scalability, mobility management is moved from the Internet core to the network edge:

A mobile device in a visited network needs an IP address. There are three possible approaches:

  1. use a permanent home-network IP address
  2. assign a new address from the visited network
  3. use NAT to translate between a home address and a temporary visited-network address

In cases 2 and 3, the device has both:

Because normal Internet routing cannot determine the device's current location, additional mobility mechanisms are required. The two main solutions are:

  1. indirect routing
  2. direct routing

Indirect routing

In indirect routing, the correspondent does not need to know where the mobile device is located:

Indirect routing

Sending datagrams to the roaming mobile device:

Sending datagrams from the roaming mobile device:

Indirect routing requires three main mechanisms:

  1. mobile device ↔ visited network association
    • the device associates with a visited network
    • the device disassociates when leaving that network
  2. visited network ↔ home network HSS registration
    • the visited network reports the device's location to the home network HSS
    • the HSS may also provide information needed for authentication
  3. home gateway ↔ visited gateway tunneling
    • the home gateway encapsulates and forwards the original datagram
    • the visited gateway:
      • decapsulates the datagram
      • performs NAT translation if needed
      • delivers it to the mobile device

When a device roams from one visited network to another:

But will the mobile device see an interrupted flow of datagrams as it moves between networks?

Usually, only a small number of datagrams are lost:

The indirect routing approach has an inefficiency called the triangle routing problem:

In the worst case:

Direct routing

Direct routing solves the triangle routing problem by sending datagrams directly to the mobile device's visited network.

However, it adds extra complexity.

Direct routing approach:

Direct routing

  1. the correspondent first obtains the mobile device's current location information
    • it does this by querying the HSS (the mobility location service) in the mobile device's home network
    • this is shown in steps (1) and (2)
  2. the correspondent then sends datagrams directly to the gateway router in the mobile device's visited network (3)

Direct routing creates two additional problems:

  1. a mobile-user location protocol is required:

    • the correspondent needs a mechanism to discover the mobile device's current location
    • this is in addition to the protocol needed for the mobile device to register its location with its HSS
  2. handling movement between visited networks:

    • if the mobile device moves to a new visited network, the correspondent must learn the new location
    • with indirect routing, this is simple:
      • update the HSS
      • change the tunnel endpoint to the new visited network
    • with direct routing, it is harder:
      • the correspondent only queries the HSS at the start of the session
      • extra mechanisms are needed to notify the correspondent whenever the mobile device changes networks

Previous 4G/5G cellular networks All ⏎ Next 4G/5G mobility management

A Kemar Joint