fbpx

IPv6 mobility

Facebook
Twitter
LinkedIn
WhatsApp
Telegram

In IPv6, mobility refers to the ability of devices to change locations or move between networks while maintaining continuous and uninterrupted connectivity. This functionality is especially important in an increasingly mobile world with a variety of devices connected to the Internet.

At the end of the article you will find a small test that will allow you assess the knowledge acquired in this reading

Mobility in IPv6 is achieved through a feature called “IPv6 Mobile IPv6" Or simply "MIPv6“. This protocol extension allows a device to maintain its original IPv6 address even when it changes access points or moves to a different network. This is made possible by a mechanism that associates a permanent “home address” with the mobile device and a temporary “care address” while it is connected to a specific network.

When the mobile device moves to a new network, it can communicate with a server called “startup agent” to inform you of your new location and request that traffic destined for your permanent address (home address) be redirected. The “initiation agent” is responsible for redirecting packets to the mobile device, allowing it to maintain connectivity without having to change its IP address.

In this way, IPv6 mobility facilitates seamless transitions between different networks, whether when devices physically move or change access points. This is especially useful in mobility scenarios such as mobile devices, connected vehicles, and IoT (Internet of Things) applications where devices may change locations frequently. By ensuring efficient mobility, IPv6 improves user experience and service continuity, which is critical for successful connectivity in the modern era.

Important features

It is important to highlight that the Mobile IPv6 (MIPv6) functionality is one of the main features that allows the support of mobile devices and mobility scenarios on the network. Some additional points to consider are:

Transparent redirection

IPv6 mobility allows mobile devices to move from one network to another without the need to reconfigure their IP address or lose connectivity. This transparent redirection facilitates the user experience and avoids interruptions to the applications and services in use.

Geographical mobility

With MIPv6, mobile devices can change their physical location, for example, when a user moves between different geographic locations. This is especially useful for mobile devices like smartphones and tablets that are used on the go.

Network mobility

In addition to geographic mobility, MIPv6 is also beneficial for network mobility. For example, when a mobile device switches from a Wi-Fi network to a cellular network or vice versa, MIPv6 allows the same IP address to be maintained, facilitating the transition and avoiding service interruption.

Route optimization

Mobility in IPv6 allows packets to be routed efficiently to the mobile device without going through unnecessary routes. This is achieved by updating the routing tables in the routers, which ensures that packets are delivered directly to the current location of the mobile device.

Real time applications

MIPv6 is especially useful for real-time applications, such as voice and video calls, where connection continuity is crucial to maintaining communication quality.

Security

IPv6 mobility is designed with security in mind. Communications between the mobile device and the home agent, as well as location updates, are protected using cryptography to prevent attacks and ensure privacy.

Mobility in IPv6

Example

Suppose we have a mobile device, such as a smartphone, that is using IPv6 and is connected to a Wi-Fi network in a cafe. The IPv6 address of the mobile device is 2001:0db8:85a3:0000:0000:8a2e:0370:7334.

Now, the mobile device user decides to leave the cafe and moves towards an area where a cellular network is available. When changing networks, the mobile device's IP address will remain the same, but the address prefix will change to reflect the new network.

Here is an example of what mobility on IPv6 would look like for this device:

  1. Connection in the cafe (Wi-Fi Network)
  • Dirección IPv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • Network prefix: 2001:0db8:85a3:0000::/64 (assuming this is the prefix assigned for the Wi-Fi network)
  1. Mobility to the cellular network
  • The mobile device detects the available cellular network and decides to switch to it.
  • The mobile device sends a message to the “home agent” (a server that helps manage mobility) to report its new location.
  1. Location update
  • The home agent updates its routing table to reflect the mobile device's new location.
  • The routing table now associates the network prefix of the cellular network to the mobile device.
  1. New IPv6 address after mobility
  • Dirección IPv6 actualizada: 2001:0db8:85a3:1111:0000:8a2e:0370:7334
  • New network prefix: 2001:0db8:85a3:1111::/64 (assuming this is the prefix assigned for the cellular network)

 

In this example, the mobile device switches from Wi-Fi network to cellular network while maintaining its IPv6 address. Mobility in IPv6 allows the device to remain accessible and can continue to communicate with other devices and services on the Internet without interruptions. Updating the routing table and changing the network prefix ensures that packets sent to the mobile device are correctly directed to their new location on the cellular network.

Security in mobile IPv6

Mobile IPv6 security is a crucial aspect of ensuring that mobile devices can maintain secure and reliable connectivity while moving between different networks. Some important aspects of mobile IPv6 security include:

Authentication and authorization

Mobile IPv6 uses authentication and authorization mechanisms to ensure that only authorized devices and users can access network services and resources. This prevents unauthorized devices from accessing the mobile network and protects against malicious attacks.

Cryptography

Mobile IPv6 can make use of cryptographic technologies, such as IPSec (Internet Protocol Security), to protect the confidentiality, integrity and authenticity of data transmitted between the mobile device and network access points. This prevents data from being intercepted or modified by unauthorized actors.

Protection against packet forwarding attacks

In mobile networks, there is a possibility of packets being maliciously forwarded through compromised nodes. Mobile IPv6 uses protection mechanisms, such as the use of Authentication Header Extensions (AH) and Security Encapsulation (ESP) in IPSec, to mitigate these types of attacks.

Network access control

Mobile IPv6 can implement access control policies that limit which devices or users can access certain parts of the network or specific services. This ensures that only authorized devices and users have access to critical resources.

Security in the mobility process

During the mobility process, when a device moves from one network to another, steps must be taken to ensure that authentication and security are not compromised. Mobile IPv6 handles this process securely, ensuring that the mobile device maintains a secure connection during the transition between networks.

Key management

The cryptography used in mobile IPv6 requires the use of keys to encrypt and decrypt data. Proper management of these keys is essential to guarantee the security of communications on the mobile network.

Brief knowledge quiz

What do you think of this article?
Do you dare to evaluate your learned knowledge?

QUIZ - Mobility in IPv6

Recommended book for this article

Do you want to suggest a topic?

Every week we post new content. Do you want us to talk about something specific?
Topic for the next blog

Leave a comment

Your email address will not be published. Required fields are marked with *

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011