Concepts / IPv6

IPv6

Link-local address

Also called fe80::, zone, scope link, EUI-64

The fe80:: address every IPv6 card gives itself, valid only on its own link.

Every interface makes its own fe80:: address
Every interface makes its own fe80:: address

Each interface builds an fe80:: address on its own, here from its MAC (EUI-64: flip one bit, put ff:fe in the middle), so 02:42:0a:00:01:0a gives fe80::42:aff:fe00:10a. It works only on that link and is never routed. Every link has the same fe80::/64, so a link-local address needs its interface named: fe80::1%eth0.

Made as soon as the card comes up, before any router or configuration: fe80:: and the interface id, often built from the MAC by modified EUI-64 (ff:fe in the middle, the universal/local bit flipped). It never crosses a router. Since every link has fe80::/64, using one needs the card too: fe80::1%eth0. Neighbour discovery and routers talk from these addresses.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab