cisco Catalyst 9300 Series Switch — Configuring Port Address Translation by Overloading an Interface

Configuring Port Address Translation by Overloading an Interface Perform the following task to allow your internal users access to the Internet and conserve addresses in the inside global address pool by overloading an interface. Configuring Network Address Translation Configuring Port Address Translation by Overloading an Interface Command or Action Purpose Switch(config)# ip nat inside source list 1 pool net-208 overload Using the vrf keyword makes the dynamic translation VRF aware and associates the given rule with the specified VRF. Step 6 interface type number Example: Switch(config)# interface ethernet 1 Specifies an interface and enters interface configuration mode.

Step 7 ip address ip-address mask [secondary] Example: Switch(config-if)# ip address 192.168.201.1 255.255.255.240 Sets a primary IP address for an interface. Step 8 ip nat inside Example: Switch(config-if)# ip nat inside Connects the interface to the inside network, which is subject to NAT. Step 9 exit Example: Switch(config-if)# exit Exits interface configuration mode and returns to global configuration mode. Step 10 interface type number Example: Switch(config)# interface ethernet 0 Specifies a different interface and enters interface configuration mode. Step 11 ip address ip-address mask [secondary] Example:

Switch(config-if)# ip address 192.168.201.29 255.255.255.240 Sets a primary IP address for an interface. Step 12 ip nat outside Example: Switch(config-if)# ip nat outside Connects the interface to the outside network. Step 13 end Example: Switch(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Configuring Network Address Translation 18