Foreign Agent Configuration
Problem
You want to configure a Foreign Agent router for IP Mobility to support one or more roaming Mobile Nodes.
Solution
Here is a minimal configuration for a Foreign Agent to support Mobile Nodes:
RouterForeign#configure terminalEnter configuration commands, one per line. End with CNTL/Z. RouterForeign(config)#router mobileRouterForeign(config-router)#exitRouterForeign(config)#router eigrpRouterForeign(config-router)#99networkRouterForeign(config-router)#192.168.110.0no auto-summaryRouterForeign(config-router)#exitRouterForeign(config)#interfaceRouterForeign(config-if)#Ethernet0/0ip addressRouterForeign(config-if)#192.168.110.1 255.255.255.0ip irdpRouterForeign(config-if)#ip mobile foreign-serviceRouterForeign(config-if)#exitRouterForeign(config)#ip mobile foreign-agent care-ofRouterForeign(config)#Ethernet0/0endRouterForeign#
Discussion
Throughout this recipe, when we refer to the Home Agent, we mean the configuration shown in the previous recipe. The Discussion in this recipe follows directly from Recipe 24.2.
The configuration for a Foreign Agent router is considerably simpler than what we saw in Recipe 24.2 for a Home Agent, but there are several points that you have to make sure to cover. The first thing that we have done in the configuration in the Solution section is enable IP Mobility support and configure this router to take part in the same routing protocol as the Home Agent:
RouterForeign(config)#router mobile RouterForeign(config-router)# ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access