Using HSRP for Home Agent Redundancy
Problem
You want to set up redundant Home Agents to improve network availability for your Mobile Nodes.
Solution
For this recipe, we must configure two nearly identical Home Agent routers. Here is the configuration of the first one:
RouterHome1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterHome1(config)#interface
RouterHome1(config-if)#
FastEthernet0/0
ip address
RouterHome1(config-if)#
192.168.9.2 255.255.255.0
standby
1
ip
RouterHome1(config-if)#
192.168.9.1
standby
1
name
RouterHome1(config-if)#
HA-GROUP
exit
RouterHome1(config)#router mobile
RouterHome1(config-router)#exit
RouterHome1(config)#router eigrp
RouterHome1(config-router)#
99
redistribute mobile
RouterHome1(config-router)#network
RouterHome1(config-router)#
192.168.9.0
network
RouterHome1(config-router)#
192.168.10.0
default-metric
RouterHome1(config-router)#
10000 10 255 1 1500
no auto-summary
RouterHome1(config-router)#exit
RouterHome1(config)#ip mobile home-agent address
RouterHome1(config)#
192.168.9.1
ip mobile home-agent redundancy
HA-GROUP
virtual-network
RouterHome1(config)#ip mobile virtual-network
RouterHome1(config)#
192.168.10.0 255.255.255.0
ip mobile host
192.168.10.1 192.168.10.254
virtual-network
RouterHome1(config)#
192.168.10.0 255.255.255.0
ip mobile secure home-agent
192.168.9.3
spi
100
key ascii
RouterHome1(config)#
cisco
ip mobile secure host
192.168.10.110
spi
100
key ascii
RouterHome1(config)#
cookbook
ip mobile secure host
192.168.10.111 ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.