159.152.96.0/21
PublicClass B — /21 prefix — 2,046 usable hosts
Network address — the base address of the block (159.152.96.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 159.152.103.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 2,046 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.248.0 is the dotted-decimal equivalent of /21. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 159.152.96.0/21 |
| Network Address | 159.152.96.0 |
| Broadcast Address | 159.152.103.255 |
| Subnet Mask | 255.255.248.0 |
| Wildcard Mask | 0.0.7.255 |
| Prefix Length | /21 |
| IP Address Class | Class B |
| Total IP Addresses | 2,048 |
| Usable Host Addresses | 2,046 |
| First Usable IP | 159.152.96.1 |
| Last Usable IP | 159.152.103.254 |
| Network (Hex) | 0x9F986000 |
| Broadcast (Hex) | 0x9F9867FF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 21 bits (1s in the mask) identify the network. The remaining 11 bits identify hosts within the network.
Split into Equal Subnets
Split 159.152.96.0/21 into 2 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.152.96.0/22 | 159.152.96.0 | 159.152.96.1 | 159.152.99.254 | 159.152.99.255 | 1,022 |
| 2 | 159.152.100.0/22 | 159.152.100.0 | 159.152.100.1 | 159.152.103.254 | 159.152.103.255 | 1,022 |
Split 159.152.96.0/21 into 4 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.152.96.0/23 | 159.152.96.0 | 159.152.96.1 | 159.152.97.254 | 159.152.97.255 | 510 |
| 2 | 159.152.98.0/23 | 159.152.98.0 | 159.152.98.1 | 159.152.99.254 | 159.152.99.255 | 510 |
| 3 | 159.152.100.0/23 | 159.152.100.0 | 159.152.100.1 | 159.152.101.254 | 159.152.101.255 | 510 |
| 4 | 159.152.102.0/23 | 159.152.102.0 | 159.152.102.1 | 159.152.103.254 | 159.152.103.255 | 510 |
Split 159.152.96.0/21 into 8 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.152.96.0/24 | 159.152.96.0 | 159.152.96.1 | 159.152.96.254 | 159.152.96.255 | 254 |
| 2 | 159.152.97.0/24 | 159.152.97.0 | 159.152.97.1 | 159.152.97.254 | 159.152.97.255 | 254 |
| 3 | 159.152.98.0/24 | 159.152.98.0 | 159.152.98.1 | 159.152.98.254 | 159.152.98.255 | 254 |
| 4 | 159.152.99.0/24 | 159.152.99.0 | 159.152.99.1 | 159.152.99.254 | 159.152.99.255 | 254 |
| 5 | 159.152.100.0/24 | 159.152.100.0 | 159.152.100.1 | 159.152.100.254 | 159.152.100.255 | 254 |
| 6 | 159.152.101.0/24 | 159.152.101.0 | 159.152.101.1 | 159.152.101.254 | 159.152.101.255 | 254 |
| 7 | 159.152.102.0/24 | 159.152.102.0 | 159.152.102.1 | 159.152.102.254 | 159.152.102.255 | 254 |
| 8 | 159.152.103.0/24 | 159.152.103.0 | 159.152.103.1 | 159.152.103.254 | 159.152.103.255 | 254 |
Split 159.152.96.0/21 into 16 equal /25 subnets (126 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.152.96.0/25 | 159.152.96.0 | 159.152.96.1 | 159.152.96.126 | 159.152.96.127 | 126 |
| 2 | 159.152.96.128/25 | 159.152.96.128 | 159.152.96.129 | 159.152.96.254 | 159.152.96.255 | 126 |
| 3 | 159.152.97.0/25 | 159.152.97.0 | 159.152.97.1 | 159.152.97.126 | 159.152.97.127 | 126 |
| 4 | 159.152.97.128/25 | 159.152.97.128 | 159.152.97.129 | 159.152.97.254 | 159.152.97.255 | 126 |
| 5 | 159.152.98.0/25 | 159.152.98.0 | 159.152.98.1 | 159.152.98.126 | 159.152.98.127 | 126 |
| 6 | 159.152.98.128/25 | 159.152.98.128 | 159.152.98.129 | 159.152.98.254 | 159.152.98.255 | 126 |
| 7 | 159.152.99.0/25 | 159.152.99.0 | 159.152.99.1 | 159.152.99.126 | 159.152.99.127 | 126 |
| 8 | 159.152.99.128/25 | 159.152.99.128 | 159.152.99.129 | 159.152.99.254 | 159.152.99.255 | 126 |
| 9 | 159.152.100.0/25 | 159.152.100.0 | 159.152.100.1 | 159.152.100.126 | 159.152.100.127 | 126 |
| 10 | 159.152.100.128/25 | 159.152.100.128 | 159.152.100.129 | 159.152.100.254 | 159.152.100.255 | 126 |
| 11 | 159.152.101.0/25 | 159.152.101.0 | 159.152.101.1 | 159.152.101.126 | 159.152.101.127 | 126 |
| 12 | 159.152.101.128/25 | 159.152.101.128 | 159.152.101.129 | 159.152.101.254 | 159.152.101.255 | 126 |
| 13 | 159.152.102.0/25 | 159.152.102.0 | 159.152.102.1 | 159.152.102.126 | 159.152.102.127 | 126 |
| 14 | 159.152.102.128/25 | 159.152.102.128 | 159.152.102.129 | 159.152.102.254 | 159.152.102.255 | 126 |
| 15 | 159.152.103.0/25 | 159.152.103.0 | 159.152.103.1 | 159.152.103.126 | 159.152.103.127 | 126 |
| 16 | 159.152.103.128/25 | 159.152.103.128 | 159.152.103.129 | 159.152.103.254 | 159.152.103.255 | 126 |