Dividing IP addresses into smaller subnets enhances security and efficiency for network users. Currently, there are two methods for IP subdivision: Classful and VLSM. In this article, we will instruct you on how to divide IP Subnet IPs using the Classful method.
Basic IP Knowledge
IP Address Classification
There are 5 classes: A, B, C, D, E. Classes D and E are disregarded.
Subnet Mask (SM)
Note:
Guide to IP Subnetting
Rules:
- 2^n >= number of networks
- Where n is the number of borrowed bits for subnetting.
- New subnet mask = default subnet mask of the class + number of borrowed bits.
- Jump size = 2^m.
- Where m is the remaining bits after borrowing. m = 32 - New host bit count.
Example: Subnet IP 192.168.1.0 into 6 networks
Let's calculate: 2^n>=6 so n=3
=> New SM: 255.255.255.128 or /27
Initial IP: 192.168.1.0/27
Jump size: m=32-27=5 => 2^5=32
The following IPs are in sequence:
172.168.1.32/27
172.168.1.64/27
172.168.1.96/27
172.168.1.128/27
172.168.1.160/27
We hope that with the Classful IP Subnet IP division method, you can easily subnet IP addresses for your network configuration. Additionally, if you wish to assign static IP addresses, you can refer to the article we have provided.