Introduction to Mobile IP
Mobile IP
1. Introduction to Mobile IP
Mobile IP (Internet Protocol) is an extension of the IP protocol that allows a mobile computer, such as a notebook, to remain connected to the Internet while moving from one network to another.
In the traditional IP addressing system, an IP address is associated with a particular network. When a computer moves to another network, its original IP address may no longer be valid for communication.
Mobile IP addresses this problem by allowing a mobile host to retain its permanent home address while using a temporary address in the network it visits.
Example: Consider a student using a laptop connected to the college Wi-Fi. When the student moves to another location and connects to a different Wi-Fi network, the laptop should ideally continue its communication without interrupting an ongoing connection. Mobile IP is designed to support this kind of mobility.
2. IP Addressing in Mobile IP
An IP address traditionally contains two parts:
Prefix: Identifies the network to which the host belongs.
Suffix: Identifies the host within that network.
For example, the IP address 10.3.4.24/8 belongs to the network 10.0.0.0/8.
In a conventional IP network, routers use the network prefix to forward packets to the correct network. Therefore, when a host moves to another network, its original IP address may not identify its new network correctly.
Why is a different addressing approach required?
A simple solution is to assign the mobile host a new IP address whenever it moves. However, this has several disadvantages:
Configuration files may need to be changed.
The computer may need to be rebooted.
DNS tables may need updating.
Ongoing communication may be interrupted because the IP addresses and port numbers used for a connection must remain constant during that connection.
Mobile IP uses two addresses to overcome this problem.
3. Home Address and Care-of Address
Home Address
The home address is the permanent IP address of the mobile host. It identifies the host with its home network, which is its permanent network.
It remains unchanged when the host moves.
It is associated with the host's home network.
Other hosts can continue addressing packets to this permanent address.
Care-of Address (CoA)
The care-of address is a temporary IP address associated with the foreign network the mobile host visits.
It identifies the mobile host's current location for packet delivery.
It changes when the host moves to another foreign network.
The mobile host obtains it during the agent discovery and registration process.
4. Example: How the Two Addresses Work
Suppose a laptop has the following addresses:
At the home network
Home address: 131.5.24.8/16
The laptop's permanent address.
Laptop moves to a foreign network
At the foreign network
Home address: 131.5.24.8/16
Care-of address: 14.13.16.9/8
The home address stays the same, while the care-of address identifies the current foreign-network location in this example.
The example addresses are illustrative. The important point is that the home address remains unchanged, but the care-of address changes as the mobile host moves between networks.
5. Comparison: Home Address vs Care-of Address
Feature | Home Address | Care-of Address |
|---|---|---|
Nature | Permanent | Temporary |
Association | Home network | Foreign network |
Changes when the host moves? | No | Yes, when the host changes its foreign-network location |
Main purpose | Identifies the mobile host permanently | Indicates its current location for packet delivery |
Key points
Mobile IP supports communication while a host moves between networks.
Traditional IP addressing assumes that a host is attached to a specific network.
Changing the IP address at every new network can interrupt ongoing communication.
The home address is permanent and associated with the home network.
The care-of address is temporary and associated with the foreign network.
The mobile host obtains its care-of address during agent discovery and registration.

Comments
Post a Comment