We ran out of IPv4 addresses years ago, To keep the world connected, we created IPv6. While IPv4 gave us about 4.3 billion addresses, IPv6 gives us 340 unidecillion that is going to be 36 zero’s.
In today’s post, we’re breaking down the anatomy of an IPv6 address and the rules that make it manageable for human technicians.
1. The Anatomy of an IPv6 Address
An IPv6 address is 128 bits long. Instead of four decimal octets, it is written in eight groups of four hexadecimal digits (hextets), separated by colons.
Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Hexadecimal Refresher
Hex uses 16 symbols: 0-9 and A-F (A = 10, F = 15). Every single digit in an IPv6 address represents 4 bits (a “nibble”)
2. The Two Rules of Compression
Looking at a 32-character string is a nightmare for anyone in IT, To make it readable, we use two rules to shorten the address:
- Rule 1: Omit the leading Zeros
- You can remove the zeros at the start of any hextet
- 0db8 becomes db8
- 000 becomes 0
- Rule 1: The Double Colon ( :: )
- You can replace any consecutive string of all-zero hextets with a single double colon
- The Catch: You can only do this once per address. If you did it twice, the computer wouldn’t know how many zeros to put back in each spot.
3. Address Types You need to Know
According to my sources on the Network+ exam, You might be asked to identify the scope of an address just by looking at its prefix.
| Address Type | Prefix | Equivalent to… | Purpose |
| Global Unicast | 2000::/3 | Public IP | Routable on the internet |
| Link-Local | FE80::/10 | APIPA | Self-assigned. Used for local communication |
| Unique Local | FC00::/7 | Private IP | Used inside a private organization |
| Loopback | ::1/128 | 127.0.0.1 | Testing your own NIC |
| Multicast | FF00::/8 | Broadcast | Sending to a group of devices |
4. Goodbye Broadcast, Hello Multicast
One of the biggest changes in IPv6 is the death of the Broadcast. In IPv4, a broadcast sends traffic to everyone on the segment, which is noisy and inefficient.
- In IPv6, we use Multicast (one-to-many) and Anycast (one-to-nearest). This makes the network much quieter and significantly faster.
๐งช The “Support Associate” Reality Check: EUI-64
In your work environment, you’ll likely see your computers automatically generating their own IPv6 addresses using their MAC address. This is called EUI:64.
- It takes your 48 bit MAC address.
- Splits it in half.
- Stuffs FF:FE in the middle to make it 64 bits.
- Flips the 7th bit.
This is a clever way to ensure every device has a unique address without needing a DHCP server!
What’s Next?
Now that we’ve covered how we address the network, we need to talk about how we find names on it. Tomorrow, we will dive into DNS (Domain Name System) The “phonebook of the internet.” We’ll look at the different record type (A, AAAA, MX, CNAME) and why “it’s always a DNS problem”
๐ Sources & Further Reading.
- CompTIA Network+ N10-009: Objective 1.4 – IPv6 Addressing and Addressing Types.
- The Cyber Ledger: The Ultimate Guide to Subnetting
- Jason Dion: Section 9: IP Addressing
This article is an independent summary of my learning journey. All trademarks and copyrighted materials belong to their respective owners.