free lab · CertCrack Packet Tracer Labs · All labs

Lab 8: PAT Overload & a Standard ACL

CCNA domain: Domain 4 · IP Services (NAT) + Domain 6 · Security Fundamentals (ACLs)  ·  Difficulty: Intermediate–Advanced  ·  Time: ~45 minutes  ·  Devices: 2 routers (2911), 2 switches (2960), 2 PCs, 2 servers

The final lab puts the two edge-router jobs together. First, PAT overload: every inside host shares R1's single public address, 209.165.200.226, distinguished only by source port — the technology that let the IPv4 internet scale. Then a standard ACL surgically blocks one specific PC from the server network while leaving every other flow alone. NAT without verification is guesswork, so you will read the translation table live while traffic flows.

Your progress on this lab

0 of 6 tasks done — tick tasks off as you finish them; progress is saved in this browser.

What you need

Topology

R1edge routerISPSW1user LANSW2server LANPC0192.168.1.10PC1192.168.1.11 — blockedServer0192.168.2.10WebSrv203.0.113.10G0/2 · 209.165.200.226/30 — outsideG0/0 · 192.168.1.1 — insideG0/1 · 192.168.2.1 — inside203.0.113.1

R1 is the edge: G0/2 faces the ISP with the /30 transit address 209.165.200.226 (the ISP end is .225) and is the NAT outside; G0/0 (user LAN 192.168.1.0/24) and G0/1 (server LAN 192.168.2.0/24, holding Server0, the CertCrack.com file server) are NAT inside. Behind the ISP sits a public web server, 203.0.113.10. Because NAT translates inside sources to R1's own outside address — an address on the ISP's connected subnet — the ISP needs no route back to your private networks. That is NAT quietly solving Lab 5's return-path problem.

DeviceInterfaceIP addressNotes
R1GigabitEthernet 0/0192.168.1.1 /24NAT inside — user LAN gateway
R1GigabitEthernet 0/1192.168.2.1 /24NAT inside — server LAN gateway; ACL 10 applies outbound here later
R1GigabitEthernet 0/2209.165.200.226 /30NAT outside — the shared public address for PAT
ISPGigabitEthernet 0/1209.165.200.225 /30Transit link to R1
ISPGigabitEthernet 0/0203.0.113.1 /24Gateway for the web server network
PC0FastEthernet 0192.168.1.10 /24Gateway 192.168.1.1 — normal user
PC1FastEthernet 0192.168.1.11 /24Gateway 192.168.1.1 — the host ACL 10 will block from the server LAN
Server0FastEthernet 0192.168.2.10 /24Gateway 192.168.2.1 — CertCrack.com file server
WebSrvFastEthernet 0203.0.113.10 /24Gateway 203.0.113.1 — public web server

Tasks

Build the topology first, then work through the tasks in order. Try each task from memory before you open the commands — that is how the skill sticks. Click Show commands only when you are stuck or to check your work.

Task 1 — Address every interface and host

Build the base first: R1's three interfaces, the ISP's two, and static addresses on both PCs and both servers with their local gateways (servers: Config → Settings for the gateway, then Services stay untouched — they answer pings and HTTP by default). R1 also needs its default route toward the ISP, or nothing leaves the building:

On R1:
interface gigabitEthernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
interface gigabitEthernet 0/1
ip address 192.168.2.1 255.255.255.0
no shutdown
interface gigabitEthernet 0/2
ip address 209.165.200.226 255.255.255.252
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 209.165.200.225

On ISP:
interface gigabitEthernet 0/1
ip address 209.165.200.225 255.255.255.252
no shutdown
interface gigabitEthernet 0/0
ip address 203.0.113.1 255.255.255.0
no shutdown
exit

Hosts (static): PC0 192.168.1.10 gw 192.168.1.1 - PC1 192.168.1.11 gw .1
Server0 192.168.2.10 gw 192.168.2.1 - WebSrv 203.0.113.10 gw 203.0.113.1

Task 2 — Test before NAT — and watch it fail

From PC0, ping the web server. It should fail, and the failure is the lesson: the request reaches WebSrv sourced from 192.168.1.10, but the ISP has no route to 192.168.1.0/24, so the reply dies at the ISP — exactly Lab 5's return-path problem, this time on purpose. Confirm PC0 can ping Server0 and R1's outside address 209.165.200.226, so you know only the beyond-the-edge path is broken. NAT is about to fix it by hiding the private source entirely.

PC0 > Desktop > Command Prompt:
ping 192.168.2.10
ping 209.165.200.226
ping 203.0.113.10

Task 3 — Define what may be translated, and turn on PAT

PAT is two ingredients: an ACL naming the inside sources allowed to translate, and the ip nat inside source list command binding that ACL to the outside interface with the overload keyword — overload is what makes it PAT (many-to-one with port tracking) instead of one-to-one NAT. Allow both inside LANs:

access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255
ip nat inside source list 1 interface gigabitEthernet 0/2 overload

Task 4 — Mark the inside and outside interfaces

NAT does nothing until interfaces declare their side. A packet is translated when it crosses from an ip nat inside interface to an ip nat outside interface. Mark both LAN interfaces inside and the ISP-facing interface outside — forgetting this step is the most common reason a 'correct' NAT config produces an empty translation table.

interface gigabitEthernet 0/0
ip nat inside
exit
interface gigabitEthernet 0/1
ip nat inside
exit
interface gigabitEthernet 0/2
ip nat outside
exit

Task 5 — Test again and read the translation table

Repeat the PC0 → WebSrv ping. It should now succeed. Immediately run show ip nat translations on R1: each flow appears with inside local 192.168.1.10, inside global 209.165.200.226 and a unique port number — that port is how R1 tells PC0's traffic from PC1's when replies return to the one shared address. Ping from PC1 too and watch a second port appear.

PC0 > Desktop > Command Prompt:
ping 203.0.113.10

On R1:
show ip nat translations
show ip nat statistics

Task 6 — Block PC1 from the server network with a standard ACL

Last skill: a standard ACL filters on source address only, so it must sit close to the destination to avoid over-blocking — here, outbound on R1's G0/1, the door into the server LAN. ACL 10 denies the single host 192.168.1.11, then permits everything else. The final permit any is not decoration: every ACL ends with an invisible deny all, and without that line you would block the whole company from its file server. Apply it and test: PC1 → Server0 must fail, PC0 → Server0 must still work, and PC1 → WebSrv must still work (PAT is untouched — the ACL guards one doorway, not the building).

access-list 10 deny host 192.168.1.11
access-list 10 permit any
interface gigabitEthernet 0/1
ip access-group 10 out
exit

Tests:
PC1 ping 192.168.2.10   (must fail)
PC0 ping 192.168.2.10   (must succeed)
PC1 ping 203.0.113.10   (must succeed)

On R1:
show access-lists

Verification

Run these checks from the device CLI (or a PC command prompt where noted). Your output should match the description — wording may vary slightly by Packet Tracer version.

Exam connection

This lab closes the set by joining two domains: NAT/PAT from Domain 4 (IP Services) and ACLs from Domain 6 (Security Fundamentals). Exam favorites are all here — inside local vs. inside global terminology, why overload means PAT, standard ACLs filtering on source only and belonging near the destination, and the implicit deny that makes a missing permit any catastrophic. If you can explain every line you typed, you are ready to prove it with the free 30-question CCNA practice sample and the CCNA 200-301 guidebook.

Turn lab skills into exam marks

Eight labs done — you have configured the core of the CCNA blueprint with your own hands. The free 900-question sample is the natural next step: same topics, exam wording, timed pressure.

Free CCNA SampleCCNA Guidebook

FAQ

What is the difference between inside local and inside global?

They are the two names for the same host. Inside local is the address as it exists in your private network (192.168.1.10). Inside global is how that host appears to the outside world after translation (209.165.200.226, plus a port under PAT). Outside global is the real public address of the external host (203.0.113.10) — the four NAT terms are just the combinations of whose address, seen from which side.

Why place a standard ACL close to the destination?

A standard ACL can only match the source address — it cannot see where traffic is going. Placed near the source, 'deny 192.168.1.11' would block PC1 from everywhere, not just the server network. Placed outbound on the server LAN's interface, the same line blocks PC1 only from that one network while its internet access survives — which the Task 6 test proves.

My translation table is empty even though the NAT commands are in. Why?

Work the checklist in order: (1) are ip nat inside and ip nat outside on the right interfaces — the most common miss; (2) does the NAT ACL actually permit the source subnet, with correct wildcard masks; (3) is traffic really crossing from inside to outside — a ping between two inside LANs never translates; (4) does the router have a route out (here, the default route to the ISP)? show ip nat statistics tells you which interfaces IOS believes are inside and outside, so start there.

← Previous labLab 7: DHCPv4 Server & Relay Next lab →Lab 9: Spanning Tree — Elect a Root, Block the Loop

More free tools

Packet Tracer LabsAll 10 free CCNA hands-on labs Subnet CalculatorNetwork, broadcast & host ranges from any IP/CIDR Subnetting PracticeTimed subnet drills with worked solutions OSI Model QuizLearn the 7 layers and test yourself All Free ToolsThe CertCrack tools hub