Network Basics: IPv6 Address Simplified Notation - dummies

Network Basics: IPv6 Address Simplified Notation

By Edward Tetz

When working with IPv6 address, it can take a lot to write your addresses — after all, they are 128 bits long. To make life simpler, here are some rules you can use to condense this notation:

  • Leading zeros in the address are optional. So, for an address block, 0A45 would be equal to A45, and 0000 would be equal to 0.

  • Multiple fields of zeros can be expressed as ::, but this can be done only once per address.

  • An unknown or unspecified address, even in IPv4, is typed as all zeros; as such, it can be represented in IPv6 as ::.

Most addresses that you write can likely be compressed in some fashion. The following table shows some examples of this type of compression.

IPv6 Address Reduction
IPv6 Address Simplified Notation
FF01:0000:0000:0000:0000:0000:0000:0001 FF01::1
2031:0000:130F:0000:0000:09C0:876A:130B 2031:0:130F::9C0:876A:130B
0000:0000:0000:0000:0000:0000:0000:0001 ::1
FE80:0000:0000:5EFE:0192.0168.0001.0123 FE80::5EFE:
FE80: 0000:0000:0000:1585:4868:495F:D521 FE80::1585:4868:495F:D521