Chapter 10. IPv6

Address Structure

An IPv6 address is 128 bits long, a much larger address space than the address space in IPv4. It can provide approximately 3.4 * 10 ^ 38 addresses.

IPv6 addresses are represented as a series of 16-bit fields presented as a hexadecimal number and separated by colons (:). The format used is x:x:x:x:x:x:x:x.

To shorten the writing of IPv6 addresses, you can use the following techniques:

  • The leading 0s in a field are optional.
  • You can use two colons (::) to compress successive hexadecimal fields of 0s at the beginning, middle, or end of an IPv6 address; this can be done one time in an address (see Figure 10-1).

FIGURE 10-1 IP addresses


The main benefits of IPv6 include the following:

  • Has a larger IP ...

Get CCIE Routing and Switching Exam Quick Reference Sheets now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.