Information Technology Reference
In-Depth Information
fIgure 8.13
IPv4/IPv6 comparison
IPv4
ddd
ddd
ddd
ddd
ddd = 8 Bits in Dotted Decimal Notation
32 Bits Total
IPv6
hhhh
hhhh
hhhh
hhhh
hhhh
hhhh
hhhh
hhhh
hhhh = 16 Bits in Hexadecimal Notation
128 Bits Total
IPv6 Address Shortcuts
There are several shortcuts for writing an IPv6 address. These are described in the
following list:
:0: stands for :0000:.
You can omit preceding 0s in any 16-bit word. For example, :DB8: and :0DB8: are
equivalent.
:: is a variable standing for enough zeros to round out the address to 128 bits. :: can be
used only once in an address.
You can use these shortcuts to represent the example address 2001:0DB8:0000:0000:12
34:0000:A9FE:133E, as shown here:
Compress :0000: into :0::
2001:0DB8:0000:0000:1234:0:A9FE:133E
Eliminate preceding zeros:
2001:DB8:0000:0000:1234:0:A9FE:133E
Use the special variable shortcut for multiple 0s:
2001:DB8::1234:0:A9FE:133E
You now also use prefix notation or slash notation when discussing IPv6 networks. For
example, the network of the previous address can be represented as 2001:DB8:0000:0000:
0000:0000:0000:0000. This can also be expressed as 2001:DB8:: /32. The /32 indicates 32
bits of network, and 2001:DB8: is 32 bits of network.
Search WWH ::




Custom Search