Static NAT configuration requires that each static mapping between a local, or private, address and a global,
or public, address must be configured. Then, each interface needs to be identified as either an inside or
outside interface.
The ip nat inside source static command is used to create a static mapping. The inside keyword
indicates that NAT translates addresses for hosts on the inside part of the network. The source keyword
indicates that NAT translates the source IP address of packets coming into its inside interfaces. The static
keyword indicates that the parameters define a static entry. If two hosts require Internet access, two ip nat
inside commands must be used.
The ip nat inside and ip nat outside interface subcommands identify which interfaces are "inside"
and which are "outside" respectively.
Two show commands list the most important information about static NAT. These commands are:
• show ip nat translations, which lists the static NAT entries; and the
• show ip nat statistics, which lists statistics, including the number of currently active translation
table entries and the number of hits, which increments for every packet for which NAT must translate
addresses.