159.142.120.0/21
PublicClass B — /21 prefix — 2,046 usable hosts
Network address — the base address of the block (159.142.120.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 159.142.127.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.142.120.0/21 |
| Network Address | 159.142.120.0 |
| Broadcast Address | 159.142.127.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.142.120.1 |
| Last Usable IP | 159.142.127.254 |
| Network (Hex) | 0x9F8E7800 |
| Broadcast (Hex) | 0x9F8E7FFF |
| 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.142.120.0/21 into 2 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.120.0/22 | 159.142.120.0 | 159.142.120.1 | 159.142.123.254 | 159.142.123.255 | 1,022 |
| 2 | 159.142.124.0/22 | 159.142.124.0 | 159.142.124.1 | 159.142.127.254 | 159.142.127.255 | 1,022 |
Split 159.142.120.0/21 into 4 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.120.0/23 | 159.142.120.0 | 159.142.120.1 | 159.142.121.254 | 159.142.121.255 | 510 |
| 2 | 159.142.122.0/23 | 159.142.122.0 | 159.142.122.1 | 159.142.123.254 | 159.142.123.255 | 510 |
| 3 | 159.142.124.0/23 | 159.142.124.0 | 159.142.124.1 | 159.142.125.254 | 159.142.125.255 | 510 |
| 4 | 159.142.126.0/23 | 159.142.126.0 | 159.142.126.1 | 159.142.127.254 | 159.142.127.255 | 510 |
Split 159.142.120.0/21 into 8 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.120.0/24 | 159.142.120.0 | 159.142.120.1 | 159.142.120.254 | 159.142.120.255 | 254 |
| 2 | 159.142.121.0/24 | 159.142.121.0 | 159.142.121.1 | 159.142.121.254 | 159.142.121.255 | 254 |
| 3 | 159.142.122.0/24 | 159.142.122.0 | 159.142.122.1 | 159.142.122.254 | 159.142.122.255 | 254 |
| 4 | 159.142.123.0/24 | 159.142.123.0 | 159.142.123.1 | 159.142.123.254 | 159.142.123.255 | 254 |
| 5 | 159.142.124.0/24 | 159.142.124.0 | 159.142.124.1 | 159.142.124.254 | 159.142.124.255 | 254 |
| 6 | 159.142.125.0/24 | 159.142.125.0 | 159.142.125.1 | 159.142.125.254 | 159.142.125.255 | 254 |
| 7 | 159.142.126.0/24 | 159.142.126.0 | 159.142.126.1 | 159.142.126.254 | 159.142.126.255 | 254 |
| 8 | 159.142.127.0/24 | 159.142.127.0 | 159.142.127.1 | 159.142.127.254 | 159.142.127.255 | 254 |
Split 159.142.120.0/21 into 16 equal /25 subnets (126 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.120.0/25 | 159.142.120.0 | 159.142.120.1 | 159.142.120.126 | 159.142.120.127 | 126 |
| 2 | 159.142.120.128/25 | 159.142.120.128 | 159.142.120.129 | 159.142.120.254 | 159.142.120.255 | 126 |
| 3 | 159.142.121.0/25 | 159.142.121.0 | 159.142.121.1 | 159.142.121.126 | 159.142.121.127 | 126 |
| 4 | 159.142.121.128/25 | 159.142.121.128 | 159.142.121.129 | 159.142.121.254 | 159.142.121.255 | 126 |
| 5 | 159.142.122.0/25 | 159.142.122.0 | 159.142.122.1 | 159.142.122.126 | 159.142.122.127 | 126 |
| 6 | 159.142.122.128/25 | 159.142.122.128 | 159.142.122.129 | 159.142.122.254 | 159.142.122.255 | 126 |
| 7 | 159.142.123.0/25 | 159.142.123.0 | 159.142.123.1 | 159.142.123.126 | 159.142.123.127 | 126 |
| 8 | 159.142.123.128/25 | 159.142.123.128 | 159.142.123.129 | 159.142.123.254 | 159.142.123.255 | 126 |
| 9 | 159.142.124.0/25 | 159.142.124.0 | 159.142.124.1 | 159.142.124.126 | 159.142.124.127 | 126 |
| 10 | 159.142.124.128/25 | 159.142.124.128 | 159.142.124.129 | 159.142.124.254 | 159.142.124.255 | 126 |
| 11 | 159.142.125.0/25 | 159.142.125.0 | 159.142.125.1 | 159.142.125.126 | 159.142.125.127 | 126 |
| 12 | 159.142.125.128/25 | 159.142.125.128 | 159.142.125.129 | 159.142.125.254 | 159.142.125.255 | 126 |
| 13 | 159.142.126.0/25 | 159.142.126.0 | 159.142.126.1 | 159.142.126.126 | 159.142.126.127 | 126 |
| 14 | 159.142.126.128/25 | 159.142.126.128 | 159.142.126.129 | 159.142.126.254 | 159.142.126.255 | 126 |
| 15 | 159.142.127.0/25 | 159.142.127.0 | 159.142.127.1 | 159.142.127.126 | 159.142.127.127 | 126 |
| 16 | 159.142.127.128/25 | 159.142.127.128 | 159.142.127.129 | 159.142.127.254 | 159.142.127.255 | 126 |