IPv6 Address Formats

IPv6 addresses are represented as eight groups of four hexadecimal digits separated by colons (:) in the format: x:x:x:x:x:x:x:x.

Following are two examples of IPv6 addresses:

  • 2001:DB8:7654:3210:FEDC:BA98:7654:3210
  • 2001:0db8:85a3:0042:1000:8a2e:0370:7334

It is common for IPv6 addresses to contain successive hexadecimal fields of zeros. To make IPv6 addresses less cumbersome, two colons (::) may be used to compress successive hexadecimal fields of zeros at the beginning, middle, or end of an IPv6 address (the colons represent successive hexadecimal fields of zeros). Table 1 lists compressed IPv6 address formats.

A double colon may be used as part of the ipv6-address argument when consecutive 16-bit values are denoted as zero. You can configure multiple IPv6 addresses per interfaces, but only one link-local address.