Configuration

Define the 'inside' interface(s) connected to the internal network.

R1(config)# int g0/1
R1(config-if)# ip nat inside

Define the 'outside' interface(s) connected to the external network.

Configure the one-to-one IP address mappings: ip nat inside source static <inside-local-ip> <inside-global-ip>

  • Outside Local - The IP address of the outside host, from the perspective of the local network.

  • Outside Global - The IP address of the outside host, from the perspective of the outside network

Unless destination NAT is used, Outside Local and Outside Global will be the same.

Inside/Outside - Location of the host

Local/Global - Perspective

clear ip nat translation * - can be used to clear all NAT configurations.

Last updated