CIDR is a method for allocating IP addresses and routing Internet Protocol packets. It replaces the old class-based system and allows for more efficient use of IP address space.