IPv6 Basics

Introduction to the Next Generation Internet Protocol

IPv6 (Internet Protocol version 6) is the successor to IPv4. While IPv4 uses 32-bit addresses (allowing for ~4.3 billion addresses), IPv6 uses 128-bit addresses, providing a virtually infinite number of addresses to accommodate the growing number of devices on the internet.

IPv4 vs. IPv6 Format

Address Representation & Shortening

IPv6 addresses are written in 8 groups of 4 hexadecimal digits, separated by colons. To make them easier to read, we can use two rules:

1. Omit Leading Zeros

You can remove zeros at the beginning of any block.

2001:0db8:0001:0000... becomes 2001:db8:1:0...

2. Double Colon (::)

You can replace one contiguous string of all-zero blocks with a double colon (::). This can only be done once in an address.

Full: 2001:0db8:0000:0000:0000:0000:1428:57ab
Shortened: 2001:db8::1428:57ab

IPv6 Communication Types

IPv6 handles data transmission differently than IPv4. The concept of "Broadcast" (sending to everyone) is removed to reduce network noise. Instead, it uses:

Unicast

One-to-One

Packets are sent from one source to a single specific destination.

Multicast

One-to-Many

Packets are sent to a specific group of devices. Only devices listening to that group process the packet.

Anycast

One-to-Nearest

The same address is assigned to multiple servers. The network routes the packet to the closest one.

Deep Dive: Unicast Address Types

Since Unicast is the most common communication, it has specific address types for different scopes:

1. Link-Local Address (FE80::/10)

This is the most unique feature of IPv6. Every IPv6-enabled interface automatically generates a Link-Local address.

2. Global Unicast Address (GUA)

3. Unique Local Address (ULA)

Summary Table

Type Prefix Description
Global Unicast 2000::/3 Public Internet Address
Link-Local fe80::/10 Local segment only (Non-routable)
Unique Local fc00::/7 Private Network (VPN/LAN)
Multicast ff00::/8 One-to-Many groups
Loopback ::1 Localhost (Self-test)
Next Step: Now that you understand the basics, apply your knowledge in the IPv6 Configuration Lab.