Lab 6 1: NAT Configuration Static NAT - ItsMmmike/NET-330_Tech-Journal GitHub Wiki
NAT Configuration - Static NAT
Purpose:
- In this lab we use Packet Tracer in order to learn how to configure Static NAT on a Cisco Router (Mapping a web server to an external Router Port).
Materials:
- Cisco Packet Tracer
- Lab Packet Tracer File
Objective:
The completed lab environment should look similar to below:
===
Working Notes/Documentation:
Setting NAT interfaces
Pre-Req: Make sure to configure the appropriate network interfaces, IP Addresses, and route on your Cisco Router before proceeding with the config below
In order to configure NAT Rules on a given Cisco Router, we must first define our "Inside" and "Outside" NAT Interfaces:
# Configures the Internal NAT Interface
R1(config)> interface <Internal-Network-Adapter>
R1(config-if)> ip nat inside
R1(config-if)> exit
# Configures the External NAT Interface
R1(config)> interface <External-Network-Adapter>
R1(config)> ip nat outside
R1(config-if)> exit
Commands for static NAT with example
Pre-Req: Ensure that routing has been configured and the NAT "inside" + "outside" interfaces have been defined.
# Creates a new Static NAT Rule
R1(config)> ip nat inside source static <Internal-IP-Address> <External-IP-Address>
Verifying Static NAT via NAT Table
From here, you can verify your new Static NAT configuration using the command below to show the current running NAT Table:
R1#show ip nat translations
===
Deliverables:
Deliverable 1:
Figure 1: Screenshot of me successfully accessing a Webserver (
50.0.0.1
) that was port forwarded via Static NAT.