Interface: IPv6Subnet
An IPv6 prefix (a CIDR block), given by IPv6.parseCIDR. The addresses are in compressed form ('2001:db8::').
Properties
firstHost
firstHost:
string
The first address of the block, its host bits zero ('2001:db8::' for 2001:db8::1/64). IPv6 has no broadcast address, so no address is reserved.
ipCount
ipCount:
bigint
The number of addresses in the block: 2 to the power of 128 - prefixLength, as a bigint (18446744073709551616n for a /64).
lastHost
lastHost:
string
The last address of the block, its host bits one ('2001:db8::ffff:ffff:ffff:ffff' for 2001:db8::/64).
prefixLength
prefixLength:
number
The prefix length, from 0 to 128.