Skip to content

ipv6UsableHostRange

ipv6UsableHostRange(prefix): BitRange

Defined in: packages/net-address/src/ipv6/ipv6-prefix.ts:65

Every address of the prefix.

IPv6 reserves no broadcast address, so unlike IPv4 nothing is excluded at the top. The lowest address is the Subnet-Router anycast address (RFC 4291 §2.6.1) on a subnet with a 64-bit interface identifier, which is why ipv6SubnetRouterAnycastAddress names it separately rather than this range dropping it.

BitPrefix

BitRange

RangeError When the prefix is not over a 128-bit address.