Configuring Mobile IP

Mobile IP Configuration Examples

HA2 Configuration

interface ethernet0

ip address 1.0.0.2 255.0.0.0 standby ip 1.0.0.10 standby name SanJoseHA

ip mobile home-agent standby SanJoseHA

ip mobile secure home-agent 1.0.0.1 spi 100 key hex 00112233445566778899001122334455

HA Redundancy for a Virtual Network Using One Physical Network 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 for providing home agent service for mobile nodes on virtual network 20.0.0.0. The home agents are connected on only one physical network.

The standby group name is SanJoseHA and the HSRP group address is 1.0.0.10. Mobile IP is configured to use the SanJoseHA standby group to provide home agent redundancy. Thus, HSRP allows the home agent to receive packets destined to 1.0.0.10.

This configuration differs from the physical network example in that a global HA address must be specified to support virtual networks. This address is returned in registration replies to the mobile node.

HA1 Configuration

interface ethernet0

ip address 1.0.0.1 255.0.0.0 standby ip 1.0.0.10 standby name SanJoseHA

!specifies global HA address=HSRP group address to be used by all mobile nodes ip mobile home-agent address 1.0.0.10

ip mobile virtual-network 20.0.0.0 255.0.0.0

!used to map to the HSRP group SanJoseHA

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

!specifies global HA address=HSRP group address to be used by all mobile nodes ip mobile home-agent address 1.0.0.10

ip mobile virtual-network 20.0.0.0 255.0.0.0

!used to map to the HSRP group SanJoseHA

ip mobile home-agent standby SanJoseHA virtual-network

ip mobile secure home-agent 1.0.0.1 spi 100 key hex 00112233445566778899001122334455

Cisco IOS IP Configuration Guide

IPC-182

Page 228
Image 228
Cisco Systems 78-11741-02 manual HA2 Configuration, IPC-182