free lab · CertCrack Packet Tracer Labs · All labs

Lab 5: Static Routing & the Default Route

CCNA domain: Domain 3 · IP Connectivity (static routing)  ·  Difficulty: Intermediate  ·  Time: ~40 minutes  ·  Devices: 4 routers (2911), 3 PCs, 1 server

Routers only know about networks they are directly connected to — everything else must be taught. In this lab there is no routing protocol to lean on: you will hand-write every route across a chain of three routers, so each LAN can reach the other two, and finish with a default route that sends all unknown traffic to a simulated ISP and its web server. Static routing is slow to type and brutally honest: one wrong next-hop address and exactly one path breaks, which is precisely why the CCNA loves it.

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

R12911R22911R32911PC0192.168.1.10/24PC1192.168.2.10/24PC2192.168.3.10/24ISPgateway 203.0.113.1/24WebSrv203.0.113.10S0/0/0 · 10.0.0.1/30 — 10.0.0.2 · S0/0/0S0/0/1 · 10.0.0.5/30 — 10.0.0.6 · S0/0/0G0/0 · 192.168.1.1G0/0 · 192.168.2.1G0/0 · 192.168.3.1S0/0/1 · .9 — .10

Each LAN is a /24 and each serial link is a /30 — two usable addresses, one for each end, nothing wasted. R2 sits in the middle and can reach everything through its two neighbors; R1 and R3 each have exactly one way out, which is why a default route suits them so well. The ISP router pretends to be the internet: behind it sits a web server on the public-looking network 203.0.113.0/24.

DeviceInterfaceIP addressNotes
R1GigabitEthernet 0/0192.168.1.1 /24LAN A gateway
R1Serial 0/0/010.0.0.1 /30To R2 — DCE end, set clock rate here
R2Serial 0/0/010.0.0.2 /30To R1
R2GigabitEthernet 0/0192.168.2.1 /24LAN B gateway
R2Serial 0/0/110.0.0.5 /30To R3 — DCE end, set clock rate here
R3Serial 0/0/010.0.0.6 /30To R2
R3GigabitEthernet 0/0192.168.3.1 /24LAN C gateway
R3Serial 0/0/110.0.0.9 /30To ISP — DCE end, set clock rate here
ISPSerial 0/0/010.0.0.10 /30To R3
ISPGigabitEthernet 0/0203.0.113.1 /24Gateway for the web server network
PC0 / PC1 / PC2FastEthernet 0192.168.1.10 / .2.10 / .3.10Gateways: the local router's G0/0 address
WebSrvFastEthernet 0203.0.113.10 /24Server → Config → Settings: gateway 203.0.113.1

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 the three LAN interfaces and the PCs

Start with what each router already touches: its LAN interface. Configure G0/0 on R1, R2 and R3 with their LAN gateway addresses, then give each PC its static address with its local router as gateway, and set the web server's address and gateway on the ISP side (Server → Config → Settings). The ISP's G0/0 gets 203.0.113.1 now too:

On R1:
interface gigabitEthernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

On R2:
interface gigabitEthernet 0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

On R3:
interface gigabitEthernet 0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit

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

PCs (Desktop > IP Configuration): PC0 192.168.1.10 gw 192.168.1.1
PC1 192.168.2.10 gw 192.168.2.1 - PC2 192.168.3.10 gw 192.168.3.1
WebSrv: 203.0.113.10, mask 255.255.255.0, gateway 203.0.113.1

Task 2 — Bring up the three serial links

Address both ends of every /30 and no shutdown them. One end of each serial cable is the DCE and must supply clocking with clock rate 64000 — this plan puts the DCE on R1's S0/0/0, R2's S0/0/1 and R3's S0/0/1. If a link stays down/down after cabling, run show controllers serial 0/0/0 to see which end Packet Tracer made DCE and put the clock rate there instead.

On R1:
interface serial 0/0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown
exit

On R2:
interface serial 0/0/0
ip address 10.0.0.2 255.255.255.252
no shutdown
interface serial 0/0/1
ip address 10.0.0.5 255.255.255.252
clock rate 64000
no shutdown
exit

On R3:
interface serial 0/0/0
ip address 10.0.0.6 255.255.255.252
no shutdown
interface serial 0/0/1
ip address 10.0.0.9 255.255.255.252
clock rate 64000
no shutdown
exit

On ISP:
interface serial 0/0/0
ip address 10.0.0.10 255.255.255.252
no shutdown
exit

Task 3 — Teach R1 and R3 about the far LANs

R1 can see LAN A and the R1–R2 link — nothing more. Every other network is 'through R2', so both of R1's static routes use the same next hop: R2's near address, 10.0.0.2. R3 mirrors it: LANs A and B are both through R2 at 10.0.0.5. A static route's next hop must be an address on a network the router is directly connected to — that is what makes the route install at all.

On R1:
ip route 192.168.2.0 255.255.255.0 10.0.0.2
ip route 192.168.3.0 255.255.255.0 10.0.0.2

On R3:
ip route 192.168.1.0 255.255.255.0 10.0.0.5
ip route 192.168.2.0 255.255.255.0 10.0.0.5

Task 4 — Teach R2 about LANs A and C

R2 is directly connected to LAN B and to both serial links, so it needs just two statics: LAN A via R1 (10.0.0.1) and LAN C via R3 (10.0.0.6). With this done, all three PCs should ping each other — test from PC0 to PC1 and PC2 before continuing.

On R2:
ip route 192.168.1.0 255.255.255.0 10.0.0.1
ip route 192.168.3.0 255.255.255.0 10.0.0.6

Task 5 — Add default routes toward the ISP — and one route back

Anything not in the table should head for the internet. Give R3 a default route to the ISP, and give R1 and R2 defaults pointing along the chain toward R3. The last piece is the one everyone forgets: the ISP needs a way back. One summarized static covers all three LANs — 192.168.0.0/16 via R3 — because return packets only need to reach R3, which knows its own LANs.

On R3:
ip route 0.0.0.0 0.0.0.0 10.0.0.10

On R2:
ip route 0.0.0.0 0.0.0.0 10.0.0.6

On R1:
ip route 0.0.0.0 0.0.0.0 10.0.0.2

On ISP:
ip route 192.168.0.0 255.255.0.0 10.0.0.9

Then test - PC0 > Command Prompt:
ping 203.0.113.10

Task 6 — Save every router

Four routers now hold four hand-built configurations. Save each one the way Lab 1 taught: copy running-config startup-config on R1, R2, R3 and the ISP router. A single unsaved router is a future outage with your name on it.

On each router (R1, R2, R3, ISP):
copy running-config startup-config

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

Static routing is core Domain 3 (IP Connectivity): the exam gives you a partially built table and asks which ip route command is missing, or shows a broken one and asks why traffic dies. The habits built here — next hop must be on a connected network, defaults as 0.0.0.0/0, return paths matter as much as forward paths — are the exact reasoning those questions test. Compare your speed with the free 30-question CCNA practice sample and the CCNA 200-301 guidebook.

Turn lab skills into exam marks

You hand-built what routing protocols do automatically. The free CCNA sample checks whether you can also read a routing table and find the missing route under time pressure.

Free CCNA SampleCCNA Guidebook

FAQ

Static route: next-hop address or exit interface — which should I use?

Either can work, and IOS accepts both. Next-hop is the safer habit: on multi-access Ethernet an exit-interface-only route makes the router ARP for every destination as if it were local, which breaks without proxy ARP. On point-to-point serial links an exit interface is clean and common. This lab uses next-hop throughout so the pattern transfers to any topology.

Why is the default route shown as S* and called the gateway of last resort?

The * marks a candidate default route. When a packet's destination matches nothing else in the table, the router uses the 0.0.0.0/0 route instead of dropping the packet — the route of last resort. In show ip route output, Cisco prints it first under the line 'Gateway of last resort is 10.0.0.2 to network 0.0.0.0'.

Why did the ISP need a route? Routers just send replies back, don't they?

No — routers have no memory of 'where a packet came from' at Layer 3 routing level. The ISP received a packet from 192.168.1.10 and, to reply, looks up 192.168.1.0/24 in its own table. Without the summarized static, the reply is dropped at the ISP even though the request arrived fine. One-way ping failure with a working forward path almost always means a missing return route.

← Previous labLab 4: Inter-VLAN Routing (Router-on-a-Stick) Next lab →Lab 6: Single-Area OSPFv2

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