IPv6 ULA vs Link-Local

ipip addressip-link-localipv6

Could some one kindly explain what is the difference between IPv6 Unique Local Addressing and Link-Local addressing? I understand that Link-Local is for within a network, but isn't Unique Local Addressing similar to that?

Best Answer

IPv6 link-local addresses are required addresses, and they cannot be routed. They are confined to a single link, and every link has the same link-local network. The link-local address range is fe80::/10. From RFC 4291, IP Version 6 Addressing Architecture:

2.5.6. Link-Local IPv6 Unicast Addresses

Link-Local addresses are for use on a single link. Link-Local addresses have the following format:

|   10     |
|  bits    |         54 bits         |          64 bits           |
+----------+-------------------------+----------------------------+
|1111111010|           0             |       interface ID         |
+----------+-------------------------+----------------------------+

Link-Local addresses are designed to be used for addressing on a single link for purposes such as automatic address configuration, neighbor discovery, or when no routers are present.

Routers must not forward any packets with Link-Local source or destination addresses to other links.

ULA addresses can be routed (except on the public Internet). There are some rules to ULA addressing. The ULA address range is fc00::/7, but the first half of the addresses, fc00::/8, is reserved for assignment by a global authority. The second half of the ULA address range, fd00::/8, is available for local use, but the 40-bit Global ID must be randomly chosen. From RFC 4193, Unique Local IPv6 Unicast Addresses:

1. Introduction

This document defines an IPv6 unicast address format that is globally unique and is intended for local communications [IPV6]. These addresses are called Unique Local IPv6 Unicast Addresses and are abbreviated in this document as Local IPv6 addresses. They are not expected to be routable on the global Internet. They are routable inside of a more limited area such as a site. They may also be routed between a limited set of sites.

Local IPv6 unicast addresses have the following characteristics:

  • Globally unique prefix (with high probability of uniqueness).
  • Well-known prefix to allow for easy filtering at site boundaries.
  • Allow sites to be combined or privately interconnected without creating any address conflicts or requiring renumbering of interfaces that use these prefixes.
  • Internet Service Provider independent and can be used for communications inside of a site without having any permanent or intermittent Internet connectivity.
  • If accidentally leaked outside of a site via routing or DNS, there is no conflict with any other addresses.
  • In practice, applications may treat these addresses like global scoped addresses.
Related Topic