01 Introduction to IPv6
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet.
Key Motivations for IPv6
- → IPv4 address exhaustion (232 vs 2128 addresses)
- → Improved multicast routing support
- → Simplified header format for faster processing
- → Built-in security (IPsec) and auto-configuration
IPv6 Address Format
02 IPv6 Packet Header Structure (40 Bytes Fixed)
Comparison with IPv4
| Feature | IPv4 | IPv6 |
|---|---|---|
| Header Size | 20-60 bytes | Fixed 40 bytes |
| Checksum | Header checksum | None (handled by L2/L4) |
| Fragmentation | Routers & hosts | Only source hosts |
Address Types
03 Address Scopes and Special Addresses
Global Unicast
Routable addresses globally unique. Equivalent to IPv4 public addresses.
Unique Local (ULA)
Private addresses for local networks. Similar to RFC1918 but with global uniqueness probability.
Link-Local
Auto-configured on every interface. Used for neighbor discovery and local network communication.
Special Multicast Addresses
Loopback & Unspecified
IPv6 Packet Analyzer & Builder
Packet Structure Visualization
Network Traffic Flow Simulator
IPv6 Subnetting & Address Planning Laboratory
Network Parameters
Subnetting Calculator Results
Visual Subnet Allocation
Address Planning Best Practices
Site Addressing (/48)
- • Provides 65,536 /64 subnets
- • Sufficient for largest enterprises
- • Allows hierarchical allocation
Interface ID (EUI-64)
- • Modified EUI-64 format recommended
- • Privacy extensions for hosts
- • Static assignment for servers
Interface Identifier (EUI-64) Generator
IPv4 to IPv6 Transition Mechanisms
Dual Stack
Run IPv4 and IPv6 simultaneously on same infrastructure
Tunneling
Encapsulate IPv6 packets in IPv4 for transport
Translation
NAT64/DNS64 for protocol translation
6to4 Tunneling Simulator
6to4 Address Format
Encapsulation Visualization
Laboratory Procedure
Experiment 1: IPv6 Address Analysis and Validation
Navigate to the Packet Analyzer section and load the "HTTP Sample" packet.
Identify and record the Version, Traffic Class, and Flow Label fields from the hex dump.
Extract the Source and Destination IPv6 addresses in full uncompressed notation.
Determine the address scope (Link-Local, Global, or Unique Local) for both addresses.
Calculate the payload length and verify the Next Header field protocol number.
Experiment 2: Subnetting and Network Planning
Go to the Subnetting Lab and enter the network prefix 2001:db8:acad::/48.
Design a subnetting scheme for 4 departments requiring 1000 hosts each using /64 subnets.
Generate EUI-64 addresses for 3 devices using MAC addresses: 00:1A:2B:3C:4D:5E, 00:1A:2B:3C:4D:5F, 00:1A:2B:3C:4D:60.
Document the modified EUI-64 bit flip process for each address.
Verify that all generated interface identifiers are unique within the subnet.
Experiment 3: Transition Mechanisms Analysis
Study the Transition Mechanisms section and document the operational differences between Dual Stack, Tunneling, and Translation.
In the 6to4 Tunneling Simulator, enter your ISP's IPv4 address (or use 203.0.113.1) and observe the generated 6to4 prefix.
Calculate the 6to4 relay anycast address (192.88.99.1) and explain its purpose in the tunneling process.
Analyze the overhead introduced by IPv4 encapsulation headers compared to native IPv6.
Discuss scenarios where each transition mechanism would be most appropriate.
Required Equipment & Software
- Computer with modern web browser
- Wireshark (for packet capture comparison)
- Scientific calculator
- IPv6-enabled operating system
- Network simulation tools (Cisco Packet Tracer/GNS3 optional)
Laboratory Report Guidelines
Report Structure
- Title Page: Course name, experiment title, student name, ID, date, group number
- Objectives: Clearly state what the experiment aims to demonstrate (max 150 words)
- Theoretical Background: Summarize IPv6 header format, addressing, and transition mechanisms based on the Theory section
- Equipment: List hardware and software used
- Procedure: Step-by-step description of experiments performed
- Observations & Data: Tabulate all collected data, screenshots of simulations
- Calculations: Show all mathematical work for subnetting and EUI-64 generation
- Results & Analysis: Interpret findings, compare with theoretical expectations
- Conclusion: Key findings, significance of IPv6 in modern networking
- References: RFC documents, textbooks, technical papers
Data Presentation Requirements
- ✓ All IPv6 addresses must be written in full and compressed notation
- ✓ Include binary representations for EUI-64 bit flip demonstrations
- ✓ Packet analysis must include hexadecimal offsets and ASCII interpretation
- ✓ Network diagrams must use standard Cisco/ISO symbols
- ✓ All tables must have numbered captions and be referenced in text
Grading Rubric
Common Mistakes to Avoid
- ✗ Forgetting to flip the 7th bit in EUI-64 generation (Universal/Local bit)
- ✗ Using :: compression more than once in an address
- ✗ Confusing prefix lengths (/48, /56, /64) with IPv4 subnet masks
- ✗ Ignoring the 40-byte fixed header size in payload calculations
- ✗ Mixing up multicast addresses (ff02::1 vs ff02::2)