3.118.240.0/20
PublicClass A — /20 prefix — 4,094 usable hosts
Network address — the base address of the block (3.118.240.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 3.118.255.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 | 3.118.240.0/20 |
| Network Address | 3.118.240.0 |
| Broadcast Address | 3.118.255.255 |
| Subnet Mask | 255.255.240.0 |
| Wildcard Mask | 0.0.15.255 |
| Prefix Length | /20 |
| IP Address Class | Class A |
| Total IP Addresses | 4,096 |
| Usable Host Addresses | 4,094 |
| First Usable IP | 3.118.240.1 |
| Last Usable IP | 3.118.255.254 |
| Network (Hex) | 0x0376F000 |
| Broadcast (Hex) | 0x0376FFFF |
| 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 3.118.240.0/20 into 2 equal /21 subnets (2,046 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 3.118.240.0/21 | 3.118.240.0 | 3.118.240.1 | 3.118.247.254 | 3.118.247.255 | 2,046 |
| 2 | 3.118.248.0/21 | 3.118.248.0 | 3.118.248.1 | 3.118.255.254 | 3.118.255.255 | 2,046 |
Split 3.118.240.0/20 into 4 equal /22 subnets (1,022 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 3.118.240.0/22 | 3.118.240.0 | 3.118.240.1 | 3.118.243.254 | 3.118.243.255 | 1,022 |
| 2 | 3.118.244.0/22 | 3.118.244.0 | 3.118.244.1 | 3.118.247.254 | 3.118.247.255 | 1,022 |
| 3 | 3.118.248.0/22 | 3.118.248.0 | 3.118.248.1 | 3.118.251.254 | 3.118.251.255 | 1,022 |
| 4 | 3.118.252.0/22 | 3.118.252.0 | 3.118.252.1 | 3.118.255.254 | 3.118.255.255 | 1,022 |
Split 3.118.240.0/20 into 8 equal /23 subnets (510 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 3.118.240.0/23 | 3.118.240.0 | 3.118.240.1 | 3.118.241.254 | 3.118.241.255 | 510 |
| 2 | 3.118.242.0/23 | 3.118.242.0 | 3.118.242.1 | 3.118.243.254 | 3.118.243.255 | 510 |
| 3 | 3.118.244.0/23 | 3.118.244.0 | 3.118.244.1 | 3.118.245.254 | 3.118.245.255 | 510 |
| 4 | 3.118.246.0/23 | 3.118.246.0 | 3.118.246.1 | 3.118.247.254 | 3.118.247.255 | 510 |
| 5 | 3.118.248.0/23 | 3.118.248.0 | 3.118.248.1 | 3.118.249.254 | 3.118.249.255 | 510 |
| 6 | 3.118.250.0/23 | 3.118.250.0 | 3.118.250.1 | 3.118.251.254 | 3.118.251.255 | 510 |
| 7 | 3.118.252.0/23 | 3.118.252.0 | 3.118.252.1 | 3.118.253.254 | 3.118.253.255 | 510 |
| 8 | 3.118.254.0/23 | 3.118.254.0 | 3.118.254.1 | 3.118.255.254 | 3.118.255.255 | 510 |
Split 3.118.240.0/20 into 16 equal /24 subnets (254 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 3.118.240.0/24 | 3.118.240.0 | 3.118.240.1 | 3.118.240.254 | 3.118.240.255 | 254 |
| 2 | 3.118.241.0/24 | 3.118.241.0 | 3.118.241.1 | 3.118.241.254 | 3.118.241.255 | 254 |
| 3 | 3.118.242.0/24 | 3.118.242.0 | 3.118.242.1 | 3.118.242.254 | 3.118.242.255 | 254 |
| 4 | 3.118.243.0/24 | 3.118.243.0 | 3.118.243.1 | 3.118.243.254 | 3.118.243.255 | 254 |
| 5 | 3.118.244.0/24 | 3.118.244.0 | 3.118.244.1 | 3.118.244.254 | 3.118.244.255 | 254 |
| 6 | 3.118.245.0/24 | 3.118.245.0 | 3.118.245.1 | 3.118.245.254 | 3.118.245.255 | 254 |
| 7 | 3.118.246.0/24 | 3.118.246.0 | 3.118.246.1 | 3.118.246.254 | 3.118.246.255 | 254 |
| 8 | 3.118.247.0/24 | 3.118.247.0 | 3.118.247.1 | 3.118.247.254 | 3.118.247.255 | 254 |
| 9 | 3.118.248.0/24 | 3.118.248.0 | 3.118.248.1 | 3.118.248.254 | 3.118.248.255 | 254 |
| 10 | 3.118.249.0/24 | 3.118.249.0 | 3.118.249.1 | 3.118.249.254 | 3.118.249.255 | 254 |
| 11 | 3.118.250.0/24 | 3.118.250.0 | 3.118.250.1 | 3.118.250.254 | 3.118.250.255 | 254 |
| 12 | 3.118.251.0/24 | 3.118.251.0 | 3.118.251.1 | 3.118.251.254 | 3.118.251.255 | 254 |
| 13 | 3.118.252.0/24 | 3.118.252.0 | 3.118.252.1 | 3.118.252.254 | 3.118.252.255 | 254 |
| 14 | 3.118.253.0/24 | 3.118.253.0 | 3.118.253.1 | 3.118.253.254 | 3.118.253.255 | 254 |
| 15 | 3.118.254.0/24 | 3.118.254.0 | 3.118.254.1 | 3.118.254.254 | 3.118.254.255 | 254 |
| 16 | 3.118.255.0/24 | 3.118.255.0 | 3.118.255.1 | 3.118.255.254 | 3.118.255.255 | 254 |