Cisco Cisco Packet Data Gateway (PDG) Guia De Resolução De Problemas

Página de 79
Network Address Translation Overview   
▀  NAT Feature Overview 
 
▄  Cisco ASR 5000 Series Network Address Translation Administration Guide 
OL-22992-01   
All downlink—inbound from external networks—IP packets that do not match one of the existing NAT bindings are 
discarded by the system. 
 
NAT Realms 
A NAT realm is a pool of unique public IP addresses available for translation from private source IP addresses. IP 
addresses in a NAT IP pool are contiguous, and assignable as a subnet or a range that constitutes less than an entire 
subnet. IP addresses configured in NAT IP pools within a context must not overlap. At any time, within a context, a 
NAT IP address must be configured in any one NAT IP pool. IP addresses can be added to a NAT IP pool as a range of 
IP addresses. 
Important:
  The minimum number of public IP addresses that must be allocated to each NAT IP pool must be 
greater than or equal to the number of Session Managers (SessMgrs) available on the system. On the ASR 5000, it is >= 
84 public IP addresses. This can be met by a range of 84 host addresses from a single Class C. The remaining space 
from the Class C can be used for other allocations. Each address has available its port range ~64K ports. 
Up to 2000 unique ―IP pools + NAT IP pools‖ can be configured per context. A maximum of three NAT IP pools/NAT 
IP pool groups can be configured in a Firewall-and-NAT policy. At any time a subscriber can be associated with a 
maximum of three different NAT IP pools/NAT IP pool groups and can have NATed flows on three different NAT IP 
addresses at the same time. 
Allocation of NAT IP addresses in NAT IP pools to subscriber traffic is based on the L3/L4 characteristics—IP 
addresses, ports, and protocol—of the subscriber flows. It is possible to configure the system to perform or not perform 
NAT based on one or more L3/L4 parameters. This feature is also known as Target-based NAT. For more information, 
see th
  section. 
NAT IP pools have the following configurable parameters. These parameters are applicable to all IP addresses in a NAT 
IP pool. 
 
 
NAT IP Address Allocation Mode: Specifies when to allocate a NAT IP address to a subscriber; either at call 
setup or during data flow based on the allocation mode. 
 
Not-on-demand Allocation Mode: This is the default mode. In this mode, the NAT IP address is 
allocated to the subscriber at call setup. If there are three NAT IP pools/NAT IP pool groups 
(maximum possible) configured in the subscriber‘s Firewall-and-NAT policy, the subscriber is 
allocated three NAT IP addresses, one from each NAT IP pool/NAT IP pool group based on rule 
matching. 
 
On-demand Allocation Mode: In this mode NAT resources are assigned and allocated dynamically 
based on subscriber flows. The NAT IP address is allocated to the subscriber when the data traffic 
flows in and not at call setup. 
In case of on-demand pools, since the NAT IP address is not allocated to the subscriber at call setup, 
the subscriber may not have a NAT IP address allocated when the first packet is received. Until the 
successful allocation of a NAT IP address, based on the configuration, the packets can either be 
buffered or dropped. Once a free NAT IP address is available, it is allocated to the subscriber to be 
used for flows matching the pool. 
 
NAT Binding Timer: Specifies the timeout period, in seconds, to deallocate NAT resources that were allocated 
to subscriber flows. When a subscriber flow stops the timer starts counting down, and on expiry the NAT 
resources are deallocated to be made available for other subscriber flows.