Why do we subnet :
- You required high performance in the network.
- You want to add security in the network.
- To divide traffic as per department wise.
- You need better control on the network infrastructure.
Class C Subnetting :
To calculate subnetting we borrow some bits from the host portion.
255.255.255.0 /24 is the default subnet mask, so from /25 to /30 bits are available for us to calculate subnets.
Examples :
192.168.1.0 / 26
Examples :
192.168.2.0 /25
192.168.3.0 /27
192.168.4.0 /28
192.168.5.0 /29
192.168.5.0 /30