Link-Local vs. Global Unicast (IPv6) – Detailed Explanation

1. Definition and Scope

🔹 Link-Local Address

  • Valid only on a single physical/logical link.
  • Automatically assigned and mandatory for IPv6-enabled interfaces.
  • Used primarily for local communications, including neighbor discovery.

🔹 Global Unicast Address

  • Globally routable IPv6 address used for Internet-wide communication.
  • Equivalent to IPv4 public addresses.

2. Address Formats and Prefixes

Address Type Prefix Range Prefix Length Notes
Link-Local FE80::/10 10 bits Starts from FE80 to FEBF
Global Unicast 2000::/3 3 bits Starts with 2 or 3

3. Address Structure

  • Interface Identifier (IID): Usually derived automatically (EUI-64 or randomly generated).
  • IID uniquely identifies an interface on a given link.

4. Automatic Address Configuration

  • Link-Local: Automatically configured upon enabling IPv6 (no DHCP).
  • Global Unicast: Can use manual, SLAAC, or DHCPv6 for configuration.

5. Usage and Reachability

Address Type Scope Routing Behavior
Link-Local Single Link (LAN) Not forwarded by routers (local only)
Global Unicast Global (Internet) Forwarded globally by routers

6. Neighbor Discovery Protocol (NDP)

  • Uses Link-Local addresses for Neighbor Solicitation (NS), Neighbor Advertisement (NA), and router discovery.
  • Routers use link-local for device management and routing protocols locally.

7. Routing and Forwarding Behavior

  • Link-Local: Traffic remains within local link segment.
  • Global Unicast: Traffic routed across the IPv6 Internet.

8. Multicast and Anycast Interaction

  • Link-local utilizes solicited-node multicast addresses for neighbor discovery.
  • Global unicast can employ anycast for optimized routing.

9. Security Considerations

  • Use RA guard and ND inspection for securing link-local addresses.
  • Properly configure firewall and ACLs to filter global unicast addresses at network boundaries.

10. Practical Examples

Ping Link-Local Address:

ping6 fe80::1%eth0

Ping Global Unicast Address:

ping6 2001:db8::1

View IPv6 Addresses:

ip -6 addr show

11. Transition Mechanisms

  • Used in tunneling (6to4, ISATAP) for IPv6 encapsulation.
  • Critical for establishing tunnels and neighbor relationships.

12. Troubleshooting Techniques

Commands for troubleshooting IPv6:

  • show ipv6 neighbors
  • show ipv6 route

13. Best Practices

  • Use link-local addresses for local communication, NDP, and routing management.
  • Global unicast addressing should be carefully planned for scalability.
  • Regularly monitor and secure link-local and global unicast traffic.

✅ Summary Table

Aspect Link-Local Address Global Unicast Address
Prefix FE80::/10 2000::/3
Scope Local Link Only Global (Internet)
Routable No Yes
Address Assignment Automatic (SLAAC) Manual, SLAAC, DHCPv6
Used For NDP, Local Communication Internet Communication
Packet Forwarding Not Forwarded Globally Forwarded

Link-Local vs. Global Unicast (IPv6) Quiz

1. What is a Link-Local IPv6 address?

Correct answer is C. Link-Local IPv6 addresses are valid only on the local network segment and cannot be routed beyond it.

2. Which prefix range is reserved for IPv6 Link-Local addresses?

Correct answer is A. IPv6 Link-Local addresses use the FE80::/10 prefix range.

3. How are Global Unicast IPv6 addresses best described?

Correct answer is D. Global Unicast addresses are globally unique and routable on the IPv6 Internet.

4. What prefix range is assigned for Global Unicast IPv6 addresses?

Correct answer is B. Global Unicast addresses start with the prefix 2000::/3.

5. Which method is commonly used to generate the Interface Identifier (IID) for Link-Local addresses?

Correct answer is A. The IID for Link-Local addresses is usually generated automatically via the EUI-64 method or random assignment.

6. How are Link-Local IPv6 addresses assigned?

Correct answer is D. Link-Local addresses are assigned automatically on every IPv6-enabled interface without DHCP.

7. Which protocol uses Link-Local addresses to perform neighbor discovery and router communication?

Correct answer is C. NDP relies on Link-Local addresses for neighbor solicitation and advertisement messages.

8. Are Link-Local IPv6 packets forwarded by routers?

Correct answer is B. Routers do not forward Link-Local traffic beyond the local segment.

9. What prefix do solicited-node multicast addresses, used in neighbor discovery, derive from?

Correct answer is A. Solicited-node multicast addresses are derived from the Interface Identifier portion of the IPv6 address.

10. Which address type is essential for establishing IPv6 tunnels like 6to4 and ISATAP?

Correct answer is C. Link-Local addresses are used in IPv6 tunneling protocols like 6to4 and ISATAP.

← Back to Home