Menu
Coddy logo textTech

The Floor Plan

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

Time to plan a real network, start to finish. A company is moving into a new office and hands you the requirements in a text file: the teams, how many machines each needs, and the address block the ISP assigned.

Every network plan starts the same way: read the requirements and take inventory before touching a single subnet. How many networks do you need? How many hosts in total? Does the block even fit them?

Over this chapter you will size, carve, and gateway the whole thing.

challenge icon

Challenge

Easy

Inspect office.txt. Then print three lines:

  1. The line of the file that names the assigned block (print it with grep)
  2. The number of teams
  3. The total number of hosts across all teams

Expected output:

Block: 10.20.0.0/23
4
183

Try it yourself

Terminal

All lessons in IP Addressing and Subnetting

Practice on your own: Terminal playground