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
BeginnerFour 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) foundTry it yourself
All lessons in LAN Labs
2Addresses on the LAN
Giving a Host an AddressThe First PingWhat ARP LearnedThe Switch Learns TooRecap - First Conversation8Capstone - Fix the Branch
Survey the DamageFix the Address ClashMasks and GatewaysRecap - Prove It Works3Masks Matter
Wrong Mask, No ReplySame Switch, Other SubnetLet check Do the LookingRecap - Diagnose the PairPractice on your own: Terminal playground