Lab 6‐1: Static NAT Configuration - AidanP017/Aidan-NET-330 GitHub Wiki

Purpose

In this lab, we configured static network address translation in a network on Cisco Packet Tracer to translate the web server's local IP address to a public address.


Router Configurations

To start, we opened up the CLI for Router 1 and set the hostname to R1 for ease of referral.

{1C010F15-AF60-42C4-B10A-F9CB831D054C}

Next, we configured and enabled the FastEthernet0/0 port and assigned an IP address of 10.0.0.1 with a subnet mask of 255.0.0.0.

{965E800C-1246-4103-AB6B-775B75A4974A}

Then we configured and enabled the Serial0/0/0 port and assigned an IP address of 20.0.0.2 also with a subnet mask of 255.0.0.0

{136E8F0A-4BC9-41A9-A846-2E626B8D98DB}

Lastly, we set up IP routing from the switch to the serial port.

{08E45AFB-2592-4BB3-809A-06115ABD3932}

For Router 0, we performed similar configurations with a few additional specifications.

{CB743AB7-F062-453C-BA0C-0CC3EF83BE1D}

{5FA35B79-7214-405F-8165-0B895ACAB729}

To test connectivity, we pinged the router addresses of 20.0.0.1 and 30.0.0.1 from one of the PCs in the network.

{B4954098-FD26-45A3-B123-3F5EB8F26365}


Static NAT Configuration

Next, we configured static NAT on Router 1 to be able to ping the web server using its NAT address of 50.0.0.1.

We first defined the FastEthernet0/0 port as the inside of the NAT network.

{794E03CE-ED5F-4110-AD1F-86C81DE22EFC}

Then we defined the Serial0/0/0 port as the outside of the NAT network.

{CD95A9BE-D7B0-437A-87B9-47F7FBF11DC3}

Finally, we created a static rule associated with the web server's private IP address and public IP address, respectively.

{D83047C5-CE30-4F47-AEDD-E09B913A390B}

If configured correctly, you should now be able to ping the web server's private IP address of 50.0.0.1 as well as access it from a web browser.

{33E73F12-8163-40CB-A44A-F76E66BD6932}

{AF63C108-D02D-436C-9EA8-24D40BA5F9CC}