Configuring Port Address Translation Configuring Port Address Translation by Overloading of Global Addresses NAT module supports dynamic PAT configurations through address pools and interface, as described in the following tasks. Perform the following task to allow your internal users access to the Internet and conserve addresses in the inside global address pool using overloading of global addresses. Procedure Configuring Network Address Translation Configuring Port Address Translation Command or Action Purpose Step 13 end Example: Switch(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example:
Switch> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Switch# configure terminal Enters global configuration mode. Step 3 ip nat pool name start-ip end-ip netmask netmask | prefix-length prefix-length Example: Switch(config)# ip nat pool net-208 192.168.202.129 192.168.202.158 netmask 255.255.255.224 Defines a pool of global addresses to be allocated as needed. Step 4 access-list access-list-number permit source [source-wildcard] Example: Switch(config)# access-list 1 permit 192.168.201.30 0.0.0.255 Defines a standard access list permitting those addresses that are to be translated.
The access list must permit only those addresses that are to be translated. (Remember that there is an implicit “deny all” at the end of each access list.) Use of an access list that is too permissive can lead to unpredictable results. Step 5 ip nat inside source list access-list-number pool name [vrf vrf-name] overload Example: Establishes dynamic source translation with overloading, specifying the access list defined in Step 4. Configuring Network Address Translation 17