166.170.160.0/21
PublicClass B — /21 prefix — 2,046 usable hosts
Network address — the base address of the block (166.170.160.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 166.170.167.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.170.160.0/21 |
| Network Address | 166.170.160.0 |
| Broadcast Address | 166.170.167.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.170.160.1 |
| Last Usable IP | 166.170.167.254 |
| Network (Hex) | 0xA6AAA000 |
| Broadcast (Hex) | 0xA6AAA7FF |
| 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.170.160.0/21 into 2 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.170.160.0/22 | 166.170.160.0 | 166.170.160.1 | 166.170.163.254 | 166.170.163.255 | 1,022 |
| 2 | 166.170.164.0/22 | 166.170.164.0 | 166.170.164.1 | 166.170.167.254 | 166.170.167.255 | 1,022 |
Split 166.170.160.0/21 into 4 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.170.160.0/23 | 166.170.160.0 | 166.170.160.1 | 166.170.161.254 | 166.170.161.255 | 510 |
| 2 | 166.170.162.0/23 | 166.170.162.0 | 166.170.162.1 | 166.170.163.254 | 166.170.163.255 | 510 |
| 3 | 166.170.164.0/23 | 166.170.164.0 | 166.170.164.1 | 166.170.165.254 | 166.170.165.255 | 510 |
| 4 | 166.170.166.0/23 | 166.170.166.0 | 166.170.166.1 | 166.170.167.254 | 166.170.167.255 | 510 |
Split 166.170.160.0/21 into 8 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.170.160.0/24 | 166.170.160.0 | 166.170.160.1 | 166.170.160.254 | 166.170.160.255 | 254 |
| 2 | 166.170.161.0/24 | 166.170.161.0 | 166.170.161.1 | 166.170.161.254 | 166.170.161.255 | 254 |
| 3 | 166.170.162.0/24 | 166.170.162.0 | 166.170.162.1 | 166.170.162.254 | 166.170.162.255 | 254 |
| 4 | 166.170.163.0/24 | 166.170.163.0 | 166.170.163.1 | 166.170.163.254 | 166.170.163.255 | 254 |
| 5 | 166.170.164.0/24 | 166.170.164.0 | 166.170.164.1 | 166.170.164.254 | 166.170.164.255 | 254 |
| 6 | 166.170.165.0/24 | 166.170.165.0 | 166.170.165.1 | 166.170.165.254 | 166.170.165.255 | 254 |
| 7 | 166.170.166.0/24 | 166.170.166.0 | 166.170.166.1 | 166.170.166.254 | 166.170.166.255 | 254 |
| 8 | 166.170.167.0/24 | 166.170.167.0 | 166.170.167.1 | 166.170.167.254 | 166.170.167.255 | 254 |
Split 166.170.160.0/21 into 16 equal /25 subnets (126 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 166.170.160.0/25 | 166.170.160.0 | 166.170.160.1 | 166.170.160.126 | 166.170.160.127 | 126 |
| 2 | 166.170.160.128/25 | 166.170.160.128 | 166.170.160.129 | 166.170.160.254 | 166.170.160.255 | 126 |
| 3 | 166.170.161.0/25 | 166.170.161.0 | 166.170.161.1 | 166.170.161.126 | 166.170.161.127 | 126 |
| 4 | 166.170.161.128/25 | 166.170.161.128 | 166.170.161.129 | 166.170.161.254 | 166.170.161.255 | 126 |
| 5 | 166.170.162.0/25 | 166.170.162.0 | 166.170.162.1 | 166.170.162.126 | 166.170.162.127 | 126 |
| 6 | 166.170.162.128/25 | 166.170.162.128 | 166.170.162.129 | 166.170.162.254 | 166.170.162.255 | 126 |
| 7 | 166.170.163.0/25 | 166.170.163.0 | 166.170.163.1 | 166.170.163.126 | 166.170.163.127 | 126 |
| 8 | 166.170.163.128/25 | 166.170.163.128 | 166.170.163.129 | 166.170.163.254 | 166.170.163.255 | 126 |
| 9 | 166.170.164.0/25 | 166.170.164.0 | 166.170.164.1 | 166.170.164.126 | 166.170.164.127 | 126 |
| 10 | 166.170.164.128/25 | 166.170.164.128 | 166.170.164.129 | 166.170.164.254 | 166.170.164.255 | 126 |
| 11 | 166.170.165.0/25 | 166.170.165.0 | 166.170.165.1 | 166.170.165.126 | 166.170.165.127 | 126 |
| 12 | 166.170.165.128/25 | 166.170.165.128 | 166.170.165.129 | 166.170.165.254 | 166.170.165.255 | 126 |
| 13 | 166.170.166.0/25 | 166.170.166.0 | 166.170.166.1 | 166.170.166.126 | 166.170.166.127 | 126 |
| 14 | 166.170.166.128/25 | 166.170.166.128 | 166.170.166.129 | 166.170.166.254 | 166.170.166.255 | 126 |
| 15 | 166.170.167.0/25 | 166.170.167.0 | 166.170.167.1 | 166.170.167.126 | 166.170.167.127 | 126 |
| 16 | 166.170.167.128/25 | 166.170.167.128 | 166.170.167.129 | 166.170.167.254 | 166.170.167.255 | 126 |