Use both IPv4 addresses on a /31 point-to-point link
Work out the two router addresses in 198.51.100.8/31 and see how RFC 3021 treats the usual broadcast slot.
Try these inputsWorked calculation
- A /31 leaves one address bit, so the aligned block has 2¹ = 2 addresses.
- The base address .8 is already even. The two endpoints are 198.51.100.8 and 198.51.100.9.
- A point-to-point link using RFC 3021 can assign both addresses to its routers. The calculator leaves the directed broadcast empty.
Results
- Network CIDR
- 198.51.100.8/31
- Usable in parent
- 2
- Total in parent
- 2
IPv4 address-space map
- Parent range
- Network
- 198.51.100.8
- Broadcast
- No directed broadcast
- First usable
- 198.51.100.8
- Last usable
- 198.51.100.9
- Subnet mask
- 255.255.255.254
- Wildcard
- 0.0.0.1
- Input bits
- 11000110 00110011 01100100 00001000
- Mask bits
- 11111111 11111111 11111111 11111110
- Network bits
- 11000110 00110011 01100100 00001000
Questions
Can a /31 be used as a shared office Wi-Fi subnet?
RFC 3021 is for point-to-point links. A multi-access client segment normally needs a subnet that supports its broadcast and host count.
What is the dotted-decimal mask for this two-address link?
The /31 mask is 255.255.255.254. The final octet preserves one host bit.