In this tutorial I will show how to calculate subnetting. Shoutout to my teacher Philippe Brassard from O’sullivan College for this awesome technique!
So we will use the following scenario to go through the calculations :
- Given Network IP Address : 10.0.0.0/8
- Subnet mask : 255.0.0.0 / binary : 11111111.00000000.00000000.00000000
- Number of subnets we need : 50
With this setup we can start our calculations.

With the needed bits we get our new subnet mask which will provide the “magic number” and “significant octet”


This should give us all the subnets we need. I think i will write a Python script that can do it for us :). Thanks for reading and stay tuned!