Subnetting is used to design, implement and manage an effective IP addressing plan. We using subnets to partition a single physical network into more than one smaller logical sub-networks (subnets). An IPv4 address contains a network portion and a host portion. These two portions of addressing allow for basic network groupings that help in routing packets between different networks. A router forwards packets based on the network portion of an IP address. When the network located, the host portion of the address allows for identification of the destination device. But, as networks grow up, with a lot of organizations adding thousands of hosts to their network, the two-level hierarchy is not enough.
Subdividing a network adds another level to the network hierarchy, creating spirit, three levels: a network, a subnetwork, and a host. Subnetting allows an organization to add sub-networks without the need to get a new network. Subnetting is possible due to accepting bits from the IP address’s host portion and using these bits to assign a number of smaller sub-networks inside the original network. Subnets help to decrease the network traffic and conceal network complexity. Subnetting is essential when a single network number allocated over numerous sub-networks of a local area network (LAN).
As we learn in the previous lessons that each IP address consists of a subnet mask. All the class types, such as Class A, B, and C include the subnet mask known as the default subnet mask. Using the subnet mask we determine the type and number of IP addresses required for a given local network. The router is usually a default gateway. The default subnet mask is as follows:
A: 255.0.0.0 or /8
B: 255.255.0.0 or /16
C: 255.255.255.0 or /24
The subnetting allows the network administrator to partition a single Class A, B, or C network into smaller portions.
We can subnet a network again and again for more sub-networks. Subnetting network into a number of subnets provides the following benefits:
- Improve network performance and speed. Subnetting allows sub-network to maximize their speed and effectiveness. Subnetting also divides network’s broadcast domains, which enabling network administrator to better control traffic flow, thus increasing network performance.
- Better Match to Physical Network Structure. It allowed any organization to subnet their network that reflect the way they are actually structured in the organization’s physical network.
- Flexibility. The number of sub-networks and number of hosts per sub-network can be modified for each organization and they can decide on its own subnet structure and change it as required. It is also allowing to use two or more LAN technologies together in the same network.
- Routing Table size. Subnets also helpful to minimize the size of the routing tables on the internet since additional network numbers will not add to the table.
- Simplified Management. Subnetting also makes management very easy. When you want to isolate some segments from some other administrator can easily do this.
- Reduce network congestion. Subnetting ensures that traffic destined for a device within a subnet stays in that subnet, which reduces congestion.
- Boost network security. The network administrator can control the flow of traffic using ACLs, QoS, or route-maps, enabling you to identify threats, close points of entry, and target your responses more easily by using subnetting.