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.
/30 Subnet Mask Reference (255.255.255.252 — 2 Usable Hosts for Router Links)
With 2 host bits (2^2 - 2 = 2 usable hosts), /30 is the smallest traditional IPv4 subnet capable of connecting two Layer-3 interfaces while preserving dedicated Network and Broadcast addresses.
Calculated IPv4 Parameters for 192.168.0.0/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 192.168.0.0/30 in Under 15 Seconds
Every /30 block has size 4: offset +0 is the Network ID, +1 and +2 are the two router interface IPs, and +3 is the Directed Broadcast.
Sample Cisco IOS Interface & Routing Configuration
interface Serial0/0/0 ip address 192.168.0.1 255.255.255.252
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 192.168.0.0 is highlighted below.
| Block # | Subnet ID / CIDR | Usable Host Range | Directed Broadcast |
|---|---|---|---|
| #1 Match | 192.168.0.0/30 | 192.168.0.1 – 192.168.0.2 | 192.168.0.3 |
| #2 | 192.168.0.4/30 | 192.168.0.5 – 192.168.0.6 | 192.168.0.7 |
| #3 | 192.168.0.8/30 | 192.168.0.9 – 192.168.0.10 | 192.168.0.11 |
| #4 | 192.168.0.12/30 | 192.168.0.13 – 192.168.0.14 | 192.168.0.15 |
| #5 | 192.168.0.16/30 | 192.168.0.17 – 192.168.0.18 | 192.168.0.19 |
| #6 | 192.168.0.20/30 | 192.168.0.21 – 192.168.0.22 | 192.168.0.23 |
| #7 | 192.168.0.24/30 | 192.168.0.25 – 192.168.0.26 | 192.168.0.27 |
| #8 | 192.168.0.28/30 | 192.168.0.29 – 192.168.0.30 | 192.168.0.31 |
Explore Other Pre-Calculated IPv4 Subnet & CIDR Reference Guides
Jump to another worked CIDR prefix or RFC 1918 enterprise subnet breakdown: