Subnetting is a way to divide a large network into smaller, more manageable subnetworks (subnets). This helps improve security, reduce congestion, and optimize IP address allocation.
An IP (Internet Protocol) address is a unique identifier assigned to each device on a network. There are two types of IP addresses:
192.168.1.1).Each IPv4 address consists of:
A subnet mask defines how many bits are allocated to the network and host portions. It’s often represented in two ways:
255.255.255.0/24 (meaning the first 24 bits are for the network)For example:
192.168.1.1/24255.255.255.0192.168.1.0192.168.1.255192.168.1.1 to 192.168.1.254 (total 254 usable hosts)IP addresses are assigned dynamically or statically:
192.168.1.10, 192.168.1.11, etc.203.0.113.50.192.168.1.x, 10.0.0.x) are used inside local networks.
