![]() This type of address allows efficient prefix aggregation to restrict the number of global routing entries. Global unicast addresses, equivalent to public IPv4 addresses, are provided for network service providers. Unicast addresses comprise global unicast addresses, link-local unicast addresses, site-local unicast addresses, the loopback address, and the unspecified address. This limit allows the device to determine how many zeros the double colon represents, and correctly convert it to zeros to restore a 128-bit IPv6 address.Īn IPv6 address consists of an address prefix and an interface ID, both of which are equivalent to the network ID and the host ID of an IPv4 address, respectively.Īn IPv6 address prefix is written in IPv6-address/prefix-length notation where the IPv6-address is represented in any of the formats previously mentioned and the prefix-length is a decimal number indicating how many leftmost bits of the IPv6 address comprises the address prefix. For example, the previous address can be represented in the shortest format as 2001:0:130F::9C0:876A:130B.Ī double colon may appear once or not at all in an IPv6 address. If an IPv6 address contains two or more consecutive groups of zeros, they can be replaced by a double colon (::). For example, the previous address can be represented in a shorter format as 2001:0:130F:0:0:9C0:876A:130B. ![]() The leading zeros in each group can be removed. To simplify the representation of IPv6 addresses, you can handle zeros in IPv6 addresses by using the following methods: An IPv6 address is divided into eight groups, and each 16-bit group is represented by four hexadecimal numbers, for example, 2001:0000:130F:0000:0000:09C0:876A:130B. An IPv6 address is represented as a set of 16-bit hexadecimals separated by colons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |