IPv4 Default Route for CCNA: Internet Access from a Stub Network

A default route (0.0.0.0/0) is the “route of last resort”: it is used when no other route matches. In a stub network or at the Internet edge it avoids writing thousands of routes. It is one of the most frequent IP Connectivity labs.

Exam domain: IP Connectivity · Level: Beginner · Updated on October 17, 2026 · 2 min read

Topology diagram “IPv4 Default Route for CCNA: Internet Access from a Stub Network” with 4 devices and 3 links
Topology: IPv4 Default Route for CCNA: Internet Access from a Stub Network

Edit this template Download .json

Learning objectives

Devices and addressing

DeviceTypeDetails
PC1PC / user10.1.1.10
GW .1
R-SITERouterStub site
G0/0 10.1.1.1/24
G0/1 10.0.0.1/30
R-BORDERouterEdge
G0/0 10.0.0.2/30
G0/1 203.0.113.2/30
ISP / InternetWAN203.0.113.1
Gateway

Reference configuration (Cisco IOS)

R-SEDE

ip route 0.0.0.0 0.0.0.0 10.0.0.2

R-BORDE

ip route 0.0.0.0 0.0.0.0 203.0.113.1
ip route 10.1.1.0 255.255.255.0 10.0.0.1
interface g0/1
 ip nat outside
interface g0/0
 ip nat inside

Verification commands

CCNA exam tips

It shows as S* 0.0.0.0/0 and the router prints "Gateway of last resort is …".

Matching is always longest prefix: the default route is only used when no more specific route exists.

How to use this template

Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.

To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.

JSON template for the editor

This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.

Edit this template

Frequently asked questions

What is a default route?

The 0.0.0.0/0 route that matches any destination and is used when no more specific route exists.

What is a stub network?

A network with a single exit; a default route is usually enough.

CCNA and Cisco are registered trademarks of Cisco Systems, Inc. This site is independent, not affiliated with Cisco and does not provide official exam material: the templates are study examples.

More related pages