/31 Subnet
A /31 has 2 addresses. Its netmask is 255.255.255.254. Enter any address below to see its /31 network.
- Free
- No Sign-Up
- Runs in Your Browser
Examples:
IPv4 network
2 usable hosts · 192.168.1.0 to 192.168.1.1
Details
Split Into Subnets
Subnet Calculator
/31 at a glance
A /31 fixes the first 31 bits of the address as the network and leaves 1 bits for hosts, so it holds 2^1 = 2 addresses. On point-to-point links both are usable, as there is no network or broadcast address (RFC 3021).
Two addresses, both usable on point-to-point links (RFC 3021). Saves half the addresses compared with a /30 on router links.
Most networks filter BGP announcements longer than /24, so a block this size cannot be routed on the internet on its own; it is carved out of a larger block by your provider.
Questions
How many usable IP addresses are in a /31?
What is the subnet mask for /31?
How many /31 subnets fit in a /24?
Is 255.255.255.254 the same as /31?
Free Tools
More tools
Every address on your network, watched
Frabs maps each IP to the VM that owns it and stops the abuse coming from it, on Proxmox, Virtualizor, VirtFusion and SolusVM.