![]() |
IP Mobility: Mobile Networks Configuration Guide, Cisco IOS Release 15M&T
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cisco Mobile Networks Priority HA Assignment
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
Cisco Mobile Networks Priority HA AssignmentLast Updated: December 2, 2012
Before the introduction of the Cisco Mobile Networks--Priority HA Assignment feature, the mobile router preconfigured home agents (HAs) with different priorities, registering with only the highest priority home agent. However, a mobile router may roam to an area where registration with a closer home agent is more desirable. This feature allows a mobile router to register with the closer home agent using the combination of existing home agent priority configurations on the mobile router and care-of address access lists configured on the home agent. 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. Information About Cisco Mobile Networks Priority HA Assignment
Feature Design of Cisco Mobile Networks Priority HA AssignmentThis feature changes the behavior of the HA priority configurations on the mobile router without adding any new commands. Each HA will have an access list containing all the foreign agent care-of addresses in its region. When a mobile router sends a registration request to the best HA, the HA will accept or deny the request depending on which care-of address is used in the registration request. If the HA denies the request because the care-of address is not in the access list of that particular HA, the mobile router will try to register with the next best HA, and so on. If HAs have the same priority, then the most recently configured HA takes precedence. If registration with even the lowest priority HA fails, the mobile router will wait for an advertisement and then try to register again starting with the highest priority HA. When the mobile router registers with a new HA, it will also attempt to deregister with the old HA using the old foreign agent care-of address. Best HA Selection ProcessIf more than one HA is reachable from any care-of address that may be used by the mobile router, then the HAs need an access list (which is a foreign agent care-of address or collocated care-of address) configured to enforce the best HA selection process. This configuration enforces a region covered by a specific HA defined by the care-of addresses (configured as access lists) within the region. Registrations originating outside the region are administratively denied while registrations within the region are processed. How to Configure Cisco Mobile Networks Priority HA AssignmentConfiguring Care-of Address Access Lists on an HAThis task describes how to configure care-of address access lists on an HA. DETAILED STEPS
Troubleshooting TipsCare-of Address List OperationAny time an HA has a care-of address access list configured, the access list should permit the mobile router home address (for deregistration) and the interesting list of care-of addresses (for registration). The care-of address lists are designed to allow registrations only of a select group of care-of addresses on an HA. For priority HA assignment to work, deregistrations need to be allowed as well. The deregistration is sent with the mobile router home address in the care-of address field of the deregistration. If the home address is not permitted, any deregistration will be dropped by the access list. Priority HA assignment does not work properly if the deregistrations are dropped. Virtual Network AdvertisementsIn a network using mobile routers configured with priority HA assignment and multiple HAs, the HAs may be sharing routing information. If so, each HA will advertise a route to the same mobile virtual network through the redistribute mobile command. This situaton results in multiple routes to the same virtual network, which can cause routing conflicts and lost packets. The distribute-list command configured on each HA will prevent the advertisement of the virtual-network for the mobile routers. There is no dependency on registration for this to occur. Configuring HA Priorities on the Mobile Router
SUMMARY STEPS
DETAILED STEPS ExamplesThis section provides the following output example for the show ip mobile router command: The following example shows that the mobile router is currently registered with the best home agent located at 200.200.200.1:
Router# show ip mobile router
Mobile Router
Enabled 01/01/02 10:01:34
Last redundancy state transition NEVER
Configuration:
Home Address 5.5.5.3 Mask 255.255.255.0
Home Agent 200.200.200.1 Priority 102 (best) (current)
100.100.100.1 Priority 101
Registration lifetime 90 sec
Retransmit Init 1000, Max 5000 msec, Limit 3
Extend Expire 120, Retry 3, Interval 10
Monitor:
Status -Registered-
Active foreign agent 3.3.3.2, Care-of 3.3.3.2
On interface Ethernet5/3
Configuration Examples for Cisco Mobile Networks Priority HA AssignmentHA Priority Configuration ExampleIn the following example, two home agents are configured with access lists that allow the mobile router to choose the best HA to register with: Home Agent1interface Loopback0 ip address 100.100.100.1 255.255.255.255 ! interface Ethernet1 ip address 2.2.2.1 255.255.255.0 ! router mobile ! router ospf 100 redistribute mobile subnets network 2.0.0.0 0.255.255.255 area 0 network 100.100.100.0 0.255.255.255 area 0 ! Suppresses virtual network to be advertised in updates distribute-list 1 out ! ip mobile home-agent care-of-access HA1-FA1 ip mobile virtual-network 5.5.5.0 255.255.255.0 ip mobile host 5.5.5.3 virtual-network 5.5.5.0 255.255.255.0 lifetime 90 ip mobile mobile-networks 5.5.5.3 description Jet network 6.6.6.0 255.255.255.0 ip mobile secure host 5.5.5.3 spi 100 key hex 12345678123456781234567812345678 algorithm md5 mode prefix-suffix ! ip access-list standard HA1-FA1 ! MR CCOA permit 4.4.4.2 ! FA1 COA permit 7.7.7.1 ! MR home address permit 5.5.5.3 ! ! Denies virtual network to access-list 1 deny 5.5.5.0 0.0.0.255 access-list 1 permit any Home Agent 2interface Loopback0 ip address 200.200.200.1 255.255.255.255 ! interface Ethernet0 ip address 1.1.1.1 255.255.255.0 ! router mobile ! router ospf 100 redistribute mobile subnets network 1.0.0.0 0.255.255.255 area 0 network 200.200.200.0 0.255.255.255 area 0 ! Suppresses virtual network to be advertised in update distribute-list 1 out ! ip mobile home-agent care-of-access HA2-FA2 ip mobile virtual-network 5.5.5.0 255.255.255.0 ip mobile host 5.5.5.3 virtual-network 5.5.5.0 255.255.255.0 lifetime 90 ip mobile mobile-networks 5.5.5.3 description Jet network 6.6.6.0 255.255.255.0 ip mobile secure host 5.5.5.3 spi 200 key hex 12345678123456781234567812345678 algorithm md5 mode prefix-suffix ! ip access-list standard HA2-FA2 ! FA COA permit 3.3.3.2 ! MR home address permit 5.5.5.3 ! access-list 1 deny 5.5.5.0 0.0.0.255 access-list 1 permit any Mobile Routerinterface Loopback0 ip address 5.5.5.3 255.255.255.255 ! ! CCOA roaming interface registers with HA1 only interface Ethernet5/1 ip address 4.4.4.3 255.255.255.0 ip mobile router-service roam priority 99 ip mobile router-service collocated gateway 4.4.4.2 ! ! This roaming interface will use FA COA to register interface Ethernet5/3 ip address 3.3.3.3 255.255.255.0 ip mobile router-service roam ! ! Mobile Network interface interface Ethernet5/4 ip address 6.6.6.3 255.255.255.0 ! router mobile ! ip mobile secure home-agent 100.100.100.1 spi 100 key hex 12345678123456781234567812345678 algorithm md5 mode prefix-suffix ip mobile secure home-agent 200.200.200.1 spi 200 key hex 12345678123456781234567812345678 algorithm md5 mode prefix-suffix ! ip mobile router address 5.5.5.3 255.255.255.0 home-agent 100.100.100.1 priority 101 home-agent 200.200.200.1 priority 102 register lifetime 90 Additional ReferencesFor additional information related to the Cisco Mobile Networks--Priority HA Assignment feature, see to the following sections: Related Documents
MIBs
Technical AssistanceGlossarycare-of address --The termination point of the tunnel to a mobile node or mobile router. This can be a collocated care-of address, by which the mobile node or mobile router acquires a local address and detunnels its own packets, or a foreign agent care-of address, by which a foreign agent detunnels packets and forwards them to the mobile node or mobile router. home agent --A router on a home network of the mobile node or 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 . foreign agent --A router on the visited network of a 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. 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 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, or bicycle. 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.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|