Menu
Coddy logo textTech

Splitting a /24

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

Subnetting proper: taking one block and cutting it into equal smaller ones. Each bit you borrow from the host part doubles the number of subnets and halves their size.

Split 10.0.5.0/24 by borrowing 2 bits and you get four /26 subnets. Their starts follow the block size (64): .0, .64, .128, .192.

Splits always produce a power of two: you can cut a block into 2, 4, 8... pieces, never 3.

challenge icon

Challenge

Easy

Split 10.0.5.0/24 into four equal subnets. Print each one in CIDR notation, one per line, lowest first.

Expected output:

10.0.5.0/26
10.0.5.64/26
10.0.5.128/26
10.0.5.192/26

Try it yourself

Terminal

All lessons in IP Addressing and Subnetting

Practice on your own: Terminal playground