0.0.0.0/8 ("This Network")
ReservedRFC 1122
0.0.0.0/8 at a glance
| CIDR block | 0.0.0.0/8 |
|---|---|
| First address | 0.0.0.0 |
| Last address | 0.255.255.255 |
| Total addresses | 16,777,216 |
| Subnet mask | 255.0.0.0 |
| Prefix length | /8 |
| Type | Reserved |
| Publicly routable | No |
| Defined in | RFC 1122 |
Open in CIDR calculator/8 subnet details
What is 0.0.0.0/8 used for?
0.0.0.0/8 means "this network" and is not valid as a destination. 0.0.0.0 is used as a source address by hosts that do not know their IP yet, for example in a DHCP request, and servers use it to mean "listen on all interfaces".
Common subnets of 0.0.0.0/8
FAQ
What does it mean when a server listens on 0.0.0.0?
It accepts connections on every IPv4 interface of the host. Binding to 127.0.0.1 instead limits it to local connections.
Can I ping 0.0.0.0?
It is not a valid destination. On Linux, ping 0.0.0.0 is treated as the local host; on Windows it fails.