Computer Networks · Subnetting
Disadvantages of Subnetting (Extra Identification Step)
Overview
Subnetting divides one large network into many smaller networks, which makes maintenance easier and allows security to be applied to a particular network in isolation.
The cost of these benefits is added complexity in identification: reaching a process in a subnetted network requires one extra step compared with a single big network.
Key concepts
- Subnetting: dividing one big network into many smaller networks.
- Advantage – easy maintenance: maintaining several smaller networks is easier than maintaining one big network.
- Advantage – security: security can be provided to a particular network, isolating it from the other networks.
- Disadvantage – extra identification step: identification becomes more complex because the subnet must also be identified, so reaching a process takes four steps instead of three.
How it works
Reaching a host in a single big network (no subnetting):
- Identification of the network
- Identification of the host
- Identification of the process
Only three steps are required to reach the process.
Reaching a host when the big network is subnetted:
- Reach the network
- Reach the subnet
- Reach the host
- Reach the process
Four steps are involved in subnetting, because the extra subnet identification step is added.
Comparison
| Case | Steps to reach the process | Steps |
|---|---|---|
| Single big network (no subnetting) | Network → Host → Process | 3 |
| Subnetted network | Network → Subnet → Host → Process | 4 |
Revision summary
- Subnetting = dividing a big network into many small networks.
- Advantages: easier maintenance of smaller networks; security of one network from the others.
- Disadvantage: identification becomes complex — one extra step (subnet identification) is added.
- Without subnetting, the order is network, host, process (3 steps).
- With subnetting, the order is network, subnet, host, process (4 steps).
- The extra step is subnet identification; do not drop it when listing the subnetted order.
Previous-year exam insights
- In classful addressing, the subnet mask borrows bits from the host portion;
the number of subnets created is if all-zeros and all-ones subnets are disallowed), and each subnet has usable host addresses, where n = borrowed bits and h = remaining host bits. - The network address of a subnet is obtained by ANDing the IP address with the subnet mask; the directed broadcast address of the subnet has all host bits set to 1, and the usable host range lies strictly between the network address and the broadcast address.
- CIDR notation /prefix means the first /prefix bits are the network+subnet part;
block size = , and subnets start at multiples of the block size, so the subnet containing an address is found by dividing the address by the block size. - Subnetting is invisible outside the organisation: external routers route only on the main (classful) network prefix, and the subnet mask is applied only by routers inside the subnetted network.
- Variable Length Subnet Masking (VLSM) allows different subnet masks within the same major network, allocating the largest required block first; route summarisation (supernetting/CIDR) combines contiguous subnets into one advertised prefix.
- A router forwards a packet by matching the destination IP against its routing table using longest-prefix match; the default route 0.0.0.0/0 matches only when no more specific prefix does.