Menu
Coddy logo textTech

Gateways Everywhere

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

Every desktop needs its default gateway: the router's address in that desktop's own subnet. Sales machines point at 10.10.1.1, Engineering machines at 10.10.2.1. Get one of them wrong and only one direction works, as you saw in the troubleshooting chapters.

With gateways on both sides, a ping from Engineering to Sales comes back with ttl=63, via core, and trace shows the router as the single hop between the two subnets. This is the whole office, working.

challenge icon

Challenge

Easy

Set the gateways for sales1, sales2 and eng1 (in that order), ping sales1 from eng1, then trace the path from eng1 to sales2.

Expected output:

sales1: gateway 10.10.1.1
sales2: gateway 10.10.1.1
eng1: gateway 10.10.2.1
eng1 -> sales1: reply from 10.10.1.11 (ttl=63, via core)
trace eng1 -> sales2
1  10.10.2.1  core
2  10.10.1.12  sales2

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground