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
EasySplit 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/26Try it yourself
All lessons in IP Addressing and Subnetting
10Capstone - The Office
The Floor PlanSizing Each TeamCarving the BlockThe Router's ViewRecap - Ship the Plan6Subnetting Drills
The Block Size TrickWhich Subnet Am I InSplitting a /24Splitting AgainRecap - Subnetting DrillsPractice on your own: Terminal playground