Subnet Calculator Technical Overview
Calculate IPv4 network ranges, CIDR prefixes (/0 to /32), subnet masks, ACL wildcard masks, and usable host counts instantly. Includes 22+ pre-calculated CIDR reference tables and CCNA worked examples. Verified against RFC 950, RFC 4632 (CIDR), and RFC 3021 (/31 point-to-point) using unsigned 32-bit bitwise arithmetic.
10.0.0.4/30 WAN Transit Link Subnet Breakdown (Usable Hosts .5 and .6)
When cabling multi-router topologies (such as R1–R2–R3), engineers carve sequential /30 blocks out of 10.0.0.0/24: Link 1 uses 10.0.0.0/30 (.1 and .2), Link 2 uses 10.0.0.4/30 (.5 and .6), and Link 3 uses 10.0.0.8/30 (.9 and .10).
Calculated IPv4 Parameters for 10.0.0.4/30
32-Bit Binary Bitwise Breakdown
Routers determine the Network Address by performing a bitwise AND between the 32-bit IPv4 address and the 30-bit Subnet Mask, and compute the Broadcast Address by setting the remaining 2 host bits to 1.
How to Solve 10.0.0.4/30 in Under 15 Seconds
A common CCNA troubleshooting trap is assigning 10.0.0.4/30 to a router interface. Because 4 is an exact multiple of the /30 block size (4), 10.0.0.4 is the Network ID and Cisco IOS will reject it with "Bad mask /30 for address 10.0.0.4". Use .5 and .6!
Sample Cisco IOS Interface & Routing Configuration
interface GigabitEthernet0/1 description R2_to_R3_Transit_Link ip address 10.0.0.5 255.255.255.252 no shutdown
Adjacent /30 Subnet Blocks in the Same Octet Boundary
Each /30 block advances by the magic block size of 4 in octet 4. The active block containing 10.0.0.4 is highlighted below.
| Block # | Subnet ID / CIDR | Usable Host Range | Directed Broadcast |
|---|---|---|---|
| #1 | 10.0.0.0/30 | 10.0.0.1 – 10.0.0.2 | 10.0.0.3 |
| #2 Match | 10.0.0.4/30 | 10.0.0.5 – 10.0.0.6 | 10.0.0.7 |
| #3 | 10.0.0.8/30 | 10.0.0.9 – 10.0.0.10 | 10.0.0.11 |
| #4 | 10.0.0.12/30 | 10.0.0.13 – 10.0.0.14 | 10.0.0.15 |
| #5 | 10.0.0.16/30 | 10.0.0.17 – 10.0.0.18 | 10.0.0.19 |
| #6 | 10.0.0.20/30 | 10.0.0.21 – 10.0.0.22 | 10.0.0.23 |
| #7 | 10.0.0.24/30 | 10.0.0.25 – 10.0.0.26 | 10.0.0.27 |
| #8 | 10.0.0.28/30 | 10.0.0.29 – 10.0.0.30 | 10.0.0.31 |
Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides
Jump to another worked CIDR prefix or RFC 1918 enterprise subnet breakdown: