Configuring static NAT on Cisco devices

With static NAT, routers or firewalls translate one private IP address to a single public IP address. Each private IP address is mapped to a single public IP address. Static NAT is not often used because it requires one public IP address for each private IP address.

To configure static NAT on Cisco devices using Network Configuration Manager, you can create the corresponding Configlet commands and push them in multiple devices.

If you don't have NCM installed, please click here to download and install the application.

To configure static NAT on Cisco devices, following steps are required:

  1. Configure private/public IP address mapping by using the ip nat inside source static PRIVATE_IP PUBLIC_IP command
  2. Configure the router’s inside interface using the ip nat inside command
  3. Configure the router’s outside interface using the ip nat outside command

Steps to configure static NAT on Cisco devices through CLI

  1. Login to the device using SSH / TELNET and go to enable mode.
  2. Go into the config mode.
  3. Router#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.


  4. Use below command to configure static NAT
  5. Router(config)#ip nat inside source static

  6. Configure the router's inside interface
  7. Router(config)#interface fa0/0

    Router(config-if)#ip nat inside


  8. Configure the router's outside interface
  9. Router(config)#interface fa0/1

    Router(config-if)#ip nat outside


  10. Exit config mode
  11. Router(config)#exit


  12. Execute show ip nat translations command to view the NAT configuration.
  13. Copy the running configuration into startup configuration using below command
  14. Router#write memory

    Building configuration... [OK]


The corresponding configlet can be created in NCM application as shown in below screenshot.


Also you can click the below button to download the Configlet as XML and import it into NCM application using file import option.

Configlet Name Configure Static NAT - Cisco
Description This configlet is used to configure static NAT in Cisco devices.
Execution Mode Script Execution Mode
Configlet Content
configure terminal
ip nat inside source static $PRIVATE_IP $PUBLIC_IP
interface $INSIDE_INTF
ip nat inside
interface $OUTSIDE_INTF
ip nat outside
show ip nat translations
write memory