Configuring Mobile IP
Mobile IP Configuration Examples
IPC-183
Cisco IOS IP Configuration Guide
Mobile Node and Home Agent on Same Subnet
In this example, a loopback address is configured on the HA to be on the same subnet as the virtual
network. A mobile node on a virtual network uses the HA IP address=loopback address configured for
the virtual network. When a standby HA comes up, it uses this HA IP address to retrieve mobility
bindings for mobile nodes on the virtual network.
HA1 Configuration
interface ethernet0
ip address 1.0.0.1 255.0.0.0
standby ip 1.0.0.10
standby name SanJoseHA
! loopback to receive registration from MN on virtual-network
interface loopback0
ip address 20.0.0.1 255.255.255.255
ip mobile home-agent
! address used by Standby HA for redundancy (update and download)
ip mobile virtual-network 20.0.0.0 255.0.0.0 address 20.0.0.1
ip mobile home-agent standby SanJoseHA virtual-network
ip mobile secure home-agent 1.0.0.2 spi 100 key hex 00112233445566778899001122334455
HA2 Configuration
interface ethernet0
ip address 1.0.0.2 255.0.0.0
standby ip 1.0.0.10
standby name SanJoseHA
! loopback to receive registration from MN on virtual-network
interface loopback0
ip address 20.0.0.1 255.255.255.255
ip mobile home-agent
! address used by Standby HA for redundancy (update and download)
ip mobile virtual-network 20.0.0.0 255.0.0.0 address 20.0.0.1
ip mobile home-agent standby SanJoseHA virtual-network
ip mobile secure home-agent 1.0.0.1 spi 100 key hex 00112233445566778899001122334455
HA Redundancy for a Virtual Network Using Multiple Physical Networks Example
This section presents two configuration examples:
• The mobile node and home agent are on different subnets.
• The mobile node and home agent are on the same subnet.
Mobile Node and Home Agent on Different Subnets
HA1 and HA2 share responsibility in providing home agent service for mobile nodes on virtual network
20.0.0.0. Both home agents are configured with a global home agent address of 10.0.0.10, which is the
address of their loopback interface. This configuration allows home agents to receive registration
requests and packets destined to 10.0.0.10.
The loopback address is used as the global HA address instead of the HSRP group addresses 1.0.0.10
and 2.0.0.10 to allow the HAs to continue serving the virtual network even if either physical network
goes down.