Kitloft

All tools / Subnet cheat sheet

/31 subnet mask

A /31 block has 2 addresses with the netmask 255.255.255.254. Used for point-to-point links (RFC 3021), where both addresses are usable.

Subnet mask for /31
255.255.255.254
CIDR notation/31
Netmask255.255.255.254
Wildcard mask0.0.0.1
Total addresses2
Usable hosts2
Usable in an AWS subnetn/a (AWS allows /16 to /28)
Example range10.0.0.0/31: 10.0.0.0 to 10.0.0.1

How /31 fits with other sizes

Calculate a specific block