0.0.0.0/0
Public0.0.0.0/0 is the default route, representing all IPv4 addresses. In routing tables it is the "route of last resort." In security groups and firewall rules it means "allow all IPs" — use with caution.
Network address — the base address of the block (0.0.0.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 255.255.255.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 4,294,967,294 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 0.0.0.0 is the dotted-decimal equivalent of /0. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 0.0.0.0/0 |
| Network Address | 0.0.0.0 |
| Broadcast Address | 255.255.255.255 |
| Subnet Mask | 0.0.0.0 |
| Wildcard Mask | 255.255.255.255 |
| Prefix Length | /0 |
| IP Address Class | Class A |
| Total IP Addresses | 4,294,967,296 |
| Usable Host Addresses | 4,294,967,294 |
| First Usable IP | 0.0.0.1 |
| Last Usable IP | 255.255.255.254 |
| Network (Hex) | 0x00000000 |
| Broadcast (Hex) | 0xFFFFFFFF |
| Address Type | Public / Globally Routable |
Binary Representation
The first 0 bits (1s in the mask) identify the network. The remaining 32 bits identify hosts within the network.
Split into Equal Subnets
Split 0.0.0.0/0 into 2 equal /1 subnets (2,147,483,646 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 0.0.0.0/1 | 0.0.0.0 | 0.0.0.1 | 127.255.255.254 | 127.255.255.255 | 2,147,483,646 |
| 2 | 128.0.0.0/1 | 128.0.0.0 | 128.0.0.1 | 255.255.255.254 | 255.255.255.255 | 2,147,483,646 |
Split 0.0.0.0/0 into 4 equal /2 subnets (1,073,741,822 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 0.0.0.0/2 | 0.0.0.0 | 0.0.0.1 | 63.255.255.254 | 63.255.255.255 | 1,073,741,822 |
| 2 | 64.0.0.0/2 | 64.0.0.0 | 64.0.0.1 | 127.255.255.254 | 127.255.255.255 | 1,073,741,822 |
| 3 | 128.0.0.0/2 | 128.0.0.0 | 128.0.0.1 | 191.255.255.254 | 191.255.255.255 | 1,073,741,822 |
| 4 | 192.0.0.0/2 | 192.0.0.0 | 192.0.0.1 | 255.255.255.254 | 255.255.255.255 | 1,073,741,822 |
Split 0.0.0.0/0 into 8 equal /3 subnets (536,870,910 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 0.0.0.0/3 | 0.0.0.0 | 0.0.0.1 | 31.255.255.254 | 31.255.255.255 | 536,870,910 |
| 2 | 32.0.0.0/3 | 32.0.0.0 | 32.0.0.1 | 63.255.255.254 | 63.255.255.255 | 536,870,910 |
| 3 | 64.0.0.0/3 | 64.0.0.0 | 64.0.0.1 | 95.255.255.254 | 95.255.255.255 | 536,870,910 |
| 4 | 96.0.0.0/3 | 96.0.0.0 | 96.0.0.1 | 127.255.255.254 | 127.255.255.255 | 536,870,910 |
| 5 | 128.0.0.0/3 | 128.0.0.0 | 128.0.0.1 | 159.255.255.254 | 159.255.255.255 | 536,870,910 |
| 6 | 160.0.0.0/3 | 160.0.0.0 | 160.0.0.1 | 191.255.255.254 | 191.255.255.255 | 536,870,910 |
| 7 | 192.0.0.0/3 | 192.0.0.0 | 192.0.0.1 | 223.255.255.254 | 223.255.255.255 | 536,870,910 |
| 8 | 224.0.0.0/3 | 224.0.0.0 | 224.0.0.1 | 255.255.255.254 | 255.255.255.255 | 536,870,910 |
Split 0.0.0.0/0 into 16 equal /4 subnets (268,435,454 usable hosts each).
| # | CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|---|
| 1 | 0.0.0.0/4 | 0.0.0.0 | 0.0.0.1 | 15.255.255.254 | 15.255.255.255 | 268,435,454 |
| 2 | 16.0.0.0/4 | 16.0.0.0 | 16.0.0.1 | 31.255.255.254 | 31.255.255.255 | 268,435,454 |
| 3 | 32.0.0.0/4 | 32.0.0.0 | 32.0.0.1 | 47.255.255.254 | 47.255.255.255 | 268,435,454 |
| 4 | 48.0.0.0/4 | 48.0.0.0 | 48.0.0.1 | 63.255.255.254 | 63.255.255.255 | 268,435,454 |
| 5 | 64.0.0.0/4 | 64.0.0.0 | 64.0.0.1 | 79.255.255.254 | 79.255.255.255 | 268,435,454 |
| 6 | 80.0.0.0/4 | 80.0.0.0 | 80.0.0.1 | 95.255.255.254 | 95.255.255.255 | 268,435,454 |
| 7 | 96.0.0.0/4 | 96.0.0.0 | 96.0.0.1 | 111.255.255.254 | 111.255.255.255 | 268,435,454 |
| 8 | 112.0.0.0/4 | 112.0.0.0 | 112.0.0.1 | 127.255.255.254 | 127.255.255.255 | 268,435,454 |
| 9 | 128.0.0.0/4 | 128.0.0.0 | 128.0.0.1 | 143.255.255.254 | 143.255.255.255 | 268,435,454 |
| 10 | 144.0.0.0/4 | 144.0.0.0 | 144.0.0.1 | 159.255.255.254 | 159.255.255.255 | 268,435,454 |
| 11 | 160.0.0.0/4 | 160.0.0.0 | 160.0.0.1 | 175.255.255.254 | 175.255.255.255 | 268,435,454 |
| 12 | 176.0.0.0/4 | 176.0.0.0 | 176.0.0.1 | 191.255.255.254 | 191.255.255.255 | 268,435,454 |
| 13 | 192.0.0.0/4 | 192.0.0.0 | 192.0.0.1 | 207.255.255.254 | 207.255.255.255 | 268,435,454 |
| 14 | 208.0.0.0/4 | 208.0.0.0 | 208.0.0.1 | 223.255.255.254 | 223.255.255.255 | 268,435,454 |
| 15 | 224.0.0.0/4 | 224.0.0.0 | 224.0.0.1 | 239.255.255.254 | 239.255.255.255 | 268,435,454 |
| 16 | 240.0.0.0/4 | 240.0.0.0 | 240.0.0.1 | 255.255.255.254 | 255.255.255.255 | 268,435,454 |
Common Use Cases
- → Default gateway route (route of last resort)
- → Security group rule meaning "allow all IPs"
- → VPN split tunneling — force all traffic through VPN
- → BGP route advertisement of a full routing table