Lab 6‐1: Static NAT Configuration - Snowboundport37/champlain GitHub Wiki

Lab 6-1: Static NAT Configuration

Course: Networking Fundamentals
Student: Andrei Gorlitsky


Objective

Set up Static NAT on Router R1 so that the internal web server (10.0.0.2) can be accessed publicly as 50.0.0.1 from the external network (30.0.0.0/8).


Network Overview

Network layout:

  • PCs (30.0.0.2 – 30.0.0.4) → Switch0 → R0 (20.0.0.1) → R1 (20.0.0.2) → Server (10.0.0.2)

Router Configurations

Router R1

enable
configure terminal
hostname R1
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
ip route 30.0.0.0 255.0.0.0 20.0.0.1
interface fastethernet 0/0
ip nat inside
exit
interface serial 0/0/0
ip nat outside
exit
ip nat inside source static 10.0.0.2 50.0.0.1
end
write memory

Router R0

enable
configure terminal
hostname R0
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
clock rate 64000
bandwidth 64
no shutdown
exit
ip route 50.0.0.0 255.0.0.0 20.0.0.2
end
write memory

Testing and Verification

Ping Test (from PC0)

ping 50.0.0.1

NAT Table (on Router R1)

show ip nat translations

Web Browser Test (on PC0)

  1. Open the web browser on PC0.
  2. Type 50.0.0.1 in the URL bar.
  3. The web page hosted by the internal server (10.0.0.2) should appear.


Conclusion

The Static NAT configuration on Router R1 successfully mapped the private IP 10.0.0.2 to the public IP 50.0.0.1.
Systems in the 30.0.0.0/8 network could reach the internal server through this mapped address.
Ping results, NAT table verification, and the web browser test all confirmed the configuration worked correctly.


End of Lab 6-1: Static NAT