Configuring Mobile IP

Mobile IP Configuration Examples

Figure 32 Topology Showing HA Redundancy on Multiple Virtual Networks Using One Physical Network (Same Subnet)

Active

HA1

1.0.0.1

 

HSRP

Loopback

 

group

Router

interface

address

 

 

1.0.0.2

 

Internet

 

Standby

 

HA2

 

 

 

Physical

 

 

home

 

 

network

 

Foreign

 

 

agent

 

 

Virtual

networks

44138

Mobile Node and Home Agent on Different Subnets

HA1 and HA2 share responsibility for providing home agent service for mobile nodes on virtual networks 20.0.0.0 and 30.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 ip mobile virtual-network 30.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

Cisco IOS IP Configuration Guide

IPC-187

Page 233
Image 233
Cisco Systems 78-11741-02 manual IPC-187, Interface ethernet0 Ip address 1.0.0.2