Table Of Contents
Cisco Mobile Networks—Static Collocated Care-of Address
Prerequisites for Cisco Mobile Networks—Static CCoA
Restrictions for Cisco Mobile Networks—Static CCoA
Information About the Cisco Mobile Networks—Static CCoA
Benefits of Cisco Mobile Networks—Static CCoA
Feature Design of Cisco Mobile Networks—Static CCoA
How to Configure Cisco Mobile Networks—Static CCoA
Enabling Static CCoA Processing on a Mobile Router Interface
Verifying the Static CCoA Configuration
Configuration Examples for Cisco Mobile Networks—Static CCoA
Mobile Networks with Static CCoA Example
ip mobile router-service collocated
ip mobile router-service collocated registration retry
show ip mobile router interface
show ip mobile router registration
Cisco Mobile Networks—Static Collocated Care-of Address
The Cisco Mobile Networks—Static Collocated Care-of Address feature allows a mobile router to roam to foreign networks where foreign agents are not deployed. Before the introduction of this feature, the mobile router was required to use a foreign agent care-of address when roaming. Now a roaming interface with a static IP address configured on the mobile router itself works as the collocated care-of address (CCoA).
Feature Specifications for Cisco Mobile Networks—Static Collocated Care-of Address
Feature History Release Modification12.2(15)T
This feature was introduced.
Supported PlatformsFor information about platforms supported, refer to Cisco Feature Navigator.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for Cisco Mobile Networks—Static CCoA
•
Restrictions for Cisco Mobile Networks—Static CCoA
•
Information About the Cisco Mobile Networks—Static CCoA
•
How to Configure Cisco Mobile Networks—Static CCoA
•
Configuration Examples for Cisco Mobile Networks—Static CCoA
Prerequisites for Cisco Mobile Networks—Static CCoA
Static CCoA applies to networks where the endpoint IP address is always fixed, such as in a Cellular Digital Packet Data (CDPD) wireless network.
Restrictions for Cisco Mobile Networks—Static CCoA
Static CCoA is not recommended for environments where the endpoint IP address is not always fixed such as in the Dynamic Host Configuration Protocol (DHCP) or PPP/IPCP where the CCoA and gateway IP address are obtained dynamically.
Information About the Cisco Mobile Networks—Static CCoA
Before you configure static CCoA, you should understand the following concepts:
•
Benefits of Cisco Mobile Networks—Static CCoA
•
Feature Design of Cisco Mobile Networks—Static CCoA
Care-of Addresses
If a mobile node or mobile router determines that it is connected to a foreign network, it acquires a care-of address. This care-of address is the exit-point of the tunnel towards the mobile node. The care-of address is included in the Mobile IP registration request and is used by the home agent to forward packets to the mobile node in its current location. Two types of care-of addresses exist:
•
Care-of address acquired from a foreign agent
•
Collocated care-of address
A foreign agent care-of address is an IP address on a foreign agent that is advertised on the foreign network being visited by a mobile node. A mobile node that acquires this type of care-of address can share the address with other mobile nodes. A collocated care-of address is an IP address assigned to the interface of the mobile node itself. A collocated care-of address represents the current position of the mobile node on the foreign network and can be used by only one mobile node at a time.
For the Cisco Mobile Networks—Static CCoA feature, a static collocated care-of address is a fixed IP address configured on a roaming interface of the mobile router.
CCoA support using a dynamically acquired IP address will be available in a future release.
Benefits of Cisco Mobile Networks—Static CCoA
This feature allows a mobile router to roam to foreign networks where foreign agents are not deployed.
Feature Design of Cisco Mobile Networks—Static CCoA
In general, static CCoA is intended for links where there are no foreign agents. If foreign agents are present, the interface will not support foreign agent care-of address roaming while the interface is configured for static CCoA. Any foreign agent advertisements detected on that interface will be ignored. A static CCoA interface will solicit advertisements if configured but will not automatically solicit advertisements when the interface comes up. This behavior overrides the default behavior—typically, in the Cisco Mobile Networks feature, when an interface goes down and comes back up, foreign agent advertisements are solicited automatically.
When the mobile router registers a CCoA with a home agent, a single HA-CCoA tunnel is created and is used for traffic to the mobile router and its mobile networks.
The static CCoA configured on the mobile router interface will become the endpoint of the HA-CCoA tunnel as the home agent tunnels packets to the mobile router. The mobile router will use this same tunnel to reverse tunnel packets back to the home agent if configured.
How to Configure Cisco Mobile Networks—Static CCoA
This section contains the following procedures:
•
Enabling Static CCoA Processing on a Mobile Router Interface
•
Verifying the Static CCoA Configuration
Enabling Static CCoA Processing on a Mobile Router Interface
To enable static CCoA processing on a mobile router interface, use the following commands:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip address ip-address mask
5.
ip mobile router-service roam
6.
ip mobile router-service collocated [gateway ip-address]
7.
ip mobile router-service collocated registration retry seconds
DETAILED STEPS
Troubleshooting Tips
The gateway IP address required on Ethernet interfaces is the next-hop IP address, not the CCoA. The gateway IP address must be on the same logical subnet as the primary interface address.
Verifying the Static CCoA Configuration
To verify the static CCoA configuration, perform the following optional steps:
SUMMARY STEPS
1.
show ip mobile router interface
2.
show ip mobile router agent
3.
show ip mobile router registration
4.
show ip mobile router
DETAILED STEPS
Configuration Examples for Cisco Mobile Networks—Static CCoA
This section provides the following configuration example:
•
Mobile Networks with Static CCoA Example
Mobile Networks with Static CCoA Example
The following example shows a mobile router configured with a static CCoA address of 172.21.58.23 and a next-hop gateway address of 172.21.58.1.
interface loopback 0! MR home addressip address 10.1.0.1 255.255.255.255!!Static CCoAinterface FastEthernet0/0ip address 172.21.58.23 255.255.255.0ip mobile router-service roamip mobile router-service collocated gateway 172.21.58.1ip mobile router-service collocated registration retry 3!router mobile!ip mobile routeraddress 10.1.0.1 255.255.255.255home-agent 1.1.1.1ip mobile secure home-agent 1.1.1.1 spi 100 key hex 12345678123456781234567812345678Additional References
For additional information related to Cisco Mobile Networks—Static Collocated Care-of Address, see the following references:
•
MIBs
•
RFCs
Related Documents
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2T command reference publications.
New Commands
•
ip mobile router-service collocated
•
ip mobile router-service collocated registration retry
Modified Commands
•
show ip mobile router interface
•
show ip mobile router registration
collocated single-tunnel
To configure the number of tunnels between the mobile router and home agent when registering with a collocated care-of address (CCoA), use the collocated single-tunnel command in mobile router configuration mode.
collocated single-tunnel
Syntax Description
This command has no arguments or keywords.
Defaults
Defaults to single-tunnel enabled.
Command Modes
Mobile router
Command History
Usage Guidelines
This command is used as a "placeholder" only and defaults to single-tunnel enabled. This command can not be unconfigured. In future Cisco IOS releases, a dual-tunnel capability will be needed for IPSec between the mobile router and the home agent. At that time, this command will be optional with dual tunnels (no collocated single-tunnel) being the default. This command is only provided now for backward compatibility when the dual-tunnel capability is implemented.
ip mobile router-service collocated
To enable static collocated care-of address (CCoA) processing on a mobile router interface, use the ip mobile router-service collocated command in interface configuration mode. To disable static CCoA processing, use the no form of this command.
ip mobile router-service collocated [gateway ip-address]
no ip mobile router-service collocated
Syntax Description
gateway ip-address
(Optional) Next hop IP address for the mobile router to forward packets. The gateway ip-address combination is required only for Ethernet interfaces.
Defaults
No default behavior or values
Command Modes
Interface configuration
Command History
Usage Guidelines
The primary IP address of the interface is used as the CCoA. The interface must already be configured as a roaming interface using the ip mobile router-service roam interface configuration command.
The gateway IP address is the next-hop IP address for registration packets. Upon successful registration, this address will be used as the default gateway and default route.
You need not specify the gateway ip-address combination if using a serial interface. The gateway ip-address combination is required on all non point-to-point interfaces such as Ethernet LANs and must be on the same logical subnet as the primary interface IP address.
Examples
The following example enables static CCoA processing on a mobile router interface:
interface FastEthernet0/0! Primary IP address is the CCoAip address 172.21.58.23 255.255.255.0ip mobile router-service roam! Gateway IP address is next-hop destinationip mobile router-service collocated gateway 172.21.58.1Related Commands
Command DescriptionConfigures the time period that the mobile router waits before sending another registration request after a registration failure.
ip mobile router-service collocated registration retry
To configure the time period that the mobile router waits before sending another registration request after a registration failure, use the ip mobile router-service collocated registration retry command in interface configuration mode. To disable this functionality, use the no form of this command.
ip mobile router-service collocated registration retry seconds
no ip mobile router-service collocated registration retry
Syntax Description
Defaults
60 seconds
Command Modes
Interface configuration.
Command History
Usage Guidelines
An interface configured for static collocated care-of address (CCoA) will not have foreign agent advertisements to use to trigger new registration attempts. Any foreign agent advertisements detected on that interface are ignored.
The default retry value is 60 seconds. You need to use this command only when a different retry interval is desired.
Examples
The following example shows that the mobile router will wait 30 seconds before sending another registration request after a registration failure:
interface FastEthernet0/0! Primary IP address is the CCoAip address 172.21.58.23 255.255.255.0ip mobile router-service roamip mobile router-service collocated gateway 172.21.58.1ip mobile router-service collocated registration retry 30Related Commands
show ip mobile router
To display configuration information and monitoring statistics about the mobile router, use the show ip mobile router command in privileged EXEC mode.
show ip mobile router
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The display includes the mobile router configuration information such as the home address and network mask, home agent, and registration settings, and operational information such as status, tunnel interface, active foreign agent, and care-of address.
Examples
The following is sample output from the show ip mobile router command:
Router# show ip mobile routerMobile RouterEnabled 05/30/02 11:16:03Last redundancy state transition 05/30/02 11:15:01Configuration:Home Address 20.0.4.1 Mask 255.255.255.0Home Agent 46.0.0.3 Priority 100 (best) (current)Registration lifetime 120 secRetransmit Init 1000, Max 5000 msec, Limit 3Extend Expire 120, Retry 3, Interval 10Redundancy group AlwaysUp (active)Mobile Networks:Ethernet5 (200.0.0.0/255.255.255.248)Ethernet2 (46.0.0.0/255.0.0.0)Ethernet3 (44.0.0.0/255.255.255.0)Monitor:Status -Registered-Active foreign agent 11.0.0.2, Care-of 11.0.0.2On interface Serial0Tunnel0The following is sample output from the show ip mobile router command when a mobile router is registered using a CCoA:
Router# show ip mobile routerMobile RouterEnabled 02/12/02 18:29:13Last redundancy state transition NEVERConfiguration:Home Address 20.0.4.1 Mask 255.255.255.0Home Agent 46.0.0.3 Priority 100 (best)Registration lifetime 120 secRetransmit Init 1000, Max 5000 msec, Limit 3Extend Expire 120, Retry 3, Interval 10Monitor:Status -Registered-Using Collocated Care-of Address 44.0.0.1On interface Ethernet1Tunnel0Table 1 describes the significant fields shown in the display.
Related Commands
show ip mobile router agent
To display information about the agents for the mobile router, use the show ip mobile router agent command in privileged EXEC mode.
show ip mobile router agent
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command displays a list containing information on all foreign agents currently discovered on the mobile router. This list also displays information about each interface configured for static CCoA. An interface must be "up" to be displayed on the list.
You can use the clear ip mobile router agent command to clear foreign agent care-of addresses (CoAs) but not static CCoAs. CCoAs cannot be cleared.
Examples
The following is sample output from the show ip mobile router agent command when a static CCoA is configured on a mobile router interface:
Router# show ip mobile router agentMobile Router Agents:Foreign agent 45.0.0.2:Care-of address 42.0.0.2Interface Ethernet1, MAC 0030.9492.6627Agent advertisement seq 56649, Flags rbhFmGvt, Lifetime 36000IRDP advertisement lifetime 30, Remaining 29Last received 02/13/02 17:55:48First heard 02/13/02 11:21:46Collocated Care-of address 11.0.0.1:Interface Serial0Registration retry interval 60Next CCoA reg attempt in 00:00:55 secondsTable 2 describes the significant fields shown in the display.
Related Commands
Command Descriptionclear ip mobile router agent
Deletes learned agents and the corresponding care-of address of the foreign agent from the mobile router agent table.
show ip mobile router interface
To display information about the interfaces configured for roaming, use the show ip mobile router interface command in privileged EXEC mode.
show ip mobile router interface
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Privileged EXEC
Command History
Release Modification12.2(4)T
This command was introduced.
12.2(15)T
This command was enhanced to display information about collocated care-of addresses (CCoAs).
Usage Guidelines
The mobile router uses the interfaces for roaming, discovering foreign agents, and registering its location on the foreign network.
Use this command to display information about roaming interfaces. If the interface is configured for collocated care-of address (CCoA), the CCoA (IP address) is displayed. If it is not configured for CCoA, "none" is displayed. The interface can be up or down.
Examples
The following is sample output from the show ip mobile router interface command:
Router# show ip mobile router interfaceMobile Router Interfaces:Listed in order of preference.Ethernet1:Priority 100, Bandwidth 10000, Address 45.0.0.20Periodic solicitation disabled, Interval 600 secRetransmit Init 1000, Max 5000 msec, Limit 3Current 5000, Remaining 0 msec, Count 7Hold down 0 secRouting disallowedCollocated CoA 45.0.0.20Serial0:Priority 100, Bandwidth 1544, Address 11.0.0.1Periodic solicitation disabled, Interval 600 secRetransmit Init 1000, Max 5000 msec, Limit 3Current 0, Remaining 0 msec, Count 0Hold down 0 secRouting disallowedCollocated CoA noneTable 3 describes the significant fields shown in the display.
Related Commands
Command DescriptionEnables mobile router service on an interface.
Enables static CCoA processing on a mobile router interface.
show ip mobile router registration
To display pending and/or accepted registrations of the mobile router, use the show ip mobile router registration command in privileged EXEC mode.
show ip mobile router registration
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Privileged EXEC
Command History
Examples
The following is sample output from the show ip mobile router registration command:
Router# show ip mobile router registrationMobile Router Registrations:Foreign Agent 44.0.0.1:Registration accepted 01/15/01 10:04:01, On Ethernet2/2Care-of addr 41.0.0.1, HA addr 49.0.0.3, Home addr 49.0.0.5Lifetime requested 01:00:00 (3600), Granted 00:30:00 (1800)Remaining 00:20:13Flags sbdmgvt, Identification BE0D49E5.5E1C56E4Register next time 00:18:13ExtensionsMobile Network 44.0.0.0/8MN-HA Authentication SPI 100The following is sample output from the show ip mobile router registration command if a mobile router interface is configured with a CCoA:
Home agent 4.4.4.3:Registration accepted 01/01/02 10:24:46, On Ethernet5/3Collocated care-of addr 3.3.3.2, HA addr 4.4.4.3, Home addr 4.4.4.2Lifetime requested 00:01:30 (90), Granted 00:01:30 (90)Remaining 00:01:08Flags sbDmg-T-, Identification BFDC0CEE.C7A75D64Register next time 00:00:23Extensions:Mobile Network 95.95.95.0/24MN-HA Authentication SPI 100Table 4 describes the significant fields shown in the display.
Related Commands
Glossary
care-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.
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.
link—A facility or medium over which mobile nodes communicate at the link layer. A link underlies the network layer.
Note
Refer to the Internetworking Terms and Acronyms for terms not included in this glossary.

