157.171.0.0/18
PublicClass B — /18 prefix — 16,382 usable hosts
Network address — the base address of the block (157.171.0.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 157.171.63.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 16,382 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.192.0 is the dotted-decimal equivalent of /18. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 157.171.0.0/18 |
| Network Address | 157.171.0.0 |
| Broadcast Address | 157.171.63.255 |
| Subnet Mask | 255.255.192.0 |
| Wildcard Mask | 0.0.63.255 |
| Prefix Length | /18 |
| IP Address Class | Class B |
| Total IP Addresses | 16,384 |
| Usable Host Addresses | 16,382 |
| First Usable IP | 157.171.0.1 |
| Last Usable IP | 157.171.63.254 |
| Network (Hex) | 0x9DAB0000 |
| Broadcast (Hex) | 0x9DAB3FFF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 18 bits (1s in the mask) identify the network. The remaining 14 bits identify hosts within the network.
Split into Equal Subnets
Split 157.171.0.0/18 into 2 equal /19 subnets (8,190 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.171.0.0/19 | 157.171.0.0 | 157.171.0.1 | 157.171.31.254 | 157.171.31.255 | 8,190 |
| 2 | 157.171.32.0/19 | 157.171.32.0 | 157.171.32.1 | 157.171.63.254 | 157.171.63.255 | 8,190 |
Split 157.171.0.0/18 into 4 equal /20 subnets (4,094 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.171.0.0/20 | 157.171.0.0 | 157.171.0.1 | 157.171.15.254 | 157.171.15.255 | 4,094 |
| 2 | 157.171.16.0/20 | 157.171.16.0 | 157.171.16.1 | 157.171.31.254 | 157.171.31.255 | 4,094 |
| 3 | 157.171.32.0/20 | 157.171.32.0 | 157.171.32.1 | 157.171.47.254 | 157.171.47.255 | 4,094 |
| 4 | 157.171.48.0/20 | 157.171.48.0 | 157.171.48.1 | 157.171.63.254 | 157.171.63.255 | 4,094 |
Split 157.171.0.0/18 into 8 equal /21 subnets (2,046 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.171.0.0/21 | 157.171.0.0 | 157.171.0.1 | 157.171.7.254 | 157.171.7.255 | 2,046 |
| 2 | 157.171.8.0/21 | 157.171.8.0 | 157.171.8.1 | 157.171.15.254 | 157.171.15.255 | 2,046 |
| 3 | 157.171.16.0/21 | 157.171.16.0 | 157.171.16.1 | 157.171.23.254 | 157.171.23.255 | 2,046 |
| 4 | 157.171.24.0/21 | 157.171.24.0 | 157.171.24.1 | 157.171.31.254 | 157.171.31.255 | 2,046 |
| 5 | 157.171.32.0/21 | 157.171.32.0 | 157.171.32.1 | 157.171.39.254 | 157.171.39.255 | 2,046 |
| 6 | 157.171.40.0/21 | 157.171.40.0 | 157.171.40.1 | 157.171.47.254 | 157.171.47.255 | 2,046 |
| 7 | 157.171.48.0/21 | 157.171.48.0 | 157.171.48.1 | 157.171.55.254 | 157.171.55.255 | 2,046 |
| 8 | 157.171.56.0/21 | 157.171.56.0 | 157.171.56.1 | 157.171.63.254 | 157.171.63.255 | 2,046 |
Split 157.171.0.0/18 into 16 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 157.171.0.0/22 | 157.171.0.0 | 157.171.0.1 | 157.171.3.254 | 157.171.3.255 | 1,022 |
| 2 | 157.171.4.0/22 | 157.171.4.0 | 157.171.4.1 | 157.171.7.254 | 157.171.7.255 | 1,022 |
| 3 | 157.171.8.0/22 | 157.171.8.0 | 157.171.8.1 | 157.171.11.254 | 157.171.11.255 | 1,022 |
| 4 | 157.171.12.0/22 | 157.171.12.0 | 157.171.12.1 | 157.171.15.254 | 157.171.15.255 | 1,022 |
| 5 | 157.171.16.0/22 | 157.171.16.0 | 157.171.16.1 | 157.171.19.254 | 157.171.19.255 | 1,022 |
| 6 | 157.171.20.0/22 | 157.171.20.0 | 157.171.20.1 | 157.171.23.254 | 157.171.23.255 | 1,022 |
| 7 | 157.171.24.0/22 | 157.171.24.0 | 157.171.24.1 | 157.171.27.254 | 157.171.27.255 | 1,022 |
| 8 | 157.171.28.0/22 | 157.171.28.0 | 157.171.28.1 | 157.171.31.254 | 157.171.31.255 | 1,022 |
| 9 | 157.171.32.0/22 | 157.171.32.0 | 157.171.32.1 | 157.171.35.254 | 157.171.35.255 | 1,022 |
| 10 | 157.171.36.0/22 | 157.171.36.0 | 157.171.36.1 | 157.171.39.254 | 157.171.39.255 | 1,022 |
| 11 | 157.171.40.0/22 | 157.171.40.0 | 157.171.40.1 | 157.171.43.254 | 157.171.43.255 | 1,022 |
| 12 | 157.171.44.0/22 | 157.171.44.0 | 157.171.44.1 | 157.171.47.254 | 157.171.47.255 | 1,022 |
| 13 | 157.171.48.0/22 | 157.171.48.0 | 157.171.48.1 | 157.171.51.254 | 157.171.51.255 | 1,022 |
| 14 | 157.171.52.0/22 | 157.171.52.0 | 157.171.52.1 | 157.171.55.254 | 157.171.55.255 | 1,022 |
| 15 | 157.171.56.0/22 | 157.171.56.0 | 157.171.56.1 | 157.171.59.254 | 157.171.59.255 | 1,022 |
| 16 | 157.171.60.0/22 | 157.171.60.0 | 157.171.60.1 | 157.171.63.254 | 157.171.63.255 | 1,022 |