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
- Cisco Packet Tracer, installed and signed in (free — see how to get Packet Tracer free on the labs hub).
- A brand-new, blank Packet Tracer workspace — do not reuse a previous lab file, the starting state matters.
- Serial interfaces are not built into the base 2911 in Packet Tracer: power each router off in its Physical tab, insert an HWIC-2T serial module, and power it back on. Connect the serial links with the serial cable type.
- Devices: four 2911 routers (R1, R2, R3, ISP), three PCs, one server. Serial cables for the three WAN links, copper straight-through for the LANs and the ISP-to-server link.
Topology
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.
| Device | Interface | IP address | Notes |
|---|---|---|---|
| R1 | GigabitEthernet 0/0 | 192.168.1.1 /24 | LAN A gateway |
| R1 | Serial 0/0/0 | 10.0.0.1 /30 | To R2 — DCE end, set clock rate here |
| R2 | Serial 0/0/0 | 10.0.0.2 /30 | To R1 |
| R2 | GigabitEthernet 0/0 | 192.168.2.1 /24 | LAN B gateway |
| R2 | Serial 0/0/1 | 10.0.0.5 /30 | To R3 — DCE end, set clock rate here |
| R3 | Serial 0/0/0 | 10.0.0.6 /30 | To R2 |
| R3 | GigabitEthernet 0/0 | 192.168.3.1 /24 | LAN C gateway |
| R3 | Serial 0/0/1 | 10.0.0.9 /30 | To ISP — DCE end, set clock rate here |
| ISP | Serial 0/0/0 | 10.0.0.10 /30 | To R3 |
| ISP | GigabitEthernet 0/0 | 203.0.113.1 /24 | Gateway for the web server network |
| PC0 / PC1 / PC2 | FastEthernet 0 | 192.168.1.10 / .2.10 / .3.10 | Gateways: the local router's G0/0 address |
| WebSrv | FastEthernet 0 | 203.0.113.10 /24 | Server → 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.
- show ip route on R1 — the table shows two C routes, S 192.168.2.0/24 [1/0] via 10.0.0.2, S 192.168.3.0/24 via 10.0.0.2, and S* 0.0.0.0/0 via 10.0.0.2. The asterisk marks the default route — the "gateway of last resort" the router names at the top of the output.
- PC0 pings PC1 and PC2 successfully, then pings the web server 203.0.113.10 — proof the forward path, the default chain and the ISP's return route all work together.
- tracert 192.168.3.10 from PC0 shows the hops in order: 192.168.1.1 (R1), 10.0.0.2 (R2), 10.0.0.6 (R3), destination.
- Break-it test (optional but instructive): delete R2's route to LAN C with no ip route 192.168.3.0 255.255.255.0 10.0.0.6 and watch PC0 → PC2 fail while PC0 → PC1 keeps working. Re-add the route when done.
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 GuidebookFAQ
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.