172.31.2.96/28
Private (RFC 1918) RFC 1918Class B — /28 prefix — 14 usable hosts
Network address — the base address of the block (172.31.2.96). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 172.31.2.111 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 14 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.255.240 is the dotted-decimal equivalent of /28. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 172.31.2.96/28 |
| Network Address | 172.31.2.96 |
| Broadcast Address | 172.31.2.111 |
| Subnet Mask | 255.255.255.240 |
| Wildcard Mask | 0.0.0.15 |
| Prefix Length | /28 |
| IP Address Class | Class B |
| Total IP Addresses | 16 |
| Usable Host Addresses | 14 |
| First Usable IP | 172.31.2.97 |
| Last Usable IP | 172.31.2.110 |
| Network (Hex) | 0xAC1F0260 |
| Broadcast (Hex) | 0xAC1F026F |
| Governing RFC | RFC 1918 |
| Address Type | Private (RFC 1918) |
Binary Representation
The first 28 bits (1s in the mask) identify the network. The remaining 4 bits identify hosts within the network.
Split into Equal Subnets
Split 172.31.2.96/28 into 2 equal /29 subnets (6 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 172.31.2.96/29 | 172.31.2.96 | 172.31.2.97 | 172.31.2.102 | 172.31.2.103 | 6 |
| 2 | 172.31.2.104/29 | 172.31.2.104 | 172.31.2.105 | 172.31.2.110 | 172.31.2.111 | 6 |
Split 172.31.2.96/28 into 4 equal /30 subnets (2 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 172.31.2.96/30 | 172.31.2.96 | 172.31.2.97 | 172.31.2.98 | 172.31.2.99 | 2 |
| 2 | 172.31.2.100/30 | 172.31.2.100 | 172.31.2.101 | 172.31.2.102 | 172.31.2.103 | 2 |
| 3 | 172.31.2.104/30 | 172.31.2.104 | 172.31.2.105 | 172.31.2.106 | 172.31.2.107 | 2 |
| 4 | 172.31.2.108/30 | 172.31.2.108 | 172.31.2.109 | 172.31.2.110 | 172.31.2.111 | 2 |