159.239.240.0/22
PublicClass B — /22 prefix — 1,022 usable hosts
Network address — the base address of the block (159.239.240.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 159.239.243.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 1,022 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.252.0 is the dotted-decimal equivalent of /22. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 159.239.240.0/22 |
| Network Address | 159.239.240.0 |
| Broadcast Address | 159.239.243.255 |
| Subnet Mask | 255.255.252.0 |
| Wildcard Mask | 0.0.3.255 |
| Prefix Length | /22 |
| IP Address Class | Class B |
| Total IP Addresses | 1,024 |
| Usable Host Addresses | 1,022 |
| First Usable IP | 159.239.240.1 |
| Last Usable IP | 159.239.243.254 |
| Network (Hex) | 0x9FEFF000 |
| Broadcast (Hex) | 0x9FEFF3FF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 22 bits (1s in the mask) identify the network. The remaining 10 bits identify hosts within the network.
Split into Equal Subnets
Split 159.239.240.0/22 into 2 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.239.240.0/23 | 159.239.240.0 | 159.239.240.1 | 159.239.241.254 | 159.239.241.255 | 510 |
| 2 | 159.239.242.0/23 | 159.239.242.0 | 159.239.242.1 | 159.239.243.254 | 159.239.243.255 | 510 |
Split 159.239.240.0/22 into 4 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.239.240.0/24 | 159.239.240.0 | 159.239.240.1 | 159.239.240.254 | 159.239.240.255 | 254 |
| 2 | 159.239.241.0/24 | 159.239.241.0 | 159.239.241.1 | 159.239.241.254 | 159.239.241.255 | 254 |
| 3 | 159.239.242.0/24 | 159.239.242.0 | 159.239.242.1 | 159.239.242.254 | 159.239.242.255 | 254 |
| 4 | 159.239.243.0/24 | 159.239.243.0 | 159.239.243.1 | 159.239.243.254 | 159.239.243.255 | 254 |
Split 159.239.240.0/22 into 8 equal /25 subnets (126 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.239.240.0/25 | 159.239.240.0 | 159.239.240.1 | 159.239.240.126 | 159.239.240.127 | 126 |
| 2 | 159.239.240.128/25 | 159.239.240.128 | 159.239.240.129 | 159.239.240.254 | 159.239.240.255 | 126 |
| 3 | 159.239.241.0/25 | 159.239.241.0 | 159.239.241.1 | 159.239.241.126 | 159.239.241.127 | 126 |
| 4 | 159.239.241.128/25 | 159.239.241.128 | 159.239.241.129 | 159.239.241.254 | 159.239.241.255 | 126 |
| 5 | 159.239.242.0/25 | 159.239.242.0 | 159.239.242.1 | 159.239.242.126 | 159.239.242.127 | 126 |
| 6 | 159.239.242.128/25 | 159.239.242.128 | 159.239.242.129 | 159.239.242.254 | 159.239.242.255 | 126 |
| 7 | 159.239.243.0/25 | 159.239.243.0 | 159.239.243.1 | 159.239.243.126 | 159.239.243.127 | 126 |
| 8 | 159.239.243.128/25 | 159.239.243.128 | 159.239.243.129 | 159.239.243.254 | 159.239.243.255 | 126 |
Split 159.239.240.0/22 into 16 equal /26 subnets (62 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 159.239.240.0/26 | 159.239.240.0 | 159.239.240.1 | 159.239.240.62 | 159.239.240.63 | 62 |
| 2 | 159.239.240.64/26 | 159.239.240.64 | 159.239.240.65 | 159.239.240.126 | 159.239.240.127 | 62 |
| 3 | 159.239.240.128/26 | 159.239.240.128 | 159.239.240.129 | 159.239.240.190 | 159.239.240.191 | 62 |
| 4 | 159.239.240.192/26 | 159.239.240.192 | 159.239.240.193 | 159.239.240.254 | 159.239.240.255 | 62 |
| 5 | 159.239.241.0/26 | 159.239.241.0 | 159.239.241.1 | 159.239.241.62 | 159.239.241.63 | 62 |
| 6 | 159.239.241.64/26 | 159.239.241.64 | 159.239.241.65 | 159.239.241.126 | 159.239.241.127 | 62 |
| 7 | 159.239.241.128/26 | 159.239.241.128 | 159.239.241.129 | 159.239.241.190 | 159.239.241.191 | 62 |
| 8 | 159.239.241.192/26 | 159.239.241.192 | 159.239.241.193 | 159.239.241.254 | 159.239.241.255 | 62 |
| 9 | 159.239.242.0/26 | 159.239.242.0 | 159.239.242.1 | 159.239.242.62 | 159.239.242.63 | 62 |
| 10 | 159.239.242.64/26 | 159.239.242.64 | 159.239.242.65 | 159.239.242.126 | 159.239.242.127 | 62 |
| 11 | 159.239.242.128/26 | 159.239.242.128 | 159.239.242.129 | 159.239.242.190 | 159.239.242.191 | 62 |
| 12 | 159.239.242.192/26 | 159.239.242.192 | 159.239.242.193 | 159.239.242.254 | 159.239.242.255 | 62 |
| 13 | 159.239.243.0/26 | 159.239.243.0 | 159.239.243.1 | 159.239.243.62 | 159.239.243.63 | 62 |
| 14 | 159.239.243.64/26 | 159.239.243.64 | 159.239.243.65 | 159.239.243.126 | 159.239.243.127 | 62 |
| 15 | 159.239.243.128/26 | 159.239.243.128 | 159.239.243.129 | 159.239.243.190 | 159.239.243.191 | 62 |
| 16 | 159.239.243.192/26 | 159.239.243.192 | 159.239.243.193 | 159.239.243.254 | 159.239.243.255 | 62 |