ip nat pool

Use this command to define an IPv4 NAT address pool used by the dynamic address binding feature for NAT translation.

Syntax

ip nat pool name start-ip-address end-ip-address [netmask netmask | prefix-length prefix-length]
no ip nat pool name [start-ip-address end-ip-address]

Parameters

name Specifies the name of up to 63 characters in length of this NAT pool.
start-ip-address Specifies the start of the IP address range for members of this NAT pool.
end-ip-address Specifies the end of the IP address range for members of this NAT pool.
netmask netmask (Optional) Specifies the netmask for this NAT pool range.
prefix-length prefix-length (Optional) Specifies the prefix length for this NAT pool range.

Defaults

If neither netmask or prefix-length are specified, all addresses in the range are used.

Mode

Configuration command, Global configuration.

Usage

The dynamic address binding feature draws interfaces from a specified NAT pool. A host route will be added for each IP address in the pool.

The “no” form of the command deletes the specified NAT pool.

Example

This example defines the doc1 NAT address pool with a start address of 10.10.10.25 and end address of 10.10.10.45

System(rw-config)->ip nat pool doc1 10.10.10.25 10.10.10.45