Routing Between Subnets

Two hosts on different subnets behind a shared router. The student's task is to configure addresses and gateways for PC1 and PC2 so that ping traffic routes through the router between the subnets.

The goal

Two computers on different subnets can't reach each other directly — they need a router in between. R1 is already up and configured: each interface holds the gateway address for its own subnet. You'll assign addresses and gateways to the hosts so ping traffic routes through the router.

IP plan

DeviceSubnetIPGateway
R1 (to PC1)192.168.1.0/24192.168.1.1/24
R1 (to PC2)192.168.2.0/24192.168.2.1/24
PC1192.168.1.0/24192.168.1.11/24192.168.1.1
PC2192.168.2.0/24192.168.2.11/24192.168.2.1

How to open a node's console — in the guide.

Tasks

  1. On the PC1 console: ip 192.168.1.11/24 192.168.1.1, then save. On the PC2 console: ip 192.168.2.11/24 192.168.2.1, then save.
  2. From PC1: ping 192.168.2.11.

Completion criteria

  • PC1 — 192.168.1.11/24, gateway 192.168.1.1.
  • PC2 — 192.168.2.11/24, gateway 192.168.2.1.
  • Ping PC1 → 192.168.2.11 succeeds (ttl=63, through one router).

Validation

Launch the lab and click "Check" on the session page. When every step turns green — click "End" to free up the stand.