![]() |
IP Mobility: Mobile Networks Configuration Guide, Cisco IOS Release 15M&T
|
||||||||
Mobile IP - Foreign Agent Local Routing to Mobile Networks
![]() |
|||||||||
|
Contents
Mobile IP - Foreign Agent Local Routing to Mobile NetworksLast Updated: December 2, 2012
In previous releases of Cisco IOS software, traffic from a correspondent node to a mobile router must always go through the mobile router's home agent (HA). The Mobile IP - Foreign Agent Local Routing to Mobile Networks feature allows traffic from local devices attached to the foreign agent (FA) to be routed directly through the FA to the mobile networks of mobile routers that are visiting the FA's subnets. Direct routing is accomplished by injecting routes to the mobile network into the routing table of the FA. The Mobile IP - Foreign Agent Local Routing to Mobile Networks feature is useful in scenarios in which a mobile router needs to receive high bandwidth traffic, such as streaming video, from a device on the local LAN of the FA. This feature can also be useful any time that the bandwidth between the FA and the HA is limited.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for Foreign Agent Local Routing to Mobile NetworksModifications to the home agent were made to support foreign agent local routing. You must be running Cisco IOS Release 12.3(7)T or higher for both the home agent and foreign agent for this feature to function properly. Restrictions for Foreign Agent Local Routing to Mobile Networks
Information About Foreign Agent Local Routing to Mobile Networks
Foreign Agent Local Routing to Mobile Networks Feature DesignThe Mobile IP - Foreign Agent Local Routing to Mobile Networks feature allows traffic from a correspondent node on a local subnet to route directly through the foreign agent (FA) to a mobile network that is visiting the FA. This direct routing is accomplished by injecting mobile network routes into the routing table of the FA. This feature is useful in scenarios in which a mobile router needs to receive high bandwidth traffic, such as streaming video, from a device on the local LAN of the FA. An example of such a scenario is diagrammed in the figure below. In this scenario, a police officer has been called to a bank where an incident is occurring. The mobile router in the police officer's car registers with the FA and connects to the video streaming server, a correspondent node, that is located inside the bank. The police officer may then watch live video of the incident that is occurring inside the bank, gaining valuable information about how to proceed with handling the incident safely. Before the introduction of the Mobile IP - Foreign Agent Local Routing to Mobile Networks feature, the streaming video from the correspondent node in the bank would be routed from the FA to the HA, then back to the FA, and finally to the mobile router. This behavior, known as triangular routing, is not desirable for latency-sensitive applications. If a second police car arrived and wanted to watch the video as well, the already limited bandwidth between the FA and the HA would be even further taxed. The Mobile IP - Foreign Agent Local Routing to Mobile Networks feature allows traffic from the local corresponding node to be routed directly from the FA to the mobile router, eliminating the unnecessary trip to the HA. Benefits of Foreign Agent Local Routing to Mobile NetworksThe Mobile IP - Foreign Agent Local Routing to Mobile Networks feature improves latency by allowing the FA to route traffic directly to mobile networks rather than routing through the HA. This feature is useful in scenarios in which a mobile router needs to receive high bandwidth traffic, such as streaming video, from a device on the local LAN of the FA. This feature can also be useful any time that the bandwidth between the FA and the HA is limited. How to Configure Foreign Agent Local Routing to Mobile NetworksConfiguring Local Routing to Mobile Networks on the Foreign AgentSUMMARY STEPS
DETAILED STEPS Troubleshooting TipsModifications to the home agent were made to support foreign agent local routing. You must be running Cisco IOS Release 12.3(7)T or higher for both the home agent and foreign agent for this feature to function properly. If the home agent version is lower than that, the foreign agent will report the following debug output from the debug ip mobile command: *Jan 13 21:30:38.283: MobileIP: Parsing Dynamic Mobile Networks extension for MR10.2.2.2 *Jan 13 21:30:38.283: MobileIP: Parsed Mobile Network 0.0.0.0:0.0.0.0 for MR 10.2.2.2 You can recognize this problem by observing that the debug output on the foreign agent only indicates the single network of 0.0.0.0 0.0.0.0. Configuring an Access ListTo restrict which mobile networks will have their local routes injected into the FA routing table, you may choose to configure an access list. You can configure either a named access list or a numbered access list. Perform one of the following tasks to configure an access list on the FA: Configuring a Named Access ListSUMMARY STEPS
DETAILED STEPS Configuring a Numbered Access ListSUMMARY STEPS
DETAILED STEPS Configuration Examples for Foreign Agent Local Routing to Mobile Networks
Foreign Agent Local Routing to Mobile Networks Using a Named Access List ExampleThe following example configures the FA for local routing and uses a named access list: ip mobile foreign-agent care-of Ethernet2/2 ip mobile foreign-agent inject-mobile-networks mobnetacl mobile-net-list ip mobile foreign-agent reg-wait 120 ip mobile secure home-agent 10.10.10.1 spi 1400 key hex 12345678123456781234567812345678 algorithm hmac-md5 ! ip access-list standard mobile-net-list permit any Foreign Agent Local Routing to Mobile Networks Using a Numbered Access List ExampleThe following example configures the FA for local routing and uses a numbered access list: ip mobile foreign-agent care-of Ethernet2/2 ip mobile foreign-agent inject-mobile-networks mobnetacl 88 ip mobile foreign-agent reg-wait 120 ip mobile secure home-agent 10.10.10.1 spi 1400 key hex 12345678123456781234567812345678 algorithm hmac-md5 ! access-list 88 permit any Additional ReferencesThe following sections provide references related to the Mobile IP - Foreign Agent Local Routing to Mobile Networks feature. Related Documents
MIBsTechnical AssistanceCommand ReferenceThe following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS IP Mobility Command Reference at http://www.cisco.com/en/US/docs/ios/ipmobility/command/reference/imo_book.html. For information about all Cisco IOS commands, go to the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or to the Cisco IOS Master Commands List . Glossarycorrespondent node --A peer with which a mobile node or mobile router is communicating. A correspondent node may be either stationary or mobile. foreign agent --A router on the visited foreign network that provides routing services to the mobile node while registered. The foreign agent detunnels and delivers packets to the mobile node or mobile router that were tunneled by the home agent of the mobile node. For packets sent by a mobile node, the foreign agent may serve as a default router for registered mobile nodes. home agent --A router on a home network of the mobile node that tunnels packets to the mobile node or mobile router while they are away from home. It keeps current location information for registered mobile nodes called a mobility binding. mobile network --A network that moves with the mobile router. A mobile network is a collection of hosts and routes that are fixed with respect to each other but are mobile, as a unit, with respect to the rest of the Internet. mobile node --A host or router that changes its point of attachment from one network or subnet to another. A mobile node may change its location without changing its IP address; it may continue to communicate with other Internet nodes at any location using its home IP address, assuming that link-layer connectivity to a point of attachment is available. mobile router --A mobile node that is a router. It provides for the mobility of one or more entire networks moving together, perhaps on an airplane, a ship, a train, an automobile, a bicycle, or a kayak. The nodes connected to a network served by the mobile router may themselves be fixed nodes or mobile nodes or routers.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||
|
|