166.252.128.0/21
PublicClass B — /21 prefix — 2,046 usable hosts
Network address — the base address of the block (166.252.128.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 166.252.135.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 2,046 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.248.0 is the dotted-decimal equivalent of /21. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 166.252.128.0/21 |
| Network Address | 166.252.128.0 |
| Broadcast Address | 166.252.135.255 |
| Subnet Mask | 255.255.248.0 |
| Wildcard Mask | 0.0.7.255 |
| Prefix Length | /21 |
| IP Address Class | Class B |
| Total IP Addresses | 2,048 |
| Usable Host Addresses | 2,046 |
| First Usable IP | 166.252.128.1 |
| Last Usable IP | 166.252.135.254 |
| Network (Hex) | 0xA6FC8000 |
| Broadcast (Hex) | 0xA6FC87FF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 21 bits (1s in the mask) identify the network. The remaining 11 bits identify hosts within the network.
Split into Equal Subnets
Split 166.252.128.0/21 into 2 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.252.128.0/22 | 166.252.128.0 | 166.252.128.1 | 166.252.131.254 | 166.252.131.255 | 1,022 |
| 2 | 166.252.132.0/22 | 166.252.132.0 | 166.252.132.1 | 166.252.135.254 | 166.252.135.255 | 1,022 |
Split 166.252.128.0/21 into 4 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.252.128.0/23 | 166.252.128.0 | 166.252.128.1 | 166.252.129.254 | 166.252.129.255 | 510 |
| 2 | 166.252.130.0/23 | 166.252.130.0 | 166.252.130.1 | 166.252.131.254 | 166.252.131.255 | 510 |
| 3 | 166.252.132.0/23 | 166.252.132.0 | 166.252.132.1 | 166.252.133.254 | 166.252.133.255 | 510 |
| 4 | 166.252.134.0/23 | 166.252.134.0 | 166.252.134.1 | 166.252.135.254 | 166.252.135.255 | 510 |
Split 166.252.128.0/21 into 8 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.252.128.0/24 | 166.252.128.0 | 166.252.128.1 | 166.252.128.254 | 166.252.128.255 | 254 |
| 2 | 166.252.129.0/24 | 166.252.129.0 | 166.252.129.1 | 166.252.129.254 | 166.252.129.255 | 254 |
| 3 | 166.252.130.0/24 | 166.252.130.0 | 166.252.130.1 | 166.252.130.254 | 166.252.130.255 | 254 |
| 4 | 166.252.131.0/24 | 166.252.131.0 | 166.252.131.1 | 166.252.131.254 | 166.252.131.255 | 254 |
| 5 | 166.252.132.0/24 | 166.252.132.0 | 166.252.132.1 | 166.252.132.254 | 166.252.132.255 | 254 |
| 6 | 166.252.133.0/24 | 166.252.133.0 | 166.252.133.1 | 166.252.133.254 | 166.252.133.255 | 254 |
| 7 | 166.252.134.0/24 | 166.252.134.0 | 166.252.134.1 | 166.252.134.254 | 166.252.134.255 | 254 |
| 8 | 166.252.135.0/24 | 166.252.135.0 | 166.252.135.1 | 166.252.135.254 | 166.252.135.255 | 254 |
Split 166.252.128.0/21 into 16 equal /25 subnets (126 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.252.128.0/25 | 166.252.128.0 | 166.252.128.1 | 166.252.128.126 | 166.252.128.127 | 126 |
| 2 | 166.252.128.128/25 | 166.252.128.128 | 166.252.128.129 | 166.252.128.254 | 166.252.128.255 | 126 |
| 3 | 166.252.129.0/25 | 166.252.129.0 | 166.252.129.1 | 166.252.129.126 | 166.252.129.127 | 126 |
| 4 | 166.252.129.128/25 | 166.252.129.128 | 166.252.129.129 | 166.252.129.254 | 166.252.129.255 | 126 |
| 5 | 166.252.130.0/25 | 166.252.130.0 | 166.252.130.1 | 166.252.130.126 | 166.252.130.127 | 126 |
| 6 | 166.252.130.128/25 | 166.252.130.128 | 166.252.130.129 | 166.252.130.254 | 166.252.130.255 | 126 |
| 7 | 166.252.131.0/25 | 166.252.131.0 | 166.252.131.1 | 166.252.131.126 | 166.252.131.127 | 126 |
| 8 | 166.252.131.128/25 | 166.252.131.128 | 166.252.131.129 | 166.252.131.254 | 166.252.131.255 | 126 |
| 9 | 166.252.132.0/25 | 166.252.132.0 | 166.252.132.1 | 166.252.132.126 | 166.252.132.127 | 126 |
| 10 | 166.252.132.128/25 | 166.252.132.128 | 166.252.132.129 | 166.252.132.254 | 166.252.132.255 | 126 |
| 11 | 166.252.133.0/25 | 166.252.133.0 | 166.252.133.1 | 166.252.133.126 | 166.252.133.127 | 126 |
| 12 | 166.252.133.128/25 | 166.252.133.128 | 166.252.133.129 | 166.252.133.254 | 166.252.133.255 | 126 |
| 13 | 166.252.134.0/25 | 166.252.134.0 | 166.252.134.1 | 166.252.134.126 | 166.252.134.127 | 126 |
| 14 | 166.252.134.128/25 | 166.252.134.128 | 166.252.134.129 | 166.252.134.254 | 166.252.134.255 | 126 |
| 15 | 166.252.135.0/25 | 166.252.135.0 | 166.252.135.1 | 166.252.135.126 | 166.252.135.127 | 126 |
| 16 | 166.252.135.128/25 | 166.252.135.128 | 166.252.135.129 | 166.252.135.254 | 166.252.135.255 | 126 |