Configuring Mobile IP

Mobile IP Configuration Examples

aaa new-model

aaaauthorization ipmobile radius

!

ip mobile home-agent

ip mobile virtual-network 20.0.0.0 255.0.0.0

ip mobile host 20.0.0.1 20.0.0.3 virtual-network 20.0.0.0 255.0.0.0 aaa load-sa

!

radius-server host 1.2.3.4 radius-server key cisco

Foreign Agent Configuration Example

In the following example, the foreign agent is providing service on Ethernet1 interface, advertising care-of address 68.0.0.31 and a lifetime of 1 hour:

interface Ethernet0

ip address 68.0.0.31 255.0.0.0 interface Ethernet1

ip address 67.0.0.31 255.0.0.0 ip irdp

ip irdp maxadvertinterval 10 ip irdp minadvertinterval 7 ip mobile foreign-service

ip mobile registration-lifetime 3600

!

router mobile

!

ip mobile foreign-agent care-of Ethernet0

Mobile IP HA Redundancy Configuration Examples

Table 7 summarizes the Mobile IP HA redundancy configuration required to support mobile nodes on physical and virtual home networks. Refer to this table for clarification as you read the examples in this section.

Table 7 Mobile IP HA Redundancy Configuration Overview

Mobile Node Home

Physical

 

 

Network

Connections

Home Agent Address

Configuration

 

 

 

 

Mobile Nodes with Home Agents on Different Subnets

 

 

 

 

 

Physical network

Single

HSRP group address

ip mobile home-agent standby

 

 

 

hsrp-group-name

 

 

 

 

Virtual network

Single

ip mobile home-agent address address

ip mobile home-agent standby

 

 

In this configuration, address is the

hsrp-group-name virtual-network

 

 

 

 

 

HSRP group address.

 

 

 

 

 

Cisco IOS IP Configuration Guide

IPC-178

Page 224
Image 224
Cisco Systems 78-11741-02 Foreign Agent Configuration Example, Mobile IP HA Redundancy Configuration Examples, IPC-178