cisco Catalyst 9300 Series Switch — Using Network Address Translation to Route Packets to the Outside Network (Inside Source Address Translation)

• When the nat scale command is enabled, the show ip nat translations and the show ip nat statistics commands do not show all the NAT flows being translated and are not reliable. The show platform software fed switch active nat flows-detail command may give better visibility. Types of Network Address Translation You can configure NAT such that it will advertise only a single address for your entire network to the outside world. Doing this effectively hides the internal network from the world, giving you some additional security. The types of NAT include: • Static address translation (static NAT)—Allows one-to-one mapping between local and global addresses.

• Dynamic address translation (dynamic NAT)—Maps unregistered IP addresses to registered IP addresses from a pool of registered IP addresses. • Overloading / PAT—Maps multiple unregistered IP addresses to a single registered IP address (many to one) using different Layer 4 ports. This method is also known as Port Address Translation (PAT). By using overloading, thousands of users can be connected to the Internet by using only one real global IP address. Using Network Address Translation to Route Packets to the Outside Network (Inside Source Address Translation) You can translate unregistered IP addresses into globally unique IP addresses when communicating outside your network.

You can configure static or dynamic inside source address translation as follows: • Static translation establishes a one-to-one mapping between the inside local address and an inside global address. Static translation is useful when a host on the inside must be accessible by a fixed address from the outside. Static translation can be enabled by configuring a static NAT rule as explained in the #unique_ 211 section. • 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 Access Control List (ACL), both Standarad and Extended ACLs, to specify the inside local address. The inside global address can be specified through an address pool or an interface. Dynamic translation is enabled by configuring a dynamic rule as explained in the #unique_212 section. The following figure illustrates a device that is translating a source address inside a network to a source address outside the network.

Configuring Network Address Translation Types of Network Address Translation Configuring Network Address Translation 6