Scenario

PC1 sits behind R1 and PC3 behind R3, with R2 in the middle. Every interface already has its address and is switched on, so each router knows its directly connected networks and nothing else. Teach them the rest with static routes and default routes.

Topology

R1R2R3

Requirements

  1. 1R1 has a default route through R2 (10.0.12.2)
  2. 2R2 has a route to 192.168.1.0/24 through R1 (10.0.12.1)
  3. 3R2 has a route to 192.168.3.0/24 through R3 (10.0.23.3)
  4. 4R3 has a default route through R2 (10.0.23.2)
  5. 5PC1 can ping PC3
  6. 6PC3 can ping PC1

Every interface is addressed and up. Pick a router above, type ? for the commands you can use, and start with: enable

R1> show running-config

CCNA lab · about 15 min

Static and default routes

Three routers, two LANs and no routing protocol. Tell each router where to send what it does not know.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

PC1 sits behind R1 and PC3 behind R3, with R2 in the middle. Every interface already has its address and is switched on, so each router knows its directly connected networks and nothing else. Teach them the rest with static routes and default routes.

About 15 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

When do I use a default route?

On a router that has one way out, such as an edge router, a default route (0.0.0.0 0.0.0.0) sends everything it has no specific route for to one next hop.

Why do I need routes on R2 as well?

R2 only knows the two links it is connected to. A packet for 192.168.1.0 or 192.168.3.0 has no match until you add those routes.

Is this a real Cisco router?

No. It is a simulator written by CertAce. Real routers print more and have many more options.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.