Reference Guide

Leading zeros in each eld are optional. You can also use two colons (::) to represent successive hexadecimal elds of zeros, but you can
use this short version only once in each address:
2001:db8::1428:57ab
All addresses are all valid and equivalent:
2001:0db8:0000:0000:0000:0000:1428:57ab
2001:0db8:0000:0000:0000::1428:57ab
2001:0db8:0:0:0:0:1428:57ab
2001:0db8:0:0::1428:57ab
2001:0db8::1428:57ab
2001:db8::1428:57ab
IPv6 networks are written using CIDR notation. An IPv6 network (or subnet) is a contiguous group of IPv6 addresses the size of which
must be a power of two. The initial bits of addresses, which are identical for all hosts in the network, are called the network's prex.
A network is denoted by the rst address in the network and the size in bits of the prex (in decimal), separated with a slash. Because a
single host is seen as a network with a 128-bit prex, host addresses may be written with a following /128.
For example, 2001:0db8:1234::/48 stands for the network with addresses 2001:0db8:1234:0000:0000:0000:0000:0000
through 2001:0db8:1234:ffff:ffff:ffff:ffff:ffff.
Addressing IPv6
IPv6 addresses are normally written as eight groups of four hexadecimal digits, where each group is separated by a colon (:).
2001:0db8:0000:0000:0000:0000:1428:57ab is a valid IPv6 address. If one or more four-digit group(s) is 0000, the zeros may
be omitted and replaced with two colons(
::). For example, you can shorten2001:0db8:0000:0000:0000:0000:1428:57ab to
2001:0db8::1428:57ab.
Only one set of double colons is supported in a single address. You can reduce any number of consecutive 0000 groups to two colons, as
long as there is only one double colon in an address. You can also omit leading and/or trailing zeros in a group (as in ::1 for
localhost, 1::
for network addresses and :: for unspecied addresses).
All addresses are all valid and equivalent:
2001:0db8:0000:0000:0000:0000:1428:57ab
2001:0db8:0000:0000:0000::1428:57ab
2001:0db8:0:0:0:0:1428:57ab
2001:0db8:0:0::1428:57ab
2001:0db8::1428:57ab
2001:db8::1428:57ab
IPv6 networks are written using CIDR notation. An IPv6 network (or subnet) is a contiguous group of IPv6 addresses the size of which
must be a power of two. The initial bits of addresses, which are identical for all hosts in the network, are called the network's prex.
A network is denoted by the rst address in the network and the size in bits of the prex (in decimal), separated with a slash. Because a
single host is seen as a network with a 128-bit prex, host addresses may be written with a following /128.
For example, 2001:0db8:1234::/48 stands for the network with addresses 2001:0db8:1234:0000:0000:0000:0000:0000
through 2001:0db8:1234:ffff:ffff:ffff:ffff:ffff.
Layer 3
255