IPv6 Addressing – Class Notes
1. What Is IPv6?
IPv6 (Internet Protocol version 6) is the newest version of the Internet Protocol.
It was created to replace IPv4 and solve the problem of running out of IP addresses.
- IPv4 uses 32-bit addresses (about 4.3 billion total)
- IPv6 uses 128-bit addresses (about 340 undecillion addresses)
IPv6 allows every device—computers, phones, servers, and IoT devices—to have a unique address.
2. Why IPv6 Is Needed
- Much larger address space
- No need for NAT (Network Address Translation)
- Better support for modern networks and IoT
- Improved efficiency and scalability
3. IPv6 Address Format
- Written in hexadecimal (0–9, A–F)
- Made up of 8 groups of 16 bits
- Groups are separated by colons (:)
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Each group is called a hextet.
4. IPv6 Address Simplification Rules
Rule 1: Remove Leading Zeros
0db8 → db8
0000 → 0
Rule 2: Double Colon (::)
- Replaces one continuous group of zeros
- Can only be used once per address
2001:0db8:0000:0000:0000:ff00:0042:8329
Becomes:
2001:db8::ff00:42:8329
5. Types of IPv6 Addresses
Unicast
- Identifies one device
- Most common type
Multicast
- Sends traffic to multiple devices
- Replaces IPv4 broadcast
- Starts with
FF00::/8
Anycast
- Assigned to multiple devices
- Traffic goes to the closest device
6. Common IPv6 Address Types
| Address Type |
Prefix |
Purpose |
| Global Unicast |
2000::/3 |
Public Internet addresses |
| Link-Local |
FE80::/10 |
Local network communication |
| Multicast |
FF00::/8 |
One-to-many communication |
| Loopback |
::1 |
Local host testing |
| Unspecified |
:: |
No address assigned |
7. Link-Local Addresses
- Automatically assigned
- Used only on the local network
- Not routable on the Internet
- Always start with
FE80::
FE80::1A2B:3C4D:5E6F
8. IPv6 vs IPv4
| Feature |
IPv4 |
IPv6 |
| Address Length |
32-bit |
128-bit |
| Format |
Decimal |
Hexadecimal |
| NAT |
Required |
Not required |
| Broadcast |
Yes |
No (uses multicast) |
9. IPv6 and Security
- Supports IPsec by design
- Security depends on configuration and firewalls
- IPv6 is not automatically secure
10. Key Takeaways
- IPv6 uses 128-bit hexadecimal addresses
- Addresses have 8 hextets
- Leading zeros can be removed
:: can be used once per address
- Know common prefixes:
2000::, FE80::, FF00::