/30 subnet

Mask 255.255.255.252 · 2 usable hosts · 4 addresses

/30 at a glance
Subnet mask255.255.255.252
Wildcard mask0.0.0.3
Binary mask11111111.11111111.11111111.11111100
Network / host bits30 / 2
Total addresses4
Usable hosts2
Per /8 · /16 · /244,194,304 · 16,384 · 64
Example192.168.10.77/30 → network 192.168.10.76, hosts 192.168.10.77 – 192.168.10.78, broadcast 192.168.10.79

Where /30 is used

Classic point-to-point router link.

Block boundaries: a /30 must start at a multiple of 4 addresses, so in the last octet networks start at 0, 4, 8, 12, 16, 20, 24, 28…. Calculate any specific address in the subnet calculator.

Neighbouring prefixes

← /29 (twice as large) · /31 (half the size) →

Questions

How many hosts in a /30?
4 addresses, of which 2 are usable (the first is the network address and the last is broadcast).
What is the subnet mask for /30?
255.255.255.252. In binary: 11111111.11111111.11111111.11111100. The wildcard (inverse) mask is 0.0.0.3.