Configuring Mobile IP

Mobile IP Configuration Examples

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.1 spi 100 key hex 00112233445566778899001122334455

Mobile Node and Home Agent on Same Subnet

For each virtual network, a loopback address is configured on the HA to be on the same subnet as the virtual network. It is only necessary to configure one loopback interface and to assign different IP addresses to the loopback interface for each virtual network using the ip address ip-address mask [secondary] interface configuration command. A mobile node on a particular virtual network uses the HA IP address =loopback address configured for that virtual network. When a standby HA comes up, it also uses this HA IP address to retrieve mobility bindings for mobile nodes on a particular 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 each virtual-network interface loopback0

ip address 20.0.0.1 255.255.255.255

ip address 30.0.0.1 255.255.255.255 secondary

ip mobile home-agent

!address used by Standby HA for redundancy (update and download) for

!each virtual-network

ip mobile virtual-network 20.0.0.0 255.0.0.0 address 20.0.0.1 ip mobile virtual-network 30.0.0.0 255.0.0.0 address 30.0.0.1

! 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 e0

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 each virtual-network interface loopback0

ip address 20.0.0.1 255.255.255.255

ip address 30.0.0.1 255.255.255.255 secondary

ip mobile home-agent

!address used by Standby HA for redundancy (update and download) for

!each virtual-network

ip mobile virtual-network 20.0.0.0 255.0.0.0 address 20.0.0.1 ip mobile virtual-network 30.0.0.0 255.0.0.0 address 30.0.0.1

! 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-188

Page 234
Image 234
Cisco Systems 78-11741-02 manual IPC-188, Interface e0