Search

IPv6 Address formats

In this lesson, we will learn the format of an IPv6 address.

address-path.jpg

IPv6 address format

The IPv6 address size is 128 bits. IPv6 addresses are represented in hexadecimals. The 128-bit address is divided in to 16-bits, and each 16-bit block is converted to a 4-digit hexadecimal number and separated by colons. This type of representation is called colon hexadecimal. The format of IPv6 address is xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx where each x is a hexadecimal digit representing four binary bits or a nibble. IPv6 addresses range from 0000:0000:0000:0000:0000:0000:0000:0000 to ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff.

How to simplify an IPv6 address

An IPv6 address is a 128-bit number, which can be very hard to handle during day-to-day use. There must be some ways to shorten and simplify IPv6 addresses. An IPv6 address can be simplified by the following two methods.

• Omit leading zeros: Omit the leading zeros in any 16-bits. For example, IPv6 address 2001:0DB8:0000:0000:0022:F376:FF3B:AC99 may be written as 2001:DB8:0:0:22:F376:FF3B:AC99.

• Double colon: Use double colons (::) in place of a series of contiguous zeros. For example, The above address can be further simplified as 2001:DB8::22:F376:FF3B:AC99. Note that the entire contiguous blocks must be zeros.

 

Written by Jajish Thomas.
Last updated on 2nd September, 2023.

 

Related Tutorials
Limitations of IPv4
IPv6 History and related RFCs
IPv6 Features
Differences Between IPv4 and IPv6
Unicast, Multicast and Anycast - Types of communication in IPv6
IPv6 Datagram Header Format
Comparison between IPv4 Header and IPv6 Header
Introduction to IPv6 Addressing
What is prefix and prefix length in IPv6, Similarity between IPv4 subnet mask and IPv6 prefix
IPv6 Address formats
How to Simplify Shorten and Compress IPv6 Addresses
Types of IPv6 Addresses, Global Unicast, Link-local, Multicast, Anycast, Loopback addresses
Global Unicast IPv6 Addresses, Global Unicast IPv6 Address prefix, format and range
Different methods to assign a Global Unicast IPv6 address to an interface
What are IEEE EUI-64 based Global Unicast IPv6 addresses
How to configure Static Global Unicast IPv6 Address in a Cisco Router Interface
How to configure EUI-64 based Global Unicast IPv6 Address in a Cisco Router Interface
How to configure static Global Unicast IPv6 Address in a Windows Server
What is SLAAC - Stateless Address Auto-configuration in IPv6
How SLAAC works in IPv6