159.142.16.0/20
PublicClass B — /20 prefix — 4,094 usable hosts
Network address — the base address of the block (159.142.16.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 159.142.31.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 4,094 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.240.0 is the dotted-decimal equivalent of /20. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 159.142.16.0/20 |
| Network Address | 159.142.16.0 |
| Broadcast Address | 159.142.31.255 |
| Subnet Mask | 255.255.240.0 |
| Wildcard Mask | 0.0.15.255 |
| Prefix Length | /20 |
| IP Address Class | Class B |
| Total IP Addresses | 4,096 |
| Usable Host Addresses | 4,094 |
| First Usable IP | 159.142.16.1 |
| Last Usable IP | 159.142.31.254 |
| Network (Hex) | 0x9F8E1000 |
| Broadcast (Hex) | 0x9F8E1FFF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 20 bits (1s in the mask) identify the network. The remaining 12 bits identify hosts within the network.
Split into Equal Subnets
Split 159.142.16.0/20 into 2 equal /21 subnets (2,046 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.16.0/21 | 159.142.16.0 | 159.142.16.1 | 159.142.23.254 | 159.142.23.255 | 2,046 |
| 2 | 159.142.24.0/21 | 159.142.24.0 | 159.142.24.1 | 159.142.31.254 | 159.142.31.255 | 2,046 |
Split 159.142.16.0/20 into 4 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.16.0/22 | 159.142.16.0 | 159.142.16.1 | 159.142.19.254 | 159.142.19.255 | 1,022 |
| 2 | 159.142.20.0/22 | 159.142.20.0 | 159.142.20.1 | 159.142.23.254 | 159.142.23.255 | 1,022 |
| 3 | 159.142.24.0/22 | 159.142.24.0 | 159.142.24.1 | 159.142.27.254 | 159.142.27.255 | 1,022 |
| 4 | 159.142.28.0/22 | 159.142.28.0 | 159.142.28.1 | 159.142.31.254 | 159.142.31.255 | 1,022 |
Split 159.142.16.0/20 into 8 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.16.0/23 | 159.142.16.0 | 159.142.16.1 | 159.142.17.254 | 159.142.17.255 | 510 |
| 2 | 159.142.18.0/23 | 159.142.18.0 | 159.142.18.1 | 159.142.19.254 | 159.142.19.255 | 510 |
| 3 | 159.142.20.0/23 | 159.142.20.0 | 159.142.20.1 | 159.142.21.254 | 159.142.21.255 | 510 |
| 4 | 159.142.22.0/23 | 159.142.22.0 | 159.142.22.1 | 159.142.23.254 | 159.142.23.255 | 510 |
| 5 | 159.142.24.0/23 | 159.142.24.0 | 159.142.24.1 | 159.142.25.254 | 159.142.25.255 | 510 |
| 6 | 159.142.26.0/23 | 159.142.26.0 | 159.142.26.1 | 159.142.27.254 | 159.142.27.255 | 510 |
| 7 | 159.142.28.0/23 | 159.142.28.0 | 159.142.28.1 | 159.142.29.254 | 159.142.29.255 | 510 |
| 8 | 159.142.30.0/23 | 159.142.30.0 | 159.142.30.1 | 159.142.31.254 | 159.142.31.255 | 510 |
Split 159.142.16.0/20 into 16 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.16.0/24 | 159.142.16.0 | 159.142.16.1 | 159.142.16.254 | 159.142.16.255 | 254 |
| 2 | 159.142.17.0/24 | 159.142.17.0 | 159.142.17.1 | 159.142.17.254 | 159.142.17.255 | 254 |
| 3 | 159.142.18.0/24 | 159.142.18.0 | 159.142.18.1 | 159.142.18.254 | 159.142.18.255 | 254 |
| 4 | 159.142.19.0/24 | 159.142.19.0 | 159.142.19.1 | 159.142.19.254 | 159.142.19.255 | 254 |
| 5 | 159.142.20.0/24 | 159.142.20.0 | 159.142.20.1 | 159.142.20.254 | 159.142.20.255 | 254 |
| 6 | 159.142.21.0/24 | 159.142.21.0 | 159.142.21.1 | 159.142.21.254 | 159.142.21.255 | 254 |
| 7 | 159.142.22.0/24 | 159.142.22.0 | 159.142.22.1 | 159.142.22.254 | 159.142.22.255 | 254 |
| 8 | 159.142.23.0/24 | 159.142.23.0 | 159.142.23.1 | 159.142.23.254 | 159.142.23.255 | 254 |
| 9 | 159.142.24.0/24 | 159.142.24.0 | 159.142.24.1 | 159.142.24.254 | 159.142.24.255 | 254 |
| 10 | 159.142.25.0/24 | 159.142.25.0 | 159.142.25.1 | 159.142.25.254 | 159.142.25.255 | 254 |
| 11 | 159.142.26.0/24 | 159.142.26.0 | 159.142.26.1 | 159.142.26.254 | 159.142.26.255 | 254 |
| 12 | 159.142.27.0/24 | 159.142.27.0 | 159.142.27.1 | 159.142.27.254 | 159.142.27.255 | 254 |
| 13 | 159.142.28.0/24 | 159.142.28.0 | 159.142.28.1 | 159.142.28.254 | 159.142.28.255 | 254 |
| 14 | 159.142.29.0/24 | 159.142.29.0 | 159.142.29.1 | 159.142.29.254 | 159.142.29.255 | 254 |
| 15 | 159.142.30.0/24 | 159.142.30.0 | 159.142.30.1 | 159.142.30.254 | 159.142.30.255 | 254 |
| 16 | 159.142.31.0/24 | 159.142.31.0 | 159.142.31.1 | 159.142.31.254 | 159.142.31.255 | 254 |