Lab 6‐2 – NAT Configuration - Snowboundport37/champlain GitHub Wiki

Lab 6-2: PAT (Port Address Translation) Configuration

Course: Networking Fundamentals
Student: Andrei Gorlitsky


Objective

Configure Port Address Translation (PAT) so that all internal hosts on the 192.168.0.0/24 network share a single public IP address (30.0.0.120) when accessing external networks.


Network Overview

Network Topology:

PCs (192.168.0.2 – 192.168.0.7) → Switch0 → Router1 (192.168.0.1 / 30.0.0.1) → Router2 (30.0.0.2 / 20.0.0.1) → Server (20.0.0.2)

Router Configurations

Router1 (NAT Device)

cisco
enable
conf t
hostname Router1
!
interface fastethernet0/0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 no shutdown
 exit
!
interface serial0/0/0
 ip address 30.0.0.1 255.0.0.0
 ip nat outside
 clock rate 64000
 no shutdown
 exit
!
ip route 0.0.0.0 0.0.0.0 30.0.0.2
!
ip nat pool test 30.0.0.120 30.0.0.120 netmask 255.0.0.0
access-list 1 permit 192.168.0.0 0.0.0.255
ip nat inside source list 1 pool test overload
end
wr

Router2 (External Router)

cisco
enable
conf t
hostname Router2
!
interface fastethernet0/0
 ip address 20.0.0.1 255.0.0.0
 no shutdown
 exit
!
interface serial0/0/0
 ip address 30.0.0.2 255.0.0.0
 clock rate 64000
 no shutdown
 exit
!
ip route 0.0.0.0 0.0.0.0 20.0.0.2
end
wr

PC and Server Configuration

Device | IP Address | Subnet Mask | Default Gateway
-- | -- | -- | --
PC0 | 192.168.0.2 | 255.255.255.0 | 192.168.0.1
PC1 | 192.168.0.3 | 255.255.255.0 | 192.168.0.1
PC2 | 192.168.0.4 | 255.255.255.0 | 192.168.0.1
PC3 | 192.168.0.5 | 255.255.255.0 | 192.168.0.1
PC4 | 192.168.0.6 | 255.255.255.0 | 192.168.0.1
PC5 | 192.168.0.7 | 255.255.255.0 | 192.168.0.1
Server0 | 20.0.0.2 | 255.0.0.0 | 20.0.0.1

Results

Screenshot 1 – NAT Table Output

image

Screenshot 2 – Ping Test from PC2

image

Screenshot 3 – Web Browser Access from PC2

image

Conclusion

PAT configuration was successfully implemented on Router1 using the public IP address 30.0.0.120.

All internal hosts from the 192.168.0.0/24 network were able to reach the external server 20.0.0.2.

Ping results, NAT table verification, and web browser testing all confirmed proper PAT functionality.


End of Lab 6-2: PAT Configuration

⚠️ **GitHub.com Fallback** ⚠️