What is Subnetting?
Subnetting is the process of dividing a large network into smaller, more manageable sub-networks (subnets).
It’s used to efficiently use IP addresses and improve network performance and security.
Why do we need Subnetting?
-
Efficient IP Address Usage – Prevents waste of IP addresses.
-
Improved Performance – Smaller networks reduce congestion (less broadcast traffic).
-
Better Security & Control – Each subnet can be isolated or controlled separately.
-
Simplifies Management – Easier to organize devices by department, building, or function.
How Subnetting Works
Example:
Suppose you have:
If you subnet it into /26 networks (255.255.255.192):
So instead of one big 254-host network, you get four smaller networks.
Key Terms in Subnetting
-
Subnet Mask: Defines which part of an IP address is network vs. host.
-
CIDR Notation: Short form (e.g., /24 means 255.255.255.0).
-
Network Address: First address in a subnet (used to identify the subnet).
-
Broadcast Address: Last address in a subnet (used to reach all hosts in that subnet).
-
Usable Hosts: IPs between network and broadcast (assignable to devices).