Professional Documents
Culture Documents
Configuring NAT
This chapter provides conceptual information about network address translation (NAT) configuration
and management of NAT on the Cisco 910 Industrial Routers (hereafter referred to as the router).
• Understanding Network Address Translation, page 16-1
• Configuring NAT, page 16-2
• Monitoring NAT Information, page 16-3
Configuring NAT
Beginning in privileged EXEC mode, follow these steps to configure NAT on the router:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface type number Enter interface configuration mode.
For type, choose one of the following interfaces as an outside interface:
• dot11radio (only available for Wi-Fi model IR910W-K9)
• cellular (only available for 3G model IR910G-K9)
• Dialer
• GigabitEthernet
For number, enter the interface number.
Step 3 ip address ip-address subnet-mask Enter the IP address and subnet mask.
Step 4 ip nat outside Identify the specified interface as the NAT outside interface.
Step 5 exit Return to global configuration mode.
Step 6 interface vlan vlan-id Enter VLAN interface configuration mode.
Step 7 ip address ip-address subnet-mask Enter the IP address and subnet mask.
Step 8 ip nat inside Identify the VLAN interface as the NAT inside interface.
Step 9 exit Return to global configuration mode.
Step 10 ip nat inside source inside-network Enable dynamic translation of addresses on the inside interface. Outside
inside-network mask interface should be dot11radio, cellular, dialer, or Gigabit Ethernet.
outside-interface-name Dot11radio interface is only available for Wi-Fi model IR910W-K9 and
interface-number overload cellular interface is only available for 3G model IR910G-K9.
Step 11 exit Return to global configuration mode.
Step 12 show ip nat translation Verify the configuration.
Step 13 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
show ip nat statistics Display the statistics information of NAT configuration.
show ip nat translation Display the translation table.
The following example shows the output of the show ip nat statistics command:
Router# show ip nat statistics
Total Active Traslations: 0
Inside Interface: vlan 1
Inside Source: 192.168.0.1/24
Outside Interface: dot11radio 0
The following example shows the output of the show ip nat translation command:
Router# show ip nat translation
Proto NATed Address NAT-host Address Destination Address
icmp 10.0.1.220 192.168.3.168 192.168.3.254
tcp 10.0.1.220 192.168.3.168 192.168.3.254