When do you use link-local or unique local in IPv6 networks? (Cisco doesn't manage to explain it properly in their online material.)
2 Answers
Link local addresses are used in one single network segment, they can't be routed. Unique local addresses can be routed, but only within one routing domain. So an ISP can choose to use ULA for services which can't be publicly accessible.
The answer to the question "When do you use link local addresses" the answer is "always". Link local addresses are present on all interfaces and are used for many essential link protocols such as neighbor discovery, duplicate address detection and router advertisement.
Unique local addresses are the replacement for the deprecated site local address scope. ULA addresses are similar in use to RFC1918 addresses in the IPv4 world, and allow an enterprise to number internal resources within their administrative domain with addresses that are unique, but not tied to routing policy, easing the pain if a change of ISP means that renumbering is required. Remember that with IPv6 there is no NAT, so you cannot simply rewrite at the border onto your ISPs address space.
-
6There is NAT in IPv6 for sure (see workshop.netfilter.org/2011/wiki/images/a/ac/Ipv6_nat.pdf for example) but the need for it isn't nearly as big as in IPv4.– Teun Vink ♦Feb 25, 2014 at 20:39
-
1Heh, I knew that wouldn't last. NAT in IPv6 is a protocol violation. (proxying... that's a different egg.)– RickyFeb 25, 2014 at 23:01
-
Anyone who's actually thinking about deploying NAT in IPv6 should be given a copy of RFC 4864 and RFC 4192. Feb 26, 2014 at 0:13
-
1
-
1