157.166.16.0/20
PublicClass B — /20 prefix — 4,094 usable hosts
Network address — the base address of the block (157.166.16.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 157.166.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 | 157.166.16.0/20 |
| Network Address | 157.166.16.0 |
| Broadcast Address | 157.166.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 | 157.166.16.1 |
| Last Usable IP | 157.166.31.254 |
| Network (Hex) | 0x9DA61000 |
| Broadcast (Hex) | 0x9DA61FFF |
| 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 157.166.16.0/20 into 2 equal /21 subnets (2,046 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.166.16.0/21 | 157.166.16.0 | 157.166.16.1 | 157.166.23.254 | 157.166.23.255 | 2,046 |
| 2 | 157.166.24.0/21 | 157.166.24.0 | 157.166.24.1 | 157.166.31.254 | 157.166.31.255 | 2,046 |
Split 157.166.16.0/20 into 4 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.166.16.0/22 | 157.166.16.0 | 157.166.16.1 | 157.166.19.254 | 157.166.19.255 | 1,022 |
| 2 | 157.166.20.0/22 | 157.166.20.0 | 157.166.20.1 | 157.166.23.254 | 157.166.23.255 | 1,022 |
| 3 | 157.166.24.0/22 | 157.166.24.0 | 157.166.24.1 | 157.166.27.254 | 157.166.27.255 | 1,022 |
| 4 | 157.166.28.0/22 | 157.166.28.0 | 157.166.28.1 | 157.166.31.254 | 157.166.31.255 | 1,022 |
Split 157.166.16.0/20 into 8 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.166.16.0/23 | 157.166.16.0 | 157.166.16.1 | 157.166.17.254 | 157.166.17.255 | 510 |
| 2 | 157.166.18.0/23 | 157.166.18.0 | 157.166.18.1 | 157.166.19.254 | 157.166.19.255 | 510 |
| 3 | 157.166.20.0/23 | 157.166.20.0 | 157.166.20.1 | 157.166.21.254 | 157.166.21.255 | 510 |
| 4 | 157.166.22.0/23 | 157.166.22.0 | 157.166.22.1 | 157.166.23.254 | 157.166.23.255 | 510 |
| 5 | 157.166.24.0/23 | 157.166.24.0 | 157.166.24.1 | 157.166.25.254 | 157.166.25.255 | 510 |
| 6 | 157.166.26.0/23 | 157.166.26.0 | 157.166.26.1 | 157.166.27.254 | 157.166.27.255 | 510 |
| 7 | 157.166.28.0/23 | 157.166.28.0 | 157.166.28.1 | 157.166.29.254 | 157.166.29.255 | 510 |
| 8 | 157.166.30.0/23 | 157.166.30.0 | 157.166.30.1 | 157.166.31.254 | 157.166.31.255 | 510 |
Split 157.166.16.0/20 into 16 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.166.16.0/24 | 157.166.16.0 | 157.166.16.1 | 157.166.16.254 | 157.166.16.255 | 254 |
| 2 | 157.166.17.0/24 | 157.166.17.0 | 157.166.17.1 | 157.166.17.254 | 157.166.17.255 | 254 |
| 3 | 157.166.18.0/24 | 157.166.18.0 | 157.166.18.1 | 157.166.18.254 | 157.166.18.255 | 254 |
| 4 | 157.166.19.0/24 | 157.166.19.0 | 157.166.19.1 | 157.166.19.254 | 157.166.19.255 | 254 |
| 5 | 157.166.20.0/24 | 157.166.20.0 | 157.166.20.1 | 157.166.20.254 | 157.166.20.255 | 254 |
| 6 | 157.166.21.0/24 | 157.166.21.0 | 157.166.21.1 | 157.166.21.254 | 157.166.21.255 | 254 |
| 7 | 157.166.22.0/24 | 157.166.22.0 | 157.166.22.1 | 157.166.22.254 | 157.166.22.255 | 254 |
| 8 | 157.166.23.0/24 | 157.166.23.0 | 157.166.23.1 | 157.166.23.254 | 157.166.23.255 | 254 |
| 9 | 157.166.24.0/24 | 157.166.24.0 | 157.166.24.1 | 157.166.24.254 | 157.166.24.255 | 254 |
| 10 | 157.166.25.0/24 | 157.166.25.0 | 157.166.25.1 | 157.166.25.254 | 157.166.25.255 | 254 |
| 11 | 157.166.26.0/24 | 157.166.26.0 | 157.166.26.1 | 157.166.26.254 | 157.166.26.255 | 254 |
| 12 | 157.166.27.0/24 | 157.166.27.0 | 157.166.27.1 | 157.166.27.254 | 157.166.27.255 | 254 |
| 13 | 157.166.28.0/24 | 157.166.28.0 | 157.166.28.1 | 157.166.28.254 | 157.166.28.255 | 254 |
| 14 | 157.166.29.0/24 | 157.166.29.0 | 157.166.29.1 | 157.166.29.254 | 157.166.29.255 | 254 |
| 15 | 157.166.30.0/24 | 157.166.30.0 | 157.166.30.1 | 157.166.30.254 | 157.166.30.255 | 254 |
| 16 | 157.166.31.0/24 | 157.166.31.0 | 157.166.31.1 | 157.166.31.254 | 157.166.31.255 | 254 |