WIPIVERSE All articles

Care-of address

A care-of address (CoA) is a temporary IP address assigned to a mobile node (a device capable of changing its point of attachment to the internet) when it is visiting a foreign network. It is a fundamental component of Mobile IP (RFC 5944 for IPv4 and RFC 6275 for IPv6), enabling a mobile device to maintain its permanent home address—and thus ongoing transport-layer connections—while roaming across different network links.

Function and Operation In Mobile IP, a mobile node has a permanent home address on its home network. When the mobile node moves to a foreign network, it cannot use its home address for routing because standard IP routing assumes the address topology corresponds to physical location. To solve this, the mobile node acquires a care-of address on the foreign network. This address represents the mobile node's current point of attachment (topological location) from an IP routing perspective.

The mobile node registers its care-of address with a home agent (a router on the home network). The home agent intercepts packets destined for the mobile node's home address, encapsulates them (tunneling), and forwards them to the care-of address. The mobile node decapsulates the packets. Outbound packets from the mobile node are typically sent directly to the correspondent node using the home address as the source address, often requiring reverse tunneling or ingress filtering considerations.

Types of Care-of Addresses Mobile IP defines two primary modes of acquiring a care-of address:

  • Foreign Agent Care-of Address: The care-of address is the IP address of a foreign agent (a router on the foreign network providing mobility services). Multiple mobile nodes visiting the same foreign network can share the same foreign agent care-of address. The foreign agent decapsulates tunneled packets and delivers them to the mobile node on the local link (typically via link-layer addressing). This mode was common in early Mobile IPv4 deployments.
  • Co-located Care-of Address: The mobile node itself acts as the tunnel endpoint. It acquires a distinct IP address on the foreign network (e.g., via DHCP, IPv6 Stateless Address Autoconfiguration, or PPP/IPCP) and uses this address as its care-of address. The mobile node performs decapsulation locally. This mode is mandatory in Mobile IPv6 and is the prevalent model in modern implementations (including Mobile IPv4), as it removes the dependency on a foreign agent infrastructure.

Mobile IPv6 Specifics In Mobile IPv6, the concept is refined. The mobile node configures a care-of address (typically an IPv6 address with the foreign network's prefix) on its interface. It sends a Binding Update to its home agent and correspondent nodes to map its home address to the current care-of address. Mobile IPv6 uses route optimization, allowing correspondent nodes to tunnel packets directly to the care-of address after receiving a Binding Update, reducing latency and load on the home agent.

Security Considerations The binding between a home address and a care-of address is a critical security target. If an attacker can inject a fraudulent binding update (redirecting traffic to a malicious care-of address), they can intercept or disrupt communications. Mobile IP protocols mandate authentication mechanisms:

  • Mobile IPv4: Relies on IPsec ESP (Encapsulating Security Payload) or AH (Authentication Header) between the mobile node and home agent, and optionally between mobile node and foreign agent.
  • Mobile IPv6: Uses the Return Routability procedure (via Home Test and Care-of Test messages) and cryptographically generated addresses (CGA) or IPsec to authorize Binding Updates, preventing redirection attacks.

Related Concepts

  • Home Agent
  • Foreign Agent
  • Home Address
  • Triangle Routing
  • Route Optimization
  • Binding Update
Browse

More topics to explore

    Browse all articles