There are two rules, described in RFCs 23, that help engineers to reduce the length of the address representation. That's why there are rules that can significantly shorten the address Shortening IPv6 addresses It is obvious that IPv6 addresses are long and hard to remember and work with.
RFC 4291 says that the preferred representation of an IPv6 address is x:x:x:x:x:x:x:x and RFC 5952 recommends that the address is written in lowercase. The eight groups make a total of 32 hexadecimal digits, four bits each, which makes a total of 128 bits. Hexadecimal characters are not case sensitive, therefore an address can be written either in uppercase or lowercase, both are equivalent. Each group is separated from the others by colons (:) as shown in figure 1. The IPv6 AddressĪn IPv6 address is 128 bits in length and is written as eight groups of four hexadecimal digits.
There are rules to shorten down the address and make it easier to work with. In this lesson, we are going to see that working with IPv6 addresses is not that hard. The other distinct difference is that IPv6 includes new address types such as link-local addresses.
It is quite different than the IPv4 one and at first, it seems hard to grasp. When engineers first encounter IPv6, the most obvious and recognizable feature of the protocol is the IP address.