Configuring Mobile IP

Mobile IP Configuration Examples

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

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 networks. 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 networks.

HA1 Configuration

interface ethernet0

ip addr 1.0.0.1 255.0.0.0 standby ip 1.0.0.10 standby name SanJoseHANet1

interface ethernet1

ip addr 2.0.0.1 255.0.0.0 standby ip 2.0.0.10 standby name SanJoseHANet2

!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 SanJoseHANet1 virtual-network

ip mobile home-agent standby SanJoseHANet2 virtual-network

ip mobile secure home-agent 1.0.0.2 spi 100 key hex 00112233445566778899001122334455 ip mobile secure home-agent 2.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

interface ethernet1

ip address 2.0.0.2 255.0.0.0 standby ip 2.0.0.10 standby name SanJoseHANet2

!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 SanJoseHANet1 virtual-network

ip mobile home-agent standby SanJoseHANet2 virtual-network

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

Cisco IOS IP Configuration Guide

IPC-185

Page 231
Image 231
Cisco Systems 78-11741-02 manual IPC-185