cisco Catalyst 9300 Series Switch — Configuring Dynamic Translation of Inside Source Addresses

Configuring Dynamic Translation of Inside Source Addresses Dynamic translation establishes a mapping between an inside local address and a pool of global addresses dynamically. Dynamic translation can be enabled by configuring a dynamic NAT rule and the mapping is established based on the result of the evaluation of the configured rule at run-time. You can employ an ACL to specify the inside local address and the inside global address can be specified through an address pool or an interface. Dynamic translation is useful when multiple users on a private network need to access the Internet.

The dynamically configured pool IP address may be used as needed and is released for use by other users when access to the internet is no longer required. Procedure Configuring Network Address Translation Configuring Dynamic Translation of Inside Source Addresses Command or Action Purpose Step 8 interface type number Example: Switch(config)# interface gigabitethernet 0/0/0 Specifies a different interface and enters interface configuration mode. Step 9 ip address ip-address mask [secondary] Example: Switch(config-if)# ip address 172.31.232.182 255.255.255.240 Sets a primary IP address for an interface. Step 10 ip nat outside Example:

Switch(config-if)# ip nat outside Connects the interface to the outside network. Step 11 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: Defines a pool of global addresses to be allocated as needed. Configuring Network Address Translation 15