Configuring Network Address Translation (NAT)
Parameters
name
start‐ip‐address
end‐ip‐address
netmask
prefix‐length
Defaults
If no netmask or prefix‐length is specified, all addresses in the range are used.
Mode
Router command, Global configuration: Matrix‐>Router(config)#
Usage
The dynamic address binding feature draws interfaces from a specified NAT pool. The netmask
and prefix‐length parameters are optional. If no values are given, a host route will be added for
each IP address in the pool. If either parameter is given, the IP address range will be checked
against the netmask and a network route will be added for this pool.
The no version 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 and a netmask of 255.255.255.0:
Matrix->Router(config)#ip nat pool doc1 10.10.10.25 10.10.10.45 netmask
255.255.255.0
ip nat inside source list
Use this command to enable dynamic translation of inside source addresses.
Syntax
ip nat inside source list access-list pool pool-name [overload | interface vlan
vlan-id [overload]]
no ip nat inside source list access-list pool pool-name [overload | interface vlan
vlan-id [overload]]
Parameters
access‐list
pool‐name
vlan‐id
Defaults
If overload is not specified, NAT translation occurs. If interface vlan is not specified, translation is
enabled on all VLANs.
18-4 Network Address Translation (NAT) Configuration
Specifies the name of this NAT pool.
Specifies the start of the IP address range for members of this NAT pool.
Specifies the end of the IP address range for members of this NAT pool.
(Optional) Specifies the netmask for this NAT pool range.
(Optional) Specifies the prefix length for this NAT pool range.
Specifies an access‐list of IP addresses to translate for this inside source
address.
Specifies a pool of IP addresses to translate for this outside address
(Optional) Specifies the VLAN to which a translation is applied.
ip nat inside source list