159.142.0.0/20
PublicClass B — /20 prefix — 4,094 usable hosts
Network address — the base address of the block (159.142.0.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 159.142.15.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.0.0/20 |
| Network Address | 159.142.0.0 |
| Broadcast Address | 159.142.15.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.0.1 |
| Last Usable IP | 159.142.15.254 |
| Network (Hex) | 0x9F8E0000 |
| Broadcast (Hex) | 0x9F8E0FFF |
| 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.0.0/20 into 2 equal /21 subnets (2,046 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.0.0/21 | 159.142.0.0 | 159.142.0.1 | 159.142.7.254 | 159.142.7.255 | 2,046 |
| 2 | 159.142.8.0/21 | 159.142.8.0 | 159.142.8.1 | 159.142.15.254 | 159.142.15.255 | 2,046 |
Split 159.142.0.0/20 into 4 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.0.0/22 | 159.142.0.0 | 159.142.0.1 | 159.142.3.254 | 159.142.3.255 | 1,022 |
| 2 | 159.142.4.0/22 | 159.142.4.0 | 159.142.4.1 | 159.142.7.254 | 159.142.7.255 | 1,022 |
| 3 | 159.142.8.0/22 | 159.142.8.0 | 159.142.8.1 | 159.142.11.254 | 159.142.11.255 | 1,022 |
| 4 | 159.142.12.0/22 | 159.142.12.0 | 159.142.12.1 | 159.142.15.254 | 159.142.15.255 | 1,022 |
Split 159.142.0.0/20 into 8 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.0.0/23 | 159.142.0.0 | 159.142.0.1 | 159.142.1.254 | 159.142.1.255 | 510 |
| 2 | 159.142.2.0/23 | 159.142.2.0 | 159.142.2.1 | 159.142.3.254 | 159.142.3.255 | 510 |
| 3 | 159.142.4.0/23 | 159.142.4.0 | 159.142.4.1 | 159.142.5.254 | 159.142.5.255 | 510 |
| 4 | 159.142.6.0/23 | 159.142.6.0 | 159.142.6.1 | 159.142.7.254 | 159.142.7.255 | 510 |
| 5 | 159.142.8.0/23 | 159.142.8.0 | 159.142.8.1 | 159.142.9.254 | 159.142.9.255 | 510 |
| 6 | 159.142.10.0/23 | 159.142.10.0 | 159.142.10.1 | 159.142.11.254 | 159.142.11.255 | 510 |
| 7 | 159.142.12.0/23 | 159.142.12.0 | 159.142.12.1 | 159.142.13.254 | 159.142.13.255 | 510 |
| 8 | 159.142.14.0/23 | 159.142.14.0 | 159.142.14.1 | 159.142.15.254 | 159.142.15.255 | 510 |
Split 159.142.0.0/20 into 16 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.142.0.0/24 | 159.142.0.0 | 159.142.0.1 | 159.142.0.254 | 159.142.0.255 | 254 |
| 2 | 159.142.1.0/24 | 159.142.1.0 | 159.142.1.1 | 159.142.1.254 | 159.142.1.255 | 254 |
| 3 | 159.142.2.0/24 | 159.142.2.0 | 159.142.2.1 | 159.142.2.254 | 159.142.2.255 | 254 |
| 4 | 159.142.3.0/24 | 159.142.3.0 | 159.142.3.1 | 159.142.3.254 | 159.142.3.255 | 254 |
| 5 | 159.142.4.0/24 | 159.142.4.0 | 159.142.4.1 | 159.142.4.254 | 159.142.4.255 | 254 |
| 6 | 159.142.5.0/24 | 159.142.5.0 | 159.142.5.1 | 159.142.5.254 | 159.142.5.255 | 254 |
| 7 | 159.142.6.0/24 | 159.142.6.0 | 159.142.6.1 | 159.142.6.254 | 159.142.6.255 | 254 |
| 8 | 159.142.7.0/24 | 159.142.7.0 | 159.142.7.1 | 159.142.7.254 | 159.142.7.255 | 254 |
| 9 | 159.142.8.0/24 | 159.142.8.0 | 159.142.8.1 | 159.142.8.254 | 159.142.8.255 | 254 |
| 10 | 159.142.9.0/24 | 159.142.9.0 | 159.142.9.1 | 159.142.9.254 | 159.142.9.255 | 254 |
| 11 | 159.142.10.0/24 | 159.142.10.0 | 159.142.10.1 | 159.142.10.254 | 159.142.10.255 | 254 |
| 12 | 159.142.11.0/24 | 159.142.11.0 | 159.142.11.1 | 159.142.11.254 | 159.142.11.255 | 254 |
| 13 | 159.142.12.0/24 | 159.142.12.0 | 159.142.12.1 | 159.142.12.254 | 159.142.12.255 | 254 |
| 14 | 159.142.13.0/24 | 159.142.13.0 | 159.142.13.1 | 159.142.13.254 | 159.142.13.255 | 254 |
| 15 | 159.142.14.0/24 | 159.142.14.0 | 159.142.14.1 | 159.142.14.254 | 159.142.14.255 | 254 |
| 16 | 159.142.15.0/24 | 159.142.15.0 | 159.142.15.1 | 159.142.15.254 | 159.142.15.255 | 254 |