/30 subnet (CIDR)

A /30 network has subnet mask 255.255.255.252, 4 total addresses and 2 usable hosts.

255.255.255.252Subnet mask
0.0.0.3Wildcard mask
4Addresses
2Usable hosts

Open 192.168.1.0/30 in the subnet calculator →

Details

PropertyValue
Network bits30
Host bits2
Mask in binary11111111.11111111.11111111.11111100
Mask in hex0xFFFFFFFC
Total addresses22 = 4
Usable hosts22 − 2 = 2
Subnets per /2464
Historic class equivalent—

Typical use: Classic point-to-point link (2 usable).

First /30 blocks in 192.168.1.0/24

NetworkFirst hostLast hostBroadcast
192.168.1.0/30192.168.1.1192.168.1.2192.168.1.3
192.168.1.4/30192.168.1.5192.168.1.6192.168.1.7
192.168.1.8/30192.168.1.9192.168.1.10192.168.1.11
192.168.1.12/30192.168.1.13192.168.1.14192.168.1.15
192.168.1.16/30192.168.1.17192.168.1.18192.168.1.19
192.168.1.20/30192.168.1.21192.168.1.22192.168.1.23
192.168.1.24/30192.168.1.25192.168.1.26192.168.1.27
192.168.1.28/30192.168.1.29192.168.1.30192.168.1.31

Example: 192.168.1.0/30

Network 192.168.1.0, broadcast 192.168.1.3, hosts 192.168.1.1 to 192.168.1.2.

Neighbouring prefixes

Each step of one bit halves (or doubles) the size: a /30 holds two /31s.

Frequently asked questions

How many hosts in a /30?
2 usable out of 4 addresses.
What is the subnet mask for /30?
255.255.255.252 (binary 11111111.11111111.11111111.11111100).