Last reviewed: May 2026
A /30 subnet contains 4 total IP addresses and 2 usable host addresses. The "/30" prefix means 30 bits are used for the network portion, leaving just 2 bits (22 = 4) for host addressing. The /30 is the traditional choice for point-to-point WAN links — exactly two usable addresses, one for each end of the connection.
Calculate any /30 subnet instantly →| Property | Value |
|---|---|
| Prefix length | /30 |
| Subnet mask | 255.255.255.252 |
| Wildcard mask | 0.0.0.3 |
| Total addresses | 4 |
| Usable host addresses | 2 |
| Network address | x.x.x.0 (must align to multiples of 4: .0, .4, .8, …) |
| Broadcast address | x.x.x.3 (last address in the block) |
| Binary mask | 11111111.11111111.11111111.11111100 |
A point-to-point link connects exactly two devices — for example, a router on each side of a WAN circuit, or two routers connected over a leased line. You need only two IP addresses: one for each router interface. The /30 wastes minimal address space (2 IPs for network and broadcast) while giving you exactly the 2 usable addresses you need.
Common real-world examples:
RFC 3021 (published 2000) allows /31 for point-to-point links. A /31 has only 2 IPs and eliminates the network and broadcast addresses entirely — both IPs are usable host addresses. This saves 2 IPs compared to /30. Modern routers (Cisco IOS, Juniper JunOS) support /31. Use /30 when working with older equipment or ISPs that don't support /31.
In an AWS VPC, AWS reserves 5 IPs per subnet. A /30 has only 4 total IPs — all 4 would be consumed by AWS reservations, leaving 0 usable IPs for instances. The minimum usable subnet in AWS is /28. Do not use /29 or /30 in AWS VPC.
| CIDR | Subnet Mask | Total IPs | Usable Hosts | Typical Use |
|---|---|---|---|---|
| /29 | 255.255.255.248 | 8 | 6 | Very small segment / management VLAN |
| /30 | 255.255.255.252 | 4 | 2 | Point-to-point WAN links — traditional choice |
| /31 | 255.255.255.254 | 2 | 2* | Point-to-point WAN links — RFC 3021, no wasted IPs |
* /31 has no network or broadcast address per RFC 3021 — both IPs are host addresses.
A /24 block contains 2(30−24) = 64 subnets of /30 size. For example, 10.0.0.0/24 can be subdivided into 10.0.0.0/30, 10.0.0.4/30, 10.0.0.8/30, … 10.0.0.252/30. Each block starts on a multiple of 4.
Try the subnet splitter in SubnetSolver →