Lab 06‐1 ‐ NAT Configuration ‐ Static NAT - Isaiah-River/NET-330-01-Network-Design GitHub Wiki
In this lab, we worked to set up a simple static NAT configuration within Packet Tracer. The goal was to masquerade the source IP of a web server with a static IP.
- Configuring serial interfaces
- Configuring IP routing
- Defining the "inside" and "outside" on a NAT interface
- Creating a static rule
- x3 PC-PTs
- x1 2960-24TT switch
- x2 1841 routers
- x1 Server-PT
- x4 Copper straight-through cables
- x1 Copper cross-over cable
- x1 Serial DCE cable
To start this lab, I began by configuring Router 1 and setting up its connections between Router 0 and the web server. I did this by using the following commands:
# Elevate the terminal, enter the configuration terminal, and set the hostname
enable
configure terminal
hostname R1
# Configure the two interfaces
interface fastethernet 0/0
ip address 10.0.0.1 255.0.0.0
no shutdown
exit
interface serial 0/0/0
ip address 20.0.0.2 255.0.0.0
no shutdown
exit
I then needed to set up Router 0 and its connections between Router 1 and Switch 0. I did this with the following commands:
# Elevate the terminal, enter the configuration terminal, and set the hostname
enable
configure terminal
hostname R0
# Configure the two interfaces
interface fastethernet 0/0
ip address 30.0.0.1 255.0.0.0
no shutdown
exit
interface serial 0/0/0
ip address 20.0.0.1 255.0.0.0
# Set the serial DCE settings
clock rate 64000
bandwidth 64
no shutdown
exit
I moved on to configuring routing on each of the routers, I did this with the following commands:
On Router 1:
# Set up a static route
ip route 30.0.0.0 255.0.0.0 20.0.0.1
On Router 0:
# Set up a static route
ip route 50.0.0.0 255.0.0.0 20.0.0.2
After this, I tested each PC's connectivity by pinging the router addresses of 20.0.0.1 and 30.0.0.1.
Finally, I had to configure the inside and outside NAT interfaces and create a static rule. I did this with the following commands:
On Router 1:
# Set the inside interface
interface fastEthernet 0/0
ip nat inside
exit
# Set the outside interface
interface serial 0/0/0
ip nat outside
exit
# Create a static rule
ip nat inside source static 10.0.0.2 50.0.0.1
I then pinged the web server using its NAT address of 50.0.0.1 from PC1
Finally, I opened a web page and navigated to the webpage at 50.0.0.1 and took a screenshot for my deliverable.
My submission can be found at this link here.
This screenshot shows PC0 successfully navigating to the web server’s NAT address of 50.0.0.1 after completing the lab.