Pick an IPv6 /127 router-to-router prefix

Find the endpoints in the second /127 of a documentation /64 and select a specific /128 inside that point-to-point link.

Try these inputs

Worked calculation

  1. A /64 contains 2^(127 − 64) = 9,223,372,036,854,775,808 possible /127 blocks.
  2. Each block has two addresses. Index 1 moves two addresses into the /64, to 2001:db8:9::2/127.
  3. Leaf index 1 adds one more address, making 2001:db8:9::3/128 the second endpoint.

Inputs

Prefix lengths
Zero-based. The first child has index 0.

Calculated in your browser

Results

Selected child
2001:db8:9::2/127
Selected leaf
2001:db8:9::3/128
Child prefixes
9,223,372,036,854,775,808

IPv6 prefix tree

IPv6 prefix treeThe parent connects to nearby child prefixes. The selected child connects to nearby leaf prefixes. Full CIDRs and indices appear in the table.2001:db8:9::/642001:db8:9::/642001:db8:9::/1272001:db8:9::/1272001:db8:9::2/1272001:db8:9::2/1272001:db8:9::4/1272001:db8:9::4/1272001:db8:9::2/1282001:db8:9::2/1282001:db8:9::3/1282001:db8:9::3/128/64 → /127 → /128
  • Selected prefix
  • Nearby or parent prefix
The parent connects to nearby child prefixes. The selected child connects to nearby leaf prefixes. Full CIDRs and indices appear in the table.
Parent network
2001:db8:9::/64
Last address in parent
2001:db8:9:0:ffff:ffff:ffff:ffff
Full address
2001:0db8:0009:0000:0000:0000:0000:0000
Compressed address
2001:db8:9::
Addresses in parent
18,446,744,073,709,551,616
Leaves in selected child
2
Address space
IPv6
Prefixes near the selected indices
LevelIndexPrefixSelection
Child02001:db8:9::/127Neighbor
Child12001:db8:9::2/127Selected
Child22001:db8:9::4/127Neighbor
Leaf02001:db8:9::2/128Neighbor
Leaf12001:db8:9::3/128Selected

Questions

What is the first endpoint in this /127 link?

The block begins at 2001:db8:9::2. Its only other address is 2001:db8:9::3.

Does IPv6 reserve the last member of a /127 for broadcast?

IPv6 uses multicast for functions that use broadcast in IPv4. The calculator shows both /127 addresses.

References