Mobile IP adds mobility support to the Internet network layer protocol IP. It allows nodes to continue receiving datagrams no matter where they are attached to the Internet. Mobile IP uses home agents and foreign agents to tunnel packets to a mobile node's current location, represented by its care-of address. When away from its home network, a mobile node registers its care-of address with its home agent. The home agent intercepts packets destined for the mobile node and tunnels them to the care-of address using encapsulation. This allows the mobile node to maintain its home IP address while connecting via foreign networks.