Contents
- What is NAT?
- What are the main differences between Cisco IOS NAT and Cisco's PIX firewall implementation of NAT?
- On which Cisco routing platforms is Cisco IOS NAT available? How do I order it?
- How many concurrent NAT sessions are supported in Cisco IOS NAT?
- What kind of routing performance can I expect when I use Cisco IOS NAT?
- Can Cisco IOS NAT be applied to subinterfaces?
- Can Cisco IOS NAT be used with HSRP to provide redundant links to an ISP?
- Does Cisco IOS NAT support inbound translations on a serial trunk running Frame Relay? Does it support outbound translations on the Ethernet side?
- What is NAT "overloading"?
- When configuring for overloading, what is the maximum number of translations that can be made with one inside global IP address?
- What is the maximum number of configurable NAT IP pools?
- What is IP address "overlapping" as discussed within the context of NAT?
- Is it possible to build a configuration with both static and dynamic NAT translations?
- Can Cisco IOS support multiple "outside" NAT tables?
- Does NAT occur before or after policy routing?
- What happens when a host, by chance, initiates a connection on a port that is in use by another host?
- Why do I need to specify a subnet mask when configuring a NAT address pool?
- Can I allocate IP addresses from NAT router's outside interface subnet to a dynamic NAT pool?
- Why doesn't Cisco IOS NAT support SNMP traffic?
- Does Cisco IOS NAT support DNS queries?
- Q: What is NAT?
- A: Network Address Translation (NAT) is designed for IP address simplification and conservation, as it enables private IP internetworks that use nonregistered IP addresses to connect to the Internet. NAT operates on a router, usually connecting two networks together, and translates the private (not globally unique) addresses in the internal network into legal addresses before packets are forwarded onto another network. As part of this functionality, NAT can be configured to advertise only one address for the entire network to the outside world. This provides additional security, effectively hiding the entire internal network from the world behind that address. NAT has the dual functionality of security and address conservation, and is typically implemented in remote access environments.
- Q: What are the main differences between Cisco IOS NAT and Cisco's PIX firewall implementation of NAT?
- A: Cisco IOS-based NAT functionality is not fundamentally different from the NAT functionality in the PIX Firewall. The main differences involve the different traffic types supported in Cisco IOS NAT and the NAT implementation in the PIX. For detailed information on NAT functionality in the PIX, see the PIX documentation.
- Q: On which Cisco routing platforms is Cisco IOS NAT available? How do I order it?
- A: In Cisco IOS software releases 11.2 and 11.2P, full NAT functionality including Port Address Translation (PAT), which is a subset of full NAT functionality, is available only in "Plus" images.
In Cisco IOS software releases 11.3 and 11.3T, PAT is available in all base images on selected platforms. Customers requiring only PAT functionality need not purchase a "Plus" image. Only customers requiring full NAT functionality need to purchase a "Plus" image.
Beginning with Cisco IOS software release 12.0, complete Cisco IOS NAT functionality, including PAT, is available in all software images for platforms that support Cisco IOS NAT at no extra charge. Although all "Plus" images will continue to deliver full NAT functionality, customers are not required to purchase "Plus" images in order to obtain full NAT functionality. Also, beginning with Cisco IOS release 12.0, customers need not purchase a NAT Feature License for the Cisco RSP7000, 7200, and 7500 platforms in order to use NAT functionality.
Beginning with Cisco IOS software releases 11.2(13)P, 11.3(3)T, 12.0(1), and 12.0(1)T, full NAT functionality is included in all 1600 and 2500 Cisco IOS Firewall images.
NAT support for H.323 traffic will be available on selected router platforms only in Enterprise images beginning with Cisco IOS software releases 12.0 and 12.0T.
Memory requirements may vary by platform and feature set.
Refer to the following table for Cisco IOS NAT Packaging details:
Cisco IOS software release NAT Support in Base images NAT Support in "Plus" images Easy IP Support Cisco Hardware Platforms Supported 11.2 None 1 Full NAT 3 None 1 1000, 2500, 4000, 4500, 4700, AS5200, 7200, RSP7000, 7500 11.2P None 1 Full NAT 3 None 1 1000, 1600, 2500, 3620, 3640, 4000, 4500, 4700, AS5200, AS5300, Catalyst 5000 RSM, 7200, RSP7000, 7500 11.3 PAT only 2 Full NAT 3 Easy IP Phase 1 4 1000, 1600, 2500, 3620, 3640, 4000, 4500, 4700, AS5200, 7200, RSP7000, 7500 11.3T PAT only 2 Full NAT 3 Easy IP Phase 1 4 1000, 1600, 2500, 2600, 3620, 3640, 4000, 4500, 4700, AS5200, AS5300, Catalyst 5000 RSM, 7200, RSP7000, 7500 12.0 Full NAT 3 Full NAT 3 Easy IP Phase 1 4 1600, 2500, 2600, 3620, 3640, 4000, 4500, 4700, AS5200, AS5300, Catalyst 5000 RSM, 7200, RSP7000, 7500 12.0T Full NAT 3 Full NAT 3 Easy IP Phase 2 5 1600, 2500, 2600, 3620, 3640, 4000, 4500, 4700, AS5200, AS5300, Catalyst 5000 RSM, 7200, RSP7000, 7500 - 1. None
- NAT/Easy IP is not supported in these Cisco IOS software images for this release.
- 2. PAT Only
- Only PAT (Port Address Translations : "many-to-one" translations), a subset of full NAT functionality, is supported. Static and dynamic one-to-one translations are not supported in these Cisco IOS software images for this release.
- 3. Full NAT
- Full NAT functionality, including static, dynamic one-to-one translations, and PAT, is supported in these Cisco IOS software images for this release.
- 4. Easy IP Phase 1
- Includes PAT Only or Full NAT and PPP/IPCP WAN interface address negotiation functionality.
- 5. Easy IP Phase 2
- Includes PAT Only or Full NAT, PPP/IPCP WAN interface address negotiation functionality, and Cisco IOS DHCP Server functionality.
Notes:
- 12.0/12.0T NAT Packaging on Cisco 1000 Series Platforms: Full NAT functionality is provided only in Cisco 1000 Plus images in Cisco IOS releases 12.0 and 12.0T. PAT-only functionality is available in all base images for Cisco 1000 series platforms. Customers must purchase a "Plus" image in order to obtain full NAT functionality for Cisco 1000 series when using Cisco IOS releases 12.0 or 12.0T.
- Cisco IOS NAT is not available on the Cisco 7000 or 7010 platforms.
For most applications, degradation of performance due to NAT should be negligible.
Below are some NAT routing performance figures as determined in the lab in full-duplex mode, with 50 simultaneous active NAT translations, and with 10-second keepalives enabled on all interfaces:
|
|
|
|
|
|
|
|
|
|
| |
|
|
| |
|
|
| |
|
|
|
|
|
|
| |
|
|
| |
|
|
| |
|
|
|
|
|
|
| |
|
|
| |
|
|
|
** In these tests on both the 4500 and 4700, both the "inside" and "outside" interfaces were Ethernet
Based on these figures, we find that NAT performance on the 4500 series is such that, with NAT enabled, one can fill 2 Ethernets with any packet size, resulting in a throughput of at least 30,000 pps.
With NAT overload, a translation entry containing full address and port information is created. A port translation may be created if another translation is using that port number with that outside/global address. This is necessary in order to eliminate any ambiguity about which translation needs to be applied to each packet traversing the router.
Time-to-live (TTL) values on all DNS resource records (RRs) which receive address translations in RR payloads are automatically set to zero.
Cisco IOS NAT does not translate IP addresses embedded in DNS zone transfers.
Go to the Cisco IOS Network Address Translation (NAT) technical tips page.
