Menu
Coddy logo textTech

Let check Do the Looking

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

Pinging every pair of machines is slow. netlab check reads the whole lab and lists the mistakes it can prove from the configuration alone: a host with no address, a device with no cable, a host without a gateway, an address used twice, a gateway outside the host's own subnet.

Each line starts with WARN (works locally but limited) or ERROR (broken). The last line counts the problems. A clean lab prints a single line: Lab check: no problems found.

Run it early and often; it is the fastest way to see what a lab is missing.

challenge icon

Challenge

Beginner

Four hosts were set up in a hurry. Run the lab check and read what it finds.

Expected output:

WARN  pc3: no IP address
WARN  pc4: not connected to anything
WARN  pc4: no gateway (cannot reach other subnets)
Lab check: 3 problem(s) found

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground