
C. Router CLI Commands, Codes, and Designations
9700-A2-GB20-20
December 2002
C-13
ip
nat
pool
pool-name start-ip-addr end-ip-addr
{
netmask
netmask
| {
prefix-length
|
/
}
prefix-length
}
no
ip
nat
pool
pool-name
[
start-ip-addr end-ip-addr
{
netmask
netmask
| {
prefix-length
|
/
}
prefix-length
} ]
Minimum Access Level:
Administrator
Command Mode:
config
Defines a pool of addresses for Network Address Translation. Addresses can then be
allocated from the pool as needed. Up to 30 NAT pools can be supported.
To remove a pool, use the
no ip nat pool
command. No NAT pools are configured by
default.
Example:
ip nat pool Largo 132.53.4.2 132.53.4.250 / 24
pool-name
– Name of the pool comprised of 1–20 ASCII printable characters.
start-ip-addr
– Starting IP address of the range of addresses in the address pool.
end-ip-addr
– Ending IP address of the range of addresses in the address pool.
netmask
– Specify a network mask that indicates which address bits belong to the
network and subnet fields, and which bits belong to the host field.
netmask
– Network mask of the network for the pool addresses.
prefix-length
or
/
– Specify the number of bits in a network mask address that are
ones and define the network and subnet fields.
prefix-length
– The number of bits in a network mask address that are ones. Valid
range is 1–32.
[
no
]
ip
nat
inside
source
{
list
access-list-1-99num
pool
pool-name
[
overload
] |
list
access-list-1-99num
interface
i
ntf-type
intf-num
[
.
sub-intf-num
]
overload
|
s
tatic
{
static-ip-addr1
static-ip-addr2
|
protocol
static-ip-addr1 static-port-num
static-ip-addr2
} }
Minimum Access Level:
Administrator
Command Mode:
config
Allows a user to specify or remove Network Address Translation rules. Both dynamic and
static address translations may be specified. Command forms that include an access list
are used to specify dynamic translation rules. Packets from addresses that match the
access list are translated using addresses allocated from the named pool or the IP
address assigned to the interface. No NAT rules are configured by default.
Example: Refer to
Chapter 4,
Configuration Options
.
inside
– Inside address translation converts an inside (private) IP address to an outside
(public) IP address (and port, if overload is specified for NAPT).
source
– Specifies source address translation.
list
– Specify the access list number for dynamic address translation. For inside source
translation, this access list describes local addresses. If no rules have been created for
the specified access list, no translations based on this rule will occur.
access-list-1-99num
– A standard IP Access list. The valid range is 1–99.
(Continued on next page)
Table C-8.
NAT Commands (2 of 3)
Summary of Contents for FrameSaver 9720
Page 24: ...1 About FrameSaver DSL Devices 1 10 December 2002 9700 A2 GB20 20...
Page 34: ...2 User and Command Line Interfaces and Basic Operation 2 10 December 2002 9700 A2 GB20 20...
Page 104: ...4 Configuration Options 4 64 December 2002 9700 A2 GB20 20...
Page 224: ...9 Setting Up OpenLane for FrameSaver Device 9 10 December 2002 9700 A2 GB20 20...
Page 240: ...A Menu Hierarchy A 6 December 2002 9700 A2 GB20 20...
Page 318: ...E Connectors Cables and Pin Assignments E 14 December 2002 9700 A2 GB20 20...
Page 326: ...G Equipment List G 6 December 2002 9700 A2 GB20 20...