Menu
Coddy logo textTech

The Router's View

Lesson 45 of 46 in Coddy's IP Addressing and Subnetting course.

A subnet is only useful if its machines can leave it, and they leave through the gateway: the router interface that lives inside the subnet.

By near-universal convention the gateway takes the first usable host address of each subnet: network address plus one. Machines are then configured with it as their default route.

So finishing the plan means walking your allocation list once more and adding one to each network address. That list is what actually gets typed into the router.

challenge icon

Challenge

Easy

Print the gateway address for each of the four subnets you allocated, one per line, same order as before (Engineering, Sales, Support, Printers).

Expected output:

10.20.0.1
10.20.0.129
10.20.0.193
10.20.0.225

Try it yourself

Terminal

All lessons in IP Addressing and Subnetting

Practice on your own: Terminal playground