CIDR (Classless Inter-Domain Routing) notation is a method for allocating IP addresses and routing Internet Protocol packets. It represents an IP address and its associated network mask in a compact format.
CIDR notation is expressed as an IP address followed by a slash and a number, which indicates the number of bits in the subnet mask. For example, in the CIDR notation 192.168.1.0/24, the 192.168.1.0 is the IP address, and /24 indicates that the first 24 bits are used for the network part of the address, leaving the remaining bits for host addresses.
This notation allows for more efficient use of IP addresses compared to the traditional class-based system, enabling the creation of subnets of varying sizes.
