Advanced Configuration and Management Guide
These commands configure a standard ACL for the private
Example with Port Address Translation Enabled
To configure dynamic NAT with the Port Address Translation feature enabled, enter commands such as the following at the global CONFIG level of the CLI:
HP9300(config)#
HP9300(config)# ip nat pool OutAdds 209.157.1.2 209.157.1.254
These commands are the same as the ones in “Example with Port Address Translation Disabled”, except the ip nat inside source command uses the overload parameter. This parameter enables the Port Address Translation feature.
Command Syntax
Syntax: [no] ip nat pool
This command configures the address pool.
The
The
The
NOTE: The address range cannot contain any gaps. Make sure you own all the IP addresses in the range. If the range contains gaps, you must create separate pools containing only the addresses you own.
The netmask
NOTE: The maximum number of global IP addresses you can configure depends on how much memory the routing switch has and whether you enable the Port Address Translation feature. Regardless of the amount of memory, you cannot configure more than 256 global IP addresses.
Syntax: [no] ip nat inside source list
This command associates a private address range with a pool of Internet addresses and optionally enables the Port Address Translation feature.
The inside source parameter specifies that the translation applies to private addresses sending traffic to global addresses (Internet addresses).
The list
NOTE: For complete standard and extended ACL syntax, see “Using Access Control Lists (ACLs)” on page
The pool
The overload parameter enables the Port Address Translation feature. Use this parameter if the IP address pool does not contain enough addresses to ensure NAT for each private address. The Port Address Translation feature conserves Internet addresses by mapping the same Internet address to more than one private address and using a TCP or UDP port number to distinguish among the private hosts. The device supports up to 50 global IP addresses with this feature enabled.
11 - 6