Cisco Systems 78-11741-02 manual IPC-190, Interface ethernet1

Models: 78-11741-02

1 624
Download 624 pages 46.69 Kb
Page 236
Image 236

Configuring Mobile IP

Mobile IP Configuration Examples

Note All routers must have identical loopback interface addresses, which will be used as the global HA address. However, do not use this address as the router ID for routing protocols.

When the peer home agent receives the registration update, both home agents tunnel the packets to the mobile nodes.

HA1 Configuration

interface ethernet0

ip address 1.0.0.1 255.0.0.0 standby ip 1.0.0.10 standby name SanJoseHANet1

interface ethernet1

ip address 2.0.0.1 255.0.0.0 standby ip 2.0.0.10 standby name SanJoseHANet2

interface loopback0

ip address 10.0.0.10 255.255.255.255

!Specifies

global HA address=loopback address to be used by all mobile nodes

ip mobile

home-agent address 10.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

ip mobile

virtual-network 40.0.0.0 255.0.0.0

! Used to map to the HSRP group SanJoseHANet1

ip mobile

home-agent standby SanJoseHANet1 virtual-network

! Used to map to the HSRP group SanJoseHANet2

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 SanJoseHANet1

interface ethernet1

ip address 2.0.0.2 255.0.0.0 standby ip 2.0.0.10 standby name SanJoseHANet2

interface loopback0

ip address 10.0.0.10 255.255.255.255

!Specifies

global HA address=loopback address to be used by all mobile nodes

ip mobile

home-agent address 10.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

ip mobile

virtual-network 40.0.0.0 255.0.0.0

! Used to map to the HSRP group SanJoseHANet1

ip mobile

home-agent standby SanJoseHANet1 virtual-network

! Used to map to the HSRP group SanJoseHANet2

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-190

Page 236
Image 236
Cisco Systems 78-11741-02 manual IPC-190, Interface ethernet1