Home Agent Configuration
Problem
You want to configure a router to act as a Home Agent for Mobile Nodes.
Solution
The first step in configuring IP Mobility in your network is to set up one or more Home Agent routers, which will act as the virtual home base and support tunnels for your roaming devices:
RouterHome#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. RouterHome(config)#interface
RouterHome(config-if)#
Loopback0
ip address
RouterHome(config-if)#
192.168.9.1 255.255.255.255
exit
RouterHome(config)#router mobile
RouterHome(config-router)#exit
RouterHome(config)#router eigrp
RouterHome(config-router)#
99
redistribute mobile
RouterHome(config-router)#network
RouterHome(config-router)#
192.168.9.0
network
RouterHome(config-router)#
192.168.10.0
default-metric
RouterHome(config-router)#
10000 10 255 1 1500
no auto-summary
RouterHome(config-router)#exit
RouterHome(config)#ip mobile home-agent address
RouterHome(config)#
192.168.9.1
ip mobile virtual-network
RouterHome(config)#
192.168.10.0 255.255.255.0
ip mobile host
192.168.10.1 192.168.10.254
virtual-network
RouterHome(config)#
192.168.10.0 255.255.255.0
ip mobile secure host
192.168.10.110
spi
100
key ascii
RouterHome(config)#
cookbook
ip mobile secure host
192.168.10.111
spi
100
key ascii
RouterHome(config)#
cookbook
ip mobile secure host
192.168.10.112
spi
100
key ascii
RouterHome(config)#
cookbook
ip mobile secure host
192.168.10.113
spi
100
key ascii
RouterHome(config)#
cookbook
ip mobile secure host
192.168.10.114 ...
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.