![]() |
IP Mobility: Mobile IP Configuration Guide, Cisco IOS Release 15M&T
|
||||||||||||||||
Mobile IP NAT Detect
![]() |
|||||||||||||||||
|
Contents
Mobile IP NAT DetectLast Updated: December 2, 2012
Network Address Translation (NAT) allows an organization with nonglobally routable addresses to connect to the Internet by translating those addresses into globally routable address space. Traditional Mobile IP tunneling has been incompatible with NAT. The Mobile IP--NAT Detect feature is a new service on the home agent that allows it to tunnel traffic to Mobile IP clients with private IP addresses behind a NAT-enabled device. The home agent is now capable of detecting a registration request that has traversed a NAT-enabled device and applying a tunnel to reach the Mobile IP client. 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. Restrictions for Mobile IP NAT DetectThis feature is supported for mobile nodes using a collocated care-of address only. Mobile nodes using a foreign agent care-of address behind a NAT gateway cannot be detected by the home agent. How to Configure Mobile IP NAT DetectConfiguring NAT Detect
SUMMARY STEPS
DETAILED STEPS Verifying the NAT Detect Configuration
SUMMARY STEPS
DETAILED STEPS Configuration Examples for Mobile IP NAT DetectHome Agent with NAT Detect ExampleIn the following example, the home agent can detect registration requests from a mobile node behind a NAT-enabled router. The mobile node will use the NAT inside address as the collocated care-of address used in its registration requests. Home Agentip routing ! interface ethernet1 ip address 1.0.0.1 255.0.0.0 ! interface ethernet2 ip address 2.0.0.1 255.0.0.0 ! router mobile ! router ospf 100 redistribute mobile subnets metric 1500 network 1.0.0.0 0.255.255.255 area 0 network 2.0.0.0 0.255.255.255 area 0 ! ip mobile home-agent lifetime 65535 nat-detect replay 255 ip mobile virtual-network 65.0.0.0 255.0.0.0 ip mobile host 65.1.1.1 65.1.1.10 virtual-network 65.0.0.0 255.0.0.0 ip mobile secure host 65.1.1.1 65.1.1.10 spi 100 key hex 12345678123456781234567812345678 ! Router Configured with NATip routing ! interface ethernet2 ip address 2.0.0.2 255.0.0.0 ip nat outside ! interface e4 ip address 4.0.0.1 255.0.0.0 ip nat outside ! ! Outside address 2.0.0.101 used for any packet coming from inside 4.0.0.101 ! 4.0.0.101 is the collocated care-of address used by MN to register ip nat inside source static 4.0.0.101 2.0.0.101 router mobile ! router ospf 100 network 2.0.0.0 0.255.255.255 area 0 network 4.0.0.0 0.255.255.255 area 0 ! Additional ReferencesFor additional information related to the Mobile IP--NAT Detect feature, refer to the following sections: Related Documents
MIBs
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://tools.cisco.com/ITDIT/MIBS/servlet/index If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL: Technical 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 . Glossarycare-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.
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.
|
||||||||||||||||
|
|