Menu
Coddy logo textTech

Recap - Two Faults

Lesson 22 of 35 in Coddy's LAN Labs course.

challenge icon

Challenge

Medium

Two things are wrong in this office lab. Run the check first: it catches one. Give pc2 the address 192.168.1.20/24 and gateway 192.168.1.1. Then ping pc1 from pc3 to expose the second fault, set pc3's gateway to the router's real address 10.0.0.1, and ping again.

Expected output:

WARN  pc2: no IP address
Lab check: 1 problem(s) found
pc2 eth0: 192.168.1.20/24 (mask 255.255.255.0, network 192.168.1.0/24)
pc2: gateway 192.168.1.1
pc3 -> pc1: unreachable (no device answers at gateway 10.0.0.9)
pc3: gateway 10.0.0.1
pc3 -> pc1: reply from 192.168.1.10 (ttl=63, via r1)

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground