How to compress ipv6 address rules

broken image
broken image

They are used with site-local addresses to distinguish sites, using the site id, also known as the scope id.Ī zone that consists of a scope id is called a scoped zone.They are used with link-local addresses fe80::/10 to distinguish two interfaces to the link-local network, this is known as the zone id.IPAddressString.toAddress() or IPAddressString.getAddress(), IPAddressString.toHostAddress() or IPAddressString.getHostAddress()Īn IPv6 address can have an associated zone, typically either a network interface name or a positive integer.Īn IPv6 zone distinguishes two IPv6 addresses that are the same. You can construct an IPv6 address from a byte array, from a BigInteger, from a Address.SegmentValueProvider,įrom Inet6Address, from MACAddress, from an IPv6AddressSection of 8 segments, or from an array of 8 IPv6AddressSegment objects.

broken image
broken image

Each segment can represent a single value or a range of values. An IPv6 address, or a subnet of multiple IPv6 addresses.

broken image