What is IP addressing and subnetting?
IP addressing
An
IP format
An IP address is a 32-bit numerical address separated by periods
The parts of an IP address
The IP address has two parts: the network address and the host address. The network address is essential for the recognition of the network. In the host address part, we always reserve the first address for the network address, and the last address for the broadcast address. The broadcast address transmits data to all the hosts present in the network at once.
Note: We can learn about classless IP addressing here.
Subnetting
Subnetting is a process of partitioning a complex network into multiple smaller logical sub-networks, or subnets.
Subnet masks
A subnet mask is a
Example
To find the subnet mask of a particular IP address, let's set all network bits to
Note: The IP address space for a network is globally allocated by the Internet Assigned Numbers Authority (IANA). The network administrator is responsible for managing the IP addresses within the allocated address space.
The importance of subnetting
As networks grow larger and more complex day by day, traffic also requires fast and efficient routes. Subnetting provides a mechanism named route aggregation that limits the size of the routing table that each router has to maintain. This not only helps maintain efficient network speed, but also enhances performance.
Benefits
Some benefits of subnetting are listed below:
- Subnetting splits
, thus improving network speed and performance.broadcast domains A broadcast domain is a domain in which traffic flows all over the network. - It reduces congestion and bottleneck problems.
- It enhances network security, as devices don't access the whole network.
Free Resources