CIDR

Definition

Classless Inter-Domain Routing - method for allocating IP addresses and routing internet traffic efficiently, optimizing network performance.

Use Cases

Frequently Asked Questions

What's the difference between CIDR and a subnet mask?
They represent the same idea (how many bits are the network portion vs. host portion), but they’re written differently. A subnet mask uses dotted-decimal (for example, 255.255.0.0). CIDR uses a prefix length (for example, /16). So 10.0.0.0/16 is equivalent to a subnet mask of 255.255.0.0.
When should I use CIDR?
Use CIDR whenever you define or reason about an IP range: creating a cloud VPC/VNet/VCN, creating subnets, setting firewall or security rules (allow/deny by IP range), configuring VPN/peering routes, or planning IP space to avoid overlaps between networks.
How much does CIDR cost?
CIDR itself is a notation/standard and has no direct cost. Costs come from the cloud resources that use CIDR-defined networks (for example, VPC/VNet components, NAT gateways, VPNs, load balancers, or data transfer). Some providers may also charge for scarce public IPv4 addresses, but that is separate from CIDR notation.

Category: networking

Difficulty: advanced

Related Terms

See Also