/30 vs /32 — Subnet Comparison

A /30 subnet is larger than a /32. Every additional bit in the prefix halves the address space — the 2-bit difference between these two means /30 has 22 = 4 times as many addresses.

/30

2 usable hosts — point-to-point link

Full reference →
Total IPs 4
Usable Hosts 2
Subnet Mask 255.255.255.252
Wildcard Mask 0.0.0.3

Typical Uses

  • WAN point-to-point link between routers
  • BGP peering session
  • Dedicated leased line addressing
/32

Single host address

Full reference →
Total IPs 1
Usable Hosts 1
Subnet Mask 255.255.255.255
Wildcard Mask 0.0.0.0

Typical Uses

  • Host route in routing table
  • Loopback interface address
  • Security group rule for a single IP

Key Differences

more IPs in /30 than /32
4
/32 subnets fit inside one /30
2
bits of difference in prefix length

How 4 /32 Subnets Divide a /30

Example using 10.0.0.0/30 as the parent block.

# CIDR Network First Usable Last Usable Broadcast Hosts
1 10.0.0.0/32 10.0.0.0 10.0.0.0 10.0.0.0 10.0.0.0 1
2 10.0.0.1/32 10.0.0.1 10.0.0.1 10.0.0.1 10.0.0.1 1
3 10.0.0.2/32 10.0.0.2 10.0.0.2 10.0.0.2 10.0.0.2 1
4 10.0.0.3/32 10.0.0.3 10.0.0.3 10.0.0.3 10.0.0.3 1

FAQ

What is the difference between /30 and /32?

A /30 has 2 usable hosts and a /32 has 1. The subnet masks differ: /30 uses 255.255.255.252 while /32 uses 255.255.255.255. Every additional bit in the prefix halves the number of addresses — so the 2-bit gap means /30 is exactly 4× larger.

How many /32 subnets fit in a /30?

Exactly 4 /32 subnets fit perfectly inside one /30 with no wasted space. To split a /30 into /32s, just increment the last 2 bits of the network address for each new subnet.

Which should I choose?

/30 is typically used for: WAN point-to-point link. /32 is better for: Single host — firewall rules, host routes. Choose the smallest prefix that comfortably fits your host count — over-allocating wastes address space, but under-allocating means painful renumbering later.

Related Comparisons