Menu
Coddy logo textTech

Recap - Diagnose the Pair

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

challenge icon

Challenge

Easy

Hosts a and b share switch s. Host a is 10.0.0.5/24 with gateway 10.0.0.1; host b was configured wrong. Run the check, fix b by giving it 10.0.0.6/24, then ping b from a.

Expected output:

ERROR b: gateway 10.0.0.1 is outside its subnet 10.0.1.0/24
Lab check: 1 problem(s) found
b eth0: 10.0.0.6/24 (mask 255.255.255.0, network 10.0.0.0/24)
a -> b: reply from 10.0.0.6 (ttl=64)

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground