Lab 6‐2 – NAT Configuration - Snowboundport37/champlain GitHub Wiki
Course: Networking Fundamentals
Student: Andrei Gorlitsky
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 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)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
wrcisco
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
wrDevice | 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
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