

You can use the both zero and leading zero compression together by following the rules of these compression techniques. IPv6 address with Leading zero compression:Ģ001:1265:0:0:AE4:0:5B:6B0 Both Zero and Leading zero compression If you have all zero in a hextex you can represent this hextex with one zero. In leading zero compression you can eliminate the starting zero(s) from any hextex. There can be one and only one :: in an IPv6 address. The second rule states that a single :: can be used to represent one or more contiguous all zero hextets. The first rule states that leading zeros in a hextet can be eliminated.

Review the example for better understanding.Ģ001:1265::0AE4:0000:005B:06B0 IPv6 Leading Zero Compression Explanation: There are two rules defining how an IPv6 address can be compressed. In zero compression you can represent group of zeros by one double-colon (::) but you can perform this only once in your IPv6 address, means if you have two group of zeros in your IPv6 address you can use the double-colon only once. These compression rules and methods are as follow: IPv6 address consist of 8 hextets or parts which is normally difficult to remember, therefore there are some compression method, using compression techniques you can represent IPv6 in more understandable and simple way.

This is a simple example of IPv6 address, you can see in below figure IPv6 address have eight hextets/parts and each hextet/part consist of 4 digits and of 16bits, while every digits is of 4bits that you can find from above table. Representation of all hexadecimal number/digits in binary form is as follows: Hexadecimal # An Internet Protocol Version 6 address (IPv6 address) is a numeric label that is used to identify and locate a network interface of a computer or a network. IPv6 addresses are in hexadecimal form, so each digit is of four bits, IPv6 address’s consist of possible digits are 0 1 2 3 4 5 6 7 8 9 A B C D E F. IPv6 address is of 128 bits and represented in eight octets of 16 bits.
